Class Element

  • All Implemented Interfaces:
    java.lang.Iterable<Leaf>, ParsedPattern

    public class Element
    extends XmlNode
    Element declaration.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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
    • Constructor Summary

      Constructors 
      Constructor Description
      Element​(org.xml.sax.Locator location, javax.xml.namespace.QName name, Leaf leaf)  
    • Field Detail

      • isRoot

        public boolean isRoot
        True if this element can be a root element.
    • Constructor Detail

      • Element

        public Element​(org.xml.sax.Locator location,
                       javax.xml.namespace.QName name,
                       Leaf leaf)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object