@User public class Dumper extends Visitor
ContentHandler
MUST be given for all "substantial" events (= Document and
Element Open and Close Tags, incl. Attributes; PCData;
ProcessingInstructions). LexicalHandler
MAY be given, for
all TypedComment
.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. visit(Document_XXX)
for details.)Modifier and Type | Field and Description |
---|---|
protected ContentHandler |
contentHandler |
protected Attributes |
EMPTY_ATTRIBUTES |
protected LexicalHandler |
lexicalHandler |
validating
Constructor and Description |
---|
Dumper(ContentHandler contentHandler)
Uses the contentHandler also as a LexicalHandler (for
TypedComment ), iff it happens
to implement this interface. |
Dumper(ContentHandler contentHandler,
LexicalHandler lexicalHandler)
Set both handlers for substantial and ethereal events, see class
description above.
|
Modifier and Type | Method and Description |
---|---|
protected void |
handleSAXException(SAXException exception) |
void |
visit(Document_a_list document)
Can be called to visit the complete model instance.
|
void |
visit(Document_a_verbatimXml document)
Can be called to visit the complete model instance.
|
void |
visit(Document_entries document)
Can be called to visit the complete model instance.
|
void |
visit(Document_package document)
Can be called to visit the complete model instance.
|
void |
visit(Element_a_all element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_alpha element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ascii_alpha element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ascii_lower element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ascii_upper element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_blank element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_blink element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_bold element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_border element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_cite element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_decimalDigit element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_emph element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_footnote element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_footnotemark element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_footnotetext element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_framename element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_hh element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image_align element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image_alt element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image_file element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image_height element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image_showLabel element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image_width element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_image element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_indexhi element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_indexlo element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_inframe element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ital element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_key element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_kind element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_label element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_larger element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ldots element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_link element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_list element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_listContinues element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_listitem element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_listStartnum element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_listSymbol element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_loc element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_locus element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_mode element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_nl element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_opus element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_p element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_path element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_pers element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_persop element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_pkind element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_popus element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ppers element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ref element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_refdate element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_scaps element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_smaller element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_spanstyle element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_src element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_SRC element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_strikeout element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_table element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_td element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_tdCls element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_text element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_th element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_top element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_tr element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_treeInclude element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_ulin element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_url element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_verbatimXml element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_whitespace element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_xemph element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_a_xlang element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_ACCEPTED element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_author element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_authors element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_CLOSED element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_costs element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_date element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_desc element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_docmat element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_entries element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_FIXED element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_issue element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_name element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_note element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_package element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_prior element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_reference element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_REOPENED element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_WONTFIX element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(Element_WORKSFORME element)
Can be overridden by the user to define particular semantic operations.
|
void |
visit(TypedPCData pcdata) |
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
protected final ContentHandler contentHandler
protected final LexicalHandler lexicalHandler
protected final Attributes EMPTY_ATTRIBUTES
@User public Dumper(ContentHandler contentHandler, LexicalHandler lexicalHandler)
contentHandler
- (never null) for Substantials and PIs.lexicalHandler
- (maybe null) for Comments.@User public Dumper(ContentHandler contentHandler)
TypedComment
), iff it happens
to implement this interface. @param contentHandler (never null) Object
serving as contentHandler for substantial events, and possibly also as a
LexicalHandler.protected void handleSAXException(SAXException exception)
public void visit(TypedPCData pcdata)
visit
in interface PCDataVisitor
visit
in class Visitor
public void visit(Element_date element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_th element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_treeInclude element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_larger element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_image_file element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_pers element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_td element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_tdCls element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_ref element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_ldots element)
Visitor
visit(..)
in turn .public void visit(Element_a_xlang element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) andfor all PCData and all Elements in its contents.public void visit(Element_reference element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_image_showLabel element)
Visitor
visit(..)
in turn .public void visit(Element_ACCEPTED element)
Visitor
visit(..)
in turn .public void visit(Element_a_image_alt element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_hh element)
Visitor
visit(..)
in turn .public void visit(Element_prior element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_WORKSFORME element)
Visitor
visit(..)
in turn .public void visit(Element_a_p element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) andfor all PCData and all Elements in its contents.public void visit(Element_a_whitespace element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_ascii_upper element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_link element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_ppers element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_tr element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_ulin element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_bold element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_package element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_issue element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_url element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_listContinues element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_author element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_ascii_alpha element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_inframe element)
Visitor
visit(..)
in turn .public void visit(Element_FIXED element)
Visitor
visit(..)
in turn .public void visit(Element_a_listSymbol element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_table element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_image element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_entries element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_smaller element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_key element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_blank element)
Visitor
visit(..)
in turn .public void visit(Element_a_refdate element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_cite element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_name element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_src element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_pkind element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_footnote element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) andfor all PCData and all Elements in its contents.public void visit(Element_a_listitem element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_alpha element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_desc element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) andfor all PCData and all Elements in its contents.public void visit(Element_a_xemph element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_authors element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_note element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_scaps element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_CLOSED element)
Visitor
visit(..)
in turn .public void visit(Element_a_popus element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_spanstyle element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) andfor all PCData and all Elements in its contents.public void visit(Element_docmat element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_framename element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_text element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_label element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_blink element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_persop element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_top element)
Visitor
visit(..)
in turn .public void visit(Element_a_opus element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_listStartnum element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_loc element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_image_height element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_footnotetext element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) andfor all PCData and all Elements in its contents.public void visit(Element_a_SRC element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_REOPENED element)
Visitor
visit(..)
in turn .public void visit(Element_a_strikeout element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_nl element)
Visitor
visit(..)
in turn .public void visit(Element_a_locus element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_costs element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_border element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_kind element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_ital element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_image_width element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_footnotemark element)
Visitor
visit(..)
in turn for all selected attributes (see BaseVisitor.validating
) .public void visit(Element_WONTFIX element)
Visitor
visit(..)
in turn .public void visit(Element_a_image_align element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_decimalDigit element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_path element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_verbatimXml element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_mode element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_ascii_lower element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_indexlo element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_all element)
Visitor
visit(..)
in turn for all PCData in its contents.public void visit(Element_a_indexhi element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Element_a_list element)
Visitor
visit(..)
in turn for all components in its contents according to the
content model.public void visit(Element_a_emph element)
Visitor
visit(..)
in turn for all PCData and all Elements in its contents.public void visit(Document_package document)
Visitor
public void visit(Document_entries document)
Visitor
public void visit(Document_a_verbatimXml document)
Visitor
public void visit(Document_a_list document)
Visitor
see also the complete user documentation .