Class XSDDocumentation

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

public class XSDDocumentation extends SchemaElement
An xs:documentation or xs:appinfo element in an XML Schema document
  • Constructor Details

    • XSDDocumentation

      public XSDDocumentation()
      Creates a new documentation or appinfo element
  • Method Details

    • processAllAttributes

      public void processAllAttributes() throws SchemaException
      Process the attributes of this element and all its children
      Overrides:
      processAllAttributes in class SchemaElement
      Throws:
      SchemaException
    • 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
    • validateSubtree

      public void validateSubtree(SchemaCompiler compiler)
      Recursive walk through the stylesheet to validate all nodes: this implementation suppresses the subtree validation.
      Overrides:
      validateSubtree in class SchemaElement
      Parameters:
      compiler - the schema compiler
    • validate

      public void validate(SchemaCompiler compiler)
      Validate this schema element, checking all document-level constraints
      Overrides:
      validate in class SchemaElement
      Parameters:
      compiler - the schema compiler