Class FinalComponent

All Implemented Interfaces:
DatabindableDatatype, XSDatatype, Serializable, org.relaxng.datatype.Datatype

public final class FinalComponent extends Proxy
"final" component.
See Also:
  • Field Details

    • finalValue

      private final int finalValue
    • serialVersionUID

      private static final long serialVersionUID
      See Also:
  • Constructor Details

  • Method Details

    • 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).