Class XSDInclude

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

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

    • XSDInclude

      public XSDInclude()
      Create an XSDInclude object
  • 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
    • isFileNotFoundException

      public static boolean isFileNotFoundException(Throwable cause)
    • getIncludedSchema

      public PreparedSchema getIncludedSchema()
      Get the schema (= collection of schema components) that was included by this xs:include instruction
      Returns:
      the components that were included