Class FacetElement.WhiteSpace

All Implemented Interfaces:
IComponent
Enclosing class:
FacetElement

public static class FacetElement.WhiteSpace extends FacetElement.TextFacet
  • Field Details

    • PRESERVE_WHITESPACE

      public static final int PRESERVE_WHITESPACE
      See Also:
    • REPLACE_WHITESPACE

      public static final int REPLACE_WHITESPACE
      See Also:
    • COLLAPSE_WHITESPACE

      public static final int COLLAPSE_WHITESPACE
      See Also:
    • s_finalValues

      public static final EnumSet s_finalValues
    • m_whitespaceType

      private int m_whitespaceType
  • Constructor Details

    • WhiteSpace

      public WhiteSpace()
      Constructor. Just sets element type in base class.
  • Method Details

    • getWhitespaceType

      public int getWhitespaceType()
      Get whitespace handling type code.
      Returns:
      type code for whitespace handling
    • 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