TXW2 Compiler 20110809-redhat-2

com.sun.tools.txw2.model
Class Element

java.lang.Object
  extended by com.sun.tools.txw2.model.Leaf
      extended by com.sun.tools.txw2.model.Node
          extended by com.sun.tools.txw2.model.WriterNode
              extended by com.sun.tools.txw2.model.XmlNode
                  extended by 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.WriterNode
alternativeName
 
Fields inherited from class com.sun.tools.txw2.model.Node
leaf
 
Fields inherited from class com.sun.tools.txw2.model.Leaf
location
 
Constructor Summary
Element(Locator location, QName name, Leaf leaf)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class com.sun.tools.txw2.model.XmlNode
collectChildren
 
Methods inherited from class com.sun.tools.txw2.model.Node
addChild, hasOneChild, iterator
 
Methods inherited from class com.sun.tools.txw2.model.Leaf
createDataMethod, getNext, getPrev, merge, siblings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isRoot

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

Constructor Detail

Element

public Element(Locator location,
               QName name,
               Leaf leaf)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

TXW2 Compiler 20110809-redhat-2

Copyright © 2012 Oracle. All Rights Reserved.