Class FinalComponent

    • Constructor Detail

      • FinalComponent

        public FinalComponent​(XSDatatypeImpl baseType,
                              int finalValue)
    • Method Detail

      • isFinal

        public boolean isFinal​(int derivationType)
        Description copied from interface: XSDatatype
        checks if this type is declared as final for the specified kind of derivation.

        In the terminology of the spec, this method can be used to examine the final property of this component.

        Specified by:
        isFinal in interface XSDatatype
        Overrides:
        isFinal in class Proxy
        Parameters:
        derivationType - one of pre-defined values (DERIVATION_BY_XXX).