com.sun.tools.txw2.model
Class List

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.List
All Implemented Interfaces:
Text, Iterable<Leaf>, org.kohsuke.rngom.ast.om.ParsedPattern

public class List
extends Node
implements Text

List of Data or Value.

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class com.sun.tools.txw2.model.Node
leaf
 
Fields inherited from class com.sun.tools.txw2.model.Leaf
location
 
Constructor Summary
List(Locator location, Leaf leaf)
           
 
Method Summary
 com.sun.codemodel.JType getDatatype(NodeSet nset)
          Obtains the Java class of this Text.
 
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
 

Constructor Detail

List

public List(Locator location,
            Leaf leaf)
Method Detail

getDatatype

public com.sun.codemodel.JType getDatatype(NodeSet nset)
Description copied from interface: Text
Obtains the Java class of this Text.

Specified by:
getDatatype in interface Text


Copyright © 2012 Oracle. All Rights Reserved.