World adapters can define custom output functions by implementing OutputFunctionIF and registering it with the class GateOutputFunctions.So, to add your own output function:
In your WorldAdapter, in a static constructor or in the standard constructor of the WorldAdapter, call GateOutputFunctions.registerOutputFunction(YourOFImplementation.class).