Package eu.bandm.tools.tdom
Class VisitorTemplate
java.lang.Object
eu.bandm.tools.tdom.Template
eu.bandm.tools.tdom.VisitorTemplate
-
Field Summary
Modifier and TypeFieldDescription(package private) final GeneratedClass
(package private) final GeneratedClass
(package private) final GeneratedPackage
(package private) final PackageTemplate
(package private) final GeneratedClass
-
Constructor Summary
ConstructorDescriptionVisitorTemplate
(PackageTemplate packageTpl, GeneratedPackage metaPackage, MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg) -
Method Summary
Modifier and TypeMethodDescriptionaddActionMethod
(MetaType type, String name) addActionMethod
(MetaType type, String name, Format model) addMatchMethod
(MetaType type, String name) addVisitMethod
(MetaType type, String name) addVisitMethodWithTemplate
(MetaType type, String name, DTD.Element element) If element!=null also a method in VisitorTemplate is created.void
void
Methods inherited from class eu.bandm.tools.tdom.Template
error, error, expression, statement, statements, warning, warning
-
Field Details
-
metaPackage
-
visitorClass
-
baseMatcherClass
-
matcherClass
-
packageTpl
-
-
Constructor Details
-
VisitorTemplate
public VisitorTemplate(PackageTemplate packageTpl, GeneratedPackage metaPackage, MessageReceiver<? super SimpleMessage<XMLDocumentIdentifier>> msg)
-
-
Method Details
-
addVisitMethod
-
addMatchMethod
-
addActionMethod
-
addVisitMethodWithTemplate
If element!=null also a method in VisitorTemplate is created. This method is called from TypedDOMGenerator for attributes and mixed content, and from ElementTemplate,AbstractElementTemplate,ContainerTemplate, DocumentTemplate. -
addActionMethod
-
generateHostMethod
-
generateIdentifyMethod
-