Constructor and Description |
---|
CommentDef() |
CommentDef(DOMWrapper _def) |
CommentDef(String s) |
Modifier and Type | Method and Description |
---|---|
void |
display(PrintWriter pw,
int indent)
Outputs this node to any PrintWriter,
in a formatted fashion with automatic indenting.
|
void |
displayXML(XMLOutput out,
int indent)
Outputs this element definition in XML to any XMLOutput.
|
int |
getType()
Returns the type of this element.
|
getChildren, getLocation, getName, getText, getWrapper
public CommentDef()
public CommentDef(String s)
public CommentDef(DOMWrapper _def) throws XOMException
XOMException
public int getType()
NodeDef
DOMWrapper.getType()
.public void display(PrintWriter pw, int indent)
NodeDef
public void displayXML(XMLOutput out, int indent)
NodeDef
displayXML
in interface NodeDef
displayXML
in class TextDef
out
- the XMLOutput class to display the XMLCopyright © 2012 Julian Hyde. All Rights Reserved.