Class XSDAny

All Implemented Interfaces:
Source, SourceLocator, ActiveSource, GroundedValue, Item, MutableNodeInfo, NamespaceResolver, NodeInfo, Sequence, Location, SteppingNode, SiblingCountingNode, Locator

public class XSDAny extends AnnotationParent
An xs:any element in an XML Schema document
  • Constructor Details

    • XSDAny

      public XSDAny()
  • Method Details

    • prepareAttributes

      protected void prepareAttributes() throws SchemaException
      Validate and process the attributes on this element in the schema document
      Specified by:
      prepareAttributes in class SchemaElement
      Throws:
      SchemaException - if any errors are found in the attributes
    • validate

      public void validate(SchemaCompiler compiler) throws SchemaException
      Validate this schema element, checking all document-level constraints
      Overrides:
      validate in class AnnotationParent
      Parameters:
      compiler - the schema compiler
      Throws:
      SchemaException - if any XML representation constraints are violated
    • getElementWildcard

      public ElementWildcard getElementWildcard()
      Returns the Wildcard.
      Returns:
      the Wildcard
    • isProcessName

      protected static boolean isProcessName(String name)
      Determines whether or not the given name is the name of an XML Schema Wildcard processContents attribute.
      Parameters:
      name - the name to test
      Returns:
      true if the given name is a valid name of a processContents attribute