Package eu.bandm.tools.d2d2.rt
Class __SAX_Writer
java.lang.Object
eu.bandm.tools.umod.runtime.OptimizingVisitor
eu.bandm.tools.d2d2.rt.MATCH_ONLY_00
eu.bandm.tools.d2d2.rt.__SAX_Writer
Encoder for umod's own XML serialisation.
Usage:
- Create an instance.
- Invoke the
match(e)method on the top-level model element to write out.
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.bandm.tools.umod.runtime.OptimizingVisitor
OptimizingVisitor.DataByName -
Field Summary
FieldsFields inherited from class eu.bandm.tools.d2d2.rt.MATCH_ONLY_00
_visitor_debug_stream, partial, sccDataReadFields inherited from class eu.bandm.tools.umod.runtime.OptimizingVisitor
affectedClasses, fieldFlags, hasdescend, haspost, haspre, methodname_action, METHODNAME_allFields2codeNumber, METHODNAMEPREFIX_DESCEND, SUFFIX_FILENAME_SCC_DATA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaction(FlattenContext e0) voidaction(ImportContext e0) voidvoidvoidvoidaction(ResultingChars e0) voidvoidvoidaction(State_perm e0) voidvoidaction(State_sequ e0) voidvoidvoidvoiddumpfields(Binding e0) voidvoidvoidvoidvoiddumpfields(State e0) voiddumpfields(State_perm e0) voiddumpfields(State_sequ e0) protected intgetKey()Overwritten with generated code to return visitor register key number.protected booleanprotected booleanMethods inherited from class eu.bandm.tools.d2d2.rt.MATCH_ONLY_00
_visitor_trace, action, action, action, action, action, action, action, action, action, action, action, allFields2codeNumber, compile, followAll_assoc, followAll_consumed, followAll_obligates, followAll_sequ, followAll_subs, followAll_subs, foreignObject, get_class2reachedSccs, get_class2scc, get_field2sccs, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, match, nomatchMethods inherited from class eu.bandm.tools.umod.runtime.OptimizingVisitor
calculateFlags, collectFlags, collectFlags_action, collectFlags_actionPreDescendPost, collectFlags_actionRewritefields, collectMethods, getLowestGeneratedClass, readSccData
-
Field Details
-
drain
-
config
-
def2id
-
-
Constructor Details
-
__SAX_Writer
- Parameters:
drain- where to send the generated SAX events.config- an instance defining the XML element and field names used for en/decoding.
-
-
Method Details
-
getKey
protected int getKey()Description copied from class:OptimizingVisitorOverwritten with generated code to return visitor register key number.- Overrides:
getKeyin classOptimizingVisitor- Returns:
- the visitor register number used to define this visitor.
-
writenull
protected boolean writenull() -
writeref
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
action
- Overrides:
actionin classMATCH_ONLY_00
-
dumpfields
-