Class Value

java.lang.Object
com.sun.tools.txw2.model.Leaf
com.sun.tools.txw2.model.Value
All Implemented Interfaces:
Text, ParsedPattern

public class Value extends Leaf implements Text
A constant value.
Author:
Kohsuke Kawaguchi
  • Field Details

    • type

      public final JType type
      The underlying datatype, in case we need to revert to Data.
    • name

      public final String name
      Constant name.
  • Constructor Details

  • Method Details

    • getDatatype

      public JType getDatatype(NodeSet nset)
      Description copied from interface: Text
      Obtains the Java class of this Text.
      Specified by:
      getDatatype in interface Text