Package org.eigenbase.xom
Class CommentDef
- java.lang.Object
-
- org.eigenbase.xom.TextDef
-
- org.eigenbase.xom.CommentDef
-
-
Constructor Summary
Constructors Constructor Description CommentDef()
CommentDef(java.lang.String s)
CommentDef(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(java.io.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.-
Methods inherited from class org.eigenbase.xom.TextDef
getChildren, getLocation, getName, getText, getWrapper
-
-
-
-
Constructor Detail
-
CommentDef
public CommentDef()
-
CommentDef
public CommentDef(java.lang.String s)
-
CommentDef
public CommentDef(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getType
public int getType()
Description copied from interface:NodeDef
Returns the type of this element. Values are as forDOMWrapper.getType()
.
-
display
public void display(java.io.PrintWriter pw, int indent)
Description copied from interface:NodeDef
Outputs this node to any PrintWriter, in a formatted fashion with automatic indenting.
-
displayXML
public void displayXML(XMLOutput out, int indent)
Description copied from interface:NodeDef
Outputs this element definition in XML to any XMLOutput.- Specified by:
displayXML
in interfaceNodeDef
- Overrides:
displayXML
in classTextDef
- Parameters:
out
- the XMLOutput class to display the XML
-
-