Class FacetElement.NumFacet

All Implemented Interfaces:
IComponent
Direct Known Subclasses:
FacetElement.FractionDigits, FacetElement.Length, FacetElement.MaxLength, FacetElement.MinLength
Enclosing class:
FacetElement

public abstract static class FacetElement.NumFacet extends FacetElement.FixedFacet
  • Field Details

    • m_value

      private int m_value
      "value" attribute value.
  • Constructor Details

    • NumFacet

      public NumFacet(int type, int bit, int exclude)
      Constructor. Just passes on the element type to base class.
      Parameters:
      type -
      bit - mask
      exclude - exclusion bit mask
  • Method Details

    • getValue

      public int getValue()
      Get "value" attribute value.
      Returns:
      value attribute value
    • setValue

      public void setValue(int value)
      Set "value" attribute value.
      Parameters:
      value - value attribute value
    • prevalidate

      public void prevalidate(ValidationContext vctx)
      Description copied from class: SchemaBase
      Prevalidate component information. The prevalidation step is used to check isolated aspects of a component, such as the settings for enumerated values. This empty base class implementation should be overridden by each subclass that requires prevalidation handling.
      Specified by:
      prevalidate in interface IComponent
      Overrides:
      prevalidate in class AnnotatedBase
      Parameters:
      vctx - validation context