I am writing my first FME transformer using Java Plugin SDK. I am following the CenterOfMassCalculator sample. I have a problem understanding the .fmx file structure though. When I run my transformation in FME Desktop it fails. Specifically, it complains about the arguments of '@JavaCenter' which I copied and pasted from the CenterOfMassCalculator.fmx sample, as I didn't know the purpose of the following code:
FACTORY_DEF * TeeFactory
FACTORY_NAME $(XFORMER_NAME)
$(INPUT_LINES)
OUTPUT FEATURE_TYPE $(OUTPUT_OUTPUT_FTYPE)
@JavaCenter($(X_ATTR),$(Y_ATTR),$(Z_ATTR))
$(OUTPUT_OUTPUT_FUNCS)
Can anyone suggest some reference on this? The FMEPluginSDK_Java.pdf does not cover this well.