This directory contains templates with Java source code that are used
for generating specialized analysis classes.

The following expressions should be replaced by any generator before
using the generatoed code:

   $PACKAGE        ... package name where the class is generated into
   $NAME           ... class name (without any file extension, without package prefix)
   $SERVICE        ... service name represented by this generated class
   $SUFFIX         ... service name suffix distinguishing a derived service from the normal one
   $METHODS        ... all 'set' methods come here
   $DATE           ... (optional) date when generated
   $DESCRIPTION    ... description of the underlying analysis

For each input data:
   $INPUTNAME      ... name of input
   $ESC_INPUTNAME  ... escaped name of input
   $INPUTTYPE      ... Java type of this input (usually "String")
   $DEFAULT_VALUE  ... default value (used for javadoc comments)
   $ALLOWED_VALUES ... list of allowed values (also for javadoc comments)

For each result:
   $OUTPUTNAME     ... name of result
   $ESC_OUTPUTNAME ... escaped name of result
   $OUTPUTTYPE     ... Java type of this result

----

Other templates are used for automated registering of services.
These needs the following replacements:

PublishServices.java.template is one file for all
services to be registered:
   $NAME
   $DATE
   $SERVICE_COUNT
   $USERID
   $PASSWORD
   $PUBLISHURL
   $INQUIRYURL
   $PROVIDER
   $TAXONOMY
   $SERVICES       ,,, for each service one copy of a template 'ServiceAttributes.java.template'

ServiceAttributes.java.template is a template for each service:
   $INDEX
   $SERVICE_NAME
   $SERVICE_URL
   $SERVICE_WSDL_URL
   $SERVICE_VERSION
   $SERVICE_DESCRIPTION
   $SERVICE_TYPE
