Package eu.bandm.tools.option.absy
Class Dumper
java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor
eu.bandm.tools.option.absy.Visitor
eu.bandm.tools.option.absy.Dumper
- All Implemented Interfaces:
PCDataVisitor
@Generated(generator="eu.bandm.tools.tdom.TypedDOMGenerator",
version="",
timestamp="2025-08-17_22h51m49")
@Undocumented
public class Dumper
extends Visitor
Serializes the model instance into a sequence of SAX events.
A
A
See the resp. SAX documentation.
The serialization process can be started by calling any
(NOTE: in this case the document locator must be set manually, see the generated code for
A
ContentHandler MUST be given for all "substantial" events (= Document and
Element Open and Close Tags, incl. Attributes; PCData;
ProcessingInstructions). A
LexicalHandler MAY be given, for
all TypedComment.See the resp. SAX documentation.
The serialization process can be started by calling any
visit(..) method as defined in Visitor
(i.e.: for any Element or sub-content like Choice and Sequence). This will
write out the whole sub-tree starting there. (NOTE: in this case the document locator must be set manually, see the generated code for
visit(Document_XXX) for details.)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ContentHandlerprotected final Attributesprotected final LexicalHandlerFields inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
validating -
Constructor Summary
ConstructorsConstructorDescriptionDumper(ContentHandler contentHandler) Uses the contentHandler also as a LexicalHandler (forTypedComment), iff it happens to implement this interface.Dumper(ContentHandler contentHandler, LexicalHandler lexicalHandler) Set both handlers for substantial and ethereal events, see class description above. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleSAXException(SAXException exception) voidvisit(Document_optionlist document) Can be called to visit the complete model instance.voidvisit(Element_and element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_bool element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_comment element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_condition element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_constant element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_defaults element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_desc element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_dirOnly element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_enum element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_enumeration element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_enumitem element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_enumset element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_enumSetContains element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_float element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_int element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_isMeta element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_noGui element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_not element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_notDir element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_optarg element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_option element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_optionlist element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_or element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_printout_title element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_rat element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_rep element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_simpletypes element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_string element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_testequal element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_testgreater element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_text element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_type element) Can be overridden by the user to define particular semantic operations.voidvisit(Element_uri element) Can be overridden by the user to define particular semantic operations.voidCan be overridden by the user to define particular semantic operations.voidvisit(Element_writable element) Can be overridden by the user to define particular semantic operations.voidvisit(TypedPCData pcdata) To be overridden.Methods inherited from class eu.bandm.tools.option.absy.Visitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitMethods inherited from class eu.bandm.tools.tdom.runtime.BaseVisitor
visit
-
Field Details
-
contentHandler
-
lexicalHandler
-
EMPTY_ATTRIBUTES
-
-
Constructor Details
-
Dumper
Set both handlers for substantial and ethereal events, see class description above.- Parameters:
contentHandler- (never null) for Substantials and PIs.lexicalHandler- (maybe null) for Comments.
-
Dumper
Uses the contentHandler also as a LexicalHandler (forTypedComment), iff it happens to implement this interface. @param contentHandler (never null) Object serving as contentHandler for substantial events, and possibly also as a LexicalHandler.
-
-
Method Details
-
handleSAXException
-
visit
Description copied from class:BaseVisitorTo be overridden. This default implementation does nothing.- Specified by:
visitin interfacePCDataVisitor- Overrides:
visitin classVisitor
-
visit
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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 . -
visit
Description copied from class:VisitorCan 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 . -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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 . -
visit
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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) . -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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 PCData in its contents. -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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 . -
visit
Description copied from class:VisitorCan 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 . -
visit
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan 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
Description copied from class:VisitorCan be called to visit the complete model instance. (Is not intended to be overridden by the user.)
-