com.sun.tools.txw2.model
Class Element
java.lang.Object
com.sun.tools.txw2.model.Leaf
com.sun.tools.txw2.model.Node
com.sun.tools.txw2.model.WriterNode
com.sun.tools.txw2.model.XmlNode
com.sun.tools.txw2.model.Element
- All Implemented Interfaces:
- Iterable<Leaf>, org.kohsuke.rngom.ast.om.ParsedPattern
public class Element
- extends XmlNode
Element declaration.
- Author:
- Kohsuke Kawaguchi
Field Summary |
boolean |
isRoot
True if this element can be a root element. |
Fields inherited from class com.sun.tools.txw2.model.XmlNode |
name |
Fields inherited from class com.sun.tools.txw2.model.Node |
leaf |
Fields inherited from class com.sun.tools.txw2.model.Leaf |
location |
isRoot
public boolean isRoot
- True if this element can be a root element.
Element
public Element(Locator location,
QName name,
Leaf leaf)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Oracle. All Rights Reserved.