Extending : Processor editor extension : Extending the Processor editor : Creating and registering a global function : Creating a global function
  
Creating a global function
Technical developers must first create a function definition file to declare the functions that will be implemented. A sample function definition file is shown here:
<functions>
  <function name="concat" returnType="String" description="" >
  <parameters>
    <parameter name="string1" description="%concatString1" type="String" />
    <parameter name="string2" description="%concatString2" type="String" />
    </parameters>
  </function>
  <function name="length" returnType="Integer" description="" >
    <parameters>
      <parameter name="string1" description="%descString1" type="String" />
    </parameters>
  </function>
</functions>
After creating the function definition file, technical developers must create a Java class to implement the declared functions. The class contains the set of implemented static methods that correspond to the declared global functions.
Go up to
Creating and registering a global function