Package eu.bandm.tools.muli.tdom
Class Visitor
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.muli.tdom.Visitor
- All Implemented Interfaces:
PCDataVisitor
- Direct Known Subclasses:
CatalogByString.TranslationCollector
,Dumper
,VisitorTemplate
Super class for all user defined visitor code.
-
Field Summary
Fields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Can be called to visit the complete model instance.void
visit
(Document_translationfile document) Can be called to visit the complete model instance.void
void
visit
(Element_entry element) Can be overridden by the user to define particular semantic operations.void
visit
(Element_entry.Attr_key attr_key) Can be overridden by the user.void
visit
(Element_entry.Attr_lang attr_lang) Can be overridden by the user.void
visit
(Element_text element) Can be overridden by the user to define particular semantic operations.void
visit
(Element_text.Attr_lang attr_lang) Can be overridden by the user.void
visit
(Element_translationfile element) Can be overridden by the user to define particular semantic operations.void
visit
(Element.UnmixedContent content) void
visit
(TypedPCData pcdata) To be overridden.void
Methods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Constructor Details
-
Visitor
public Visitor()
-
-
Method Details
-
visit
Description copied from class:BaseVisitor
To be overridden. This default implementation does nothing.- Specified by:
visit
in interfacePCDataVisitor
- Overrides:
visit
in classBaseVisitor
-
visit
-
visit
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) and for all components in its contents according to the content model. -
visit
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all components in its contents according to the content model. -
visit
Can be overridden by the user to define particular semantic operations. Will be called whenever the default model instance traversal (as implemented by the methods in this class) reaches such an element.
This default implementation descends into the element by callingvisit(..)
in turn for all selected attributes (seeBaseVisitor.validating
) and for all PCData in its contents. -
visit
Can be overridden by the user. Is called whenever traversing of a model instance (as defined by the methods in this class) reaches such an Attribute.
This default implementation does nothing. -
visit
Can be overridden by the user. Is called whenever traversing of a model instance (as defined by the methods in this class) reaches such an Attribute.
This default implementation does nothing. -
visit
Can be overridden by the user. Is called whenever traversing of a model instance (as defined by the methods in this class) reaches such an Attribute.
This default implementation does nothing. -
visit
-
visit
Can be called to visit the complete model instance. (Is not intended to be overridden by the user.) -
visit
-
visit
Can be called to visit the complete model instance. (Is not intended to be overridden by the user.)
-