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 voiddisplay(java.io.PrintWriter pw, int indent)Outputs this node to any PrintWriter, in a formatted fashion with automatic indenting.voiddisplayXML(XMLOutput out, int indent)Outputs this element definition in XML to any XMLOutput.intgetType()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:NodeDefReturns the type of this element. Values are as forDOMWrapper.getType().
-
display
public void display(java.io.PrintWriter pw, int indent)Description copied from interface:NodeDefOutputs this node to any PrintWriter, in a formatted fashion with automatic indenting.
-
displayXML
public void displayXML(XMLOutput out, int indent)
Description copied from interface:NodeDefOutputs this element definition in XML to any XMLOutput.- Specified by:
displayXMLin interfaceNodeDef- Overrides:
displayXMLin classTextDef- Parameters:
out- the XMLOutput class to display the XML
-
-