Class ValueRangeFacet

    • Constructor Detail

      • ValueRangeFacet

        public ValueRangeFacet()
    • Method Detail

      • getValue

        public UnicodeString getValue()
        Description copied from class: Facet
        Returns the lexical representation of the value of this facet
        Specified by:
        getValue in class Facet
        the value of this facet, as a string
      • setRequiredValue

        public void setRequiredValue​(AtomicValue value)
      • getRequiredValue

        public AtomicValue getRequiredValue()
      • testAtomicValue

        public boolean testAtomicValue​(AtomicValue value)
        Test whether an atomic value conforms to this facet
        Specified by:
        testAtomicValue in class Facet
        value - the value to be tested
        true if the value conforms; false if it doesn't conform, or if the test fails
      • testComparisonOK

        protected abstract boolean testComparisonOK​(int comparisonResult)
        Test whether the comparison with the min or max value is a valid result
        comparisonResult - the result of comparing the actual value with the specified min or max value, as defined using the compareTo() method
        true if the comparison is OK, that is, if the value conforms to the facet
      • getFacetAsFunctionItem

        public Function getFacetAsFunctionItem()
        Description copied from class: Facet
        Get a function item that represents this Facet schema component.
        Specified by:
        getFacetAsFunctionItem in class Facet