Class FinalComponent

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

public final class FinalComponent extends Proxy
"final" component.
Author:
Kohsuke KAWAGUCHI
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).