Package net.ontopia.topicmaps.utils.ctm
Class Template
java.lang.Object
net.ontopia.topicmaps.utils.ctm.Template
INTERNAL: Represents a CTM template. Contains a recorded list of
parse events which is replayed when the template is invoked.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvent(ParseEventIF event) getGenerator(String name) getName()intvoidinvoke(List arguments, ParseEventHandlerIF handler) Invokes the template.voidsetParameters(List<String> parameters) This method is only used by the tolog INSERT statement.
-
Constructor Details
-
Template
-
-
Method Details
-
getName
-
getParameterCount
public int getParameterCount() -
getUsedParameters
-
addEvent
-
getGenerator
-
getWildcardMap
-
invoke
Invokes the template.- Parameters:
arguments- a list of generator objects producing the values for the arguments, in the same order as the parameters list
-
setParameters
This method is only used by the tolog INSERT statement. It is not meant to be called during normal operation. If you do, don't complain if it breaks.
-