Class NumberType

java.lang.Object
org.apache.xalan.xsltc.compiler.util.Type
org.apache.xalan.xsltc.compiler.util.NumberType
All Implemented Interfaces:
org.apache.bcel.generic.InstructionConstants, Constants
Direct Known Subclasses:
IntType, RealType

public abstract class NumberType extends Type
Author:
Jacek Ambroziak, Santiago Pericas-Geertsen
  • Constructor Details

    • NumberType

      public NumberType()
  • Method Details

    • isNumber

      public boolean isNumber()
      Description copied from class: Type
      Returns true if this type is a numeric type. Redefined in NumberType.
      Overrides:
      isNumber in class Type
    • isSimple

      public boolean isSimple()
      Description copied from class: Type
      Returns true if this type is a simple type. Redefined in NumberType, BooleanType and StringType.
      Overrides:
      isSimple in class Type