com.sun.tools.txw2.model
Class Data

java.lang.Object
  extended by com.sun.tools.txw2.model.Leaf
      extended by com.sun.tools.txw2.model.Data
All Implemented Interfaces:
Text, org.kohsuke.rngom.ast.om.ParsedPattern

public class Data
extends Leaf
implements Text

Author:
Kohsuke Kawaguchi

Field Summary
 com.sun.codemodel.JType type
          The Java representation of the datatype.
 
Fields inherited from class com.sun.tools.txw2.model.Leaf
location
 
Constructor Summary
Data(Locator location, com.sun.codemodel.JType type)
           
 
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.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

type

public final com.sun.codemodel.JType type
The Java representation of the datatype.

Constructor Detail

Data

public Data(Locator location,
            com.sun.codemodel.JType type)
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 © 2013 Oracle. All Rights Reserved.