Package eu.bandm.tools.tdom
Class NodeTemplate
java.lang.Object
eu.bandm.tools.tdom.Template
eu.bandm.tools.tdom.NodeTemplate
- Direct Known Subclasses:
AbstractElementTemplate
,ContainerTemplate
Common superclass for most Templates.
DOCME more
-
Field Summary
Modifier and TypeFieldDescriptionprotected GeneratedMethod
protected GeneratedField
protected GeneratedMethod
protected GeneratedMethod
protected GeneratedClass
protected final PackageTemplate
protected GeneratedField
protected GeneratedMethod
(package private) boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
addDescendStatement
(Format template, boolean priority) (package private) void
addGeneralizeParent
(MetaType parent) void
addLookaheadSAXStatement
(Format statement) void
addLookaheadSAXStatement
(String tagName, boolean onlyOptional) void
addLookaheadSemiparseStatement
(Format statement) void
addLookaheadSemiparseStatement
(String tagName, boolean onlyOptional) void
void
addParseSAXArgument
(String name) void
addParseSAXAttribute
(Format attr) void
addParseSAXStatement
(Format statement) void
void
addSemiparseArgument
(String name) (package private) void
addSemiparseStatement
(Format statement) protected void
finish()
protected GeneratedMethod
void
protected void
protected void
protected void
generateMatchWithMethod
(GeneratedClass nodeClass) void
protected void
void
protected void
(package private) void
(package private) void
generateSemiparser_nonAlt
(MetaType liType) final MetaClass
protected String
protected void
init()
protected Format
(package private) void
Methods inherited from class eu.bandm.tools.tdom.Template
error, error, expression, statement, statements, warning, warning
-
Field Details
-
packageTemplate
-
nodeClass
-
parseClosure
-
decodeClosure
-
getParseClosure
-
getDecodeClosure
-
actionMethod
-
parseSAX
-
usingSemiparser
boolean usingSemiparser -
parseSAXArguments
-
parseSAXAttributes
-
semiparseStatements
-
semiparseArguments
-
-
Constructor Details
-
NodeTemplate
-
-
Method Details
-
init
protected void init() -
finish
protected void finish() -
generateParseClosure
public void generateParseClosure() -
generateDecodeClosure
public void generateDecodeClosure() -
generateSAXParser
public void generateSAXParser() -
addLookaheadSAXStatement
-
addLookaheadSAXStatement
-
addLookaheadSemiparseStatement
-
addLookaheadSemiparseStatement
-
generateSemiparser_nonAlt
-
generateSemiparser_includingAlt
-
addParseSAXStatement
-
addParseSAXArgument
-
addParseSAXArgument
-
parseSAXArguments_asFormat
-
addParseSAXAttribute
-
generateParseSAXAction
protected void generateParseSAXAction() -
generateSemiparseAction
protected void generateSemiparseAction() -
addSemiparseStatement
-
addSemiparseArgument
-
addSemiparseArgument
-
generateHostMethod
protected void generateHostMethod() -
generateMatchWithMethod
protected void generateMatchWithMethod() -
generateMatchWithMethod
-
generateActionMethod
-
getVisiteeName
-
addGeneralizeParent
-
addDescendStatement
-
getNodeClass
-
useSemiparser
void useSemiparser()
-