com.sun.tools.txw2.model
Class WriterNode

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
All Implemented Interfaces:
Iterable<Leaf>, org.kohsuke.rngom.ast.om.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
protected  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
WriterNode(Locator location, Leaf leaf)
           
 
Method Summary
 
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, toString, wait, wait, wait
 

Field Detail

alternativeName

protected 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(Locator location,
                  Leaf leaf)


Copyright © 2013 Oracle. All Rights Reserved.