Class XmlNode

    • 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.Node

        leaf
      • Fields inherited from class com.sun.tools.txw2.model.Leaf

        location
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected XmlNode​(org.xml.sax.Locator location, javax.xml.namespace.QName name, Leaf leaf)  
    • 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 of XmlNodes.
    • 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.