Class XmlNode

All Implemented Interfaces:
Iterable<Leaf>, ParsedPattern
Direct Known Subclasses:
Attribute, Element

public abstract class XmlNode extends WriterNode
Either an Element or Attribute.
Author:
Kohsuke Kawaguchi
  • Field Details

    • name

      public final QName name
      Name of the attribute/element. In TXW, we ignore all infinite names. (finite name class will be expanded to a list of XmlNodes.
  • Constructor Details

  • Method Details

    • collectChildren

      protected final Set<Leaf> collectChildren()
      Expand all refs and collect all children.