Class FloatingNumberType

    • Constructor Detail

      • FloatingNumberType

        protected FloatingNumberType​(java.lang.String typeName)
    • Method Detail

      • checkFormat

        protected final boolean checkFormat​(java.lang.String lexicalValue,
                                            org.relaxng.datatype.ValidationContext context)
        Specified by:
        checkFormat in class XSDatatypeImpl
      • isDigitOrPeriodOrSign

        protected static boolean isDigitOrPeriodOrSign​(char ch)
      • compare

        public final int compare​(java.lang.Object lhs,
                                 java.lang.Object rhs)
        Description copied from interface: Comparator
        compare to value types and decides its order relation
        Specified by:
        compare in interface Comparator
      • isFacetApplicable

        public final int isFacetApplicable​(java.lang.String facetName)
        Description copied from interface: XSDatatype
        returns if the specified facet is applicable to this datatype.
        Specified by:
        isFacetApplicable in interface XSDatatype
        Returns:
        APPLICABLE
        if the facet is applicable
        FIXED
        if the facet is already fixed (that is,not applicable)
        NOT_ALLOWED
        if the facet is not applicable to this datatype at all. this value is also returned for unknown facets.