@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_translationfile document)
Can be called to visit the complete model instance. 
 | 
void | 
visit(Element_entry element)
Can be overridden by the user to define particular semantic operations. 
 | 
void | 
visit(Element_text element)
Can be overridden by the user to define particular semantic operations. 
 | 
void | 
visit(Element_translationfile element)
Can be overridden by the user to define particular semantic operations. 
 | 
void | 
visit(TypedPCData pcdata)  | 
visit, visit, visit, visit, visit, visit, visitvisitprotected 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 PCDataVisitorvisit in class Visitorpublic void visit(Element_entry element)
Visitorvisit(..) in turn  for all selected attributes (see BaseVisitor.validating)
  and for all components in its contents according to the content model.public void visit(Element_translationfile element)
Visitorvisit(..) in turn  for all components in its contents according to the 
  content model.public void visit(Element_text element)
Visitorvisit(..) in turn  for all selected attributes (see BaseVisitor.validating)
  and for all PCData in its contents.public void visit(Document_translationfile document)
Visitorsee also the complete user documentation .