Package org.eigenbase.xom
Class CommentDef
java.lang.Object
org.eigenbase.xom.TextDef
org.eigenbase.xom.CommentDef
- All Implemented Interfaces:
NodeDef
todo:
- Since:
- 11 October, 2001
- Version:
- $Id: //open/util/resgen/src/org/eigenbase/xom/CommentDef.java#3 $
- Author:
- jhyde
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisplay(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 Details
-
CommentDef
public CommentDef() -
CommentDef
-
CommentDef
- Throws:
XOMException
-
-
Method Details
-
getType
public int getType()Description copied from interface:NodeDefReturns the type of this element. Values are as forDOMWrapper.getType(). -
display
Description copied from interface:NodeDefOutputs this node to any PrintWriter, in a formatted fashion with automatic indenting. -
displayXML
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
-