Class Value

  • All Implemented Interfaces:
    com.sun.tools.rngom.ast.om.ParsedPattern, Text

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

      • type

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

        public final String name
        Constant name.
    • Constructor Detail

      • Value

        public Value​(Locator location,
                     com.sun.codemodel.JType type,
                     String name)
    • 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