Class AllElement

All Implemented Interfaces:
IArity, IComponent

public class AllElement extends CommonCompositorDefinition
<all> element definition. Even though <all> is considered a compositor by the schema specification, it has substantial restrictions on use.
Author:
Dennis M. Sosnoski
  • Field Details

    • PARTICLE_MASK

      private static long PARTICLE_MASK
      Mask bits for allowed child elements.
  • Constructor Details

    • AllElement

      public AllElement()
      Constructor.
  • Method Details

    • 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 CommonCompositorBase
      Parameters:
      vctx - validation context
    • validate

      public void validate(ValidationContext vctx)
      Description copied from class: SchemaBase
      Validate component information. The validation step is used for checking the interactions between components, such as name references to other components. The SchemaBase.prevalidate(org.jibx.schema.validation.ValidationContext) method will always be called for every component in the schema definition before this method is called for any component. This empty base class implementation should be overridden by each subclass that requires validation handling.
      Specified by:
      validate in interface IComponent
      Overrides:
      validate in class SchemaBase
      Parameters:
      vctx - validation context