Class WriterNode

  • All Implemented Interfaces:
    java.lang.Iterable<Leaf>, ParsedPattern
    Direct Known Subclasses:
    Define, XmlNode

    public abstract class WriterNode
    extends Node
    The Node that maps to the program element.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String alternativeName
      If this node is the sole child of a pattern block, this field points to its 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
      WriterNode​(org.xml.sax.Locator location, Leaf leaf)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • alternativeName

        protected java.lang.String alternativeName
        If this node is the sole child of a pattern block, this field points to its name.

        When the element names are in conflict, this can be used.

    • Constructor Detail

      • WriterNode

        public WriterNode​(org.xml.sax.Locator location,
                          Leaf leaf)