Package com.sun.tools.txw2.model
Class XmlNode
- 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
-
- All Implemented Interfaces:
java.lang.Iterable<Leaf>
,ParsedPattern
public abstract class XmlNode extends WriterNode
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description javax.xml.namespace.QName
name
Name of the attribute/element.-
Fields inherited from class com.sun.tools.txw2.model.WriterNode
alternativeName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Set<Leaf>
collectChildren()
Expand all refs and collect all children.-
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
-
-
-
-
Field Detail
-
name
public final javax.xml.namespace.QName name
Name of the attribute/element. In TXW, we ignore all infinite names. (finite name class will be expanded to a list ofXmlNode
s.
-
-
Constructor Detail
-
XmlNode
protected XmlNode(org.xml.sax.Locator location, javax.xml.namespace.QName name, Leaf leaf)
-
-
Method Detail
-
collectChildren
protected final java.util.Set<Leaf> collectChildren()
Expand all refs and collect all children.
-
-