Interface XSSchemaSet

  • All Known Implementing Classes:
    SchemaSetImpl

    public interface XSSchemaSet
    Set of XSSchema objects.
    Author:
    Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
    • Method Detail

      • getSchema

        XSSchema getSchema​(java.lang.String targetNamespace)
      • getSchema

        XSSchema getSchema​(int idx)
      • getSchemaSize

        int getSchemaSize()
      • iterateSchema

        java.util.Iterator<XSSchema> iterateSchema()
      • getSchemas

        java.util.Collection<XSSchema> getSchemas()
        Gets all XSSchemas in a single collection.
      • getType

        XSType getType​(java.lang.String namespaceURI,
                       java.lang.String localName)
      • getSimpleType

        XSSimpleType getSimpleType​(java.lang.String namespaceURI,
                                   java.lang.String localName)
      • getAttributeDecl

        XSAttributeDecl getAttributeDecl​(java.lang.String namespaceURI,
                                         java.lang.String localName)
      • getElementDecl

        XSElementDecl getElementDecl​(java.lang.String namespaceURI,
                                     java.lang.String localName)
      • getModelGroupDecl

        XSModelGroupDecl getModelGroupDecl​(java.lang.String namespaceURI,
                                           java.lang.String localName)
      • getAttGroupDecl

        XSAttGroupDecl getAttGroupDecl​(java.lang.String namespaceURI,
                                       java.lang.String localName)
      • getComplexType

        XSComplexType getComplexType​(java.lang.String namespaceURI,
                                     java.lang.String localName)
      • getIdentityConstraint

        XSIdentityConstraint getIdentityConstraint​(java.lang.String namespaceURI,
                                                   java.lang.String localName)
      • iterateElementDecls

        java.util.Iterator<XSElementDecl> iterateElementDecls()
        Iterates all element declarations in all the schemas.
      • iterateTypes

        java.util.Iterator<XSType> iterateTypes()
        Iterates all type definitions in all the schemas.
      • iterateAttributeDecls

        java.util.Iterator<XSAttributeDecl> iterateAttributeDecls()
        Iterates all atribute declarations in all the schemas.
      • iterateAttGroupDecls

        java.util.Iterator<XSAttGroupDecl> iterateAttGroupDecls()
        Iterates all attribute group declarations in all the schemas.
      • iterateModelGroupDecls

        java.util.Iterator<XSModelGroupDecl> iterateModelGroupDecls()
        Iterates all model group declarations in all the schemas.
      • iterateSimpleTypes

        java.util.Iterator<XSSimpleType> iterateSimpleTypes()
        Iterates all simple type definitions in all the schemas.
      • iterateComplexTypes

        java.util.Iterator<XSComplexType> iterateComplexTypes()
        Iterates all complex type definitions in all the schemas.
      • iterateNotations

        java.util.Iterator<XSNotation> iterateNotations()
        Iterates all notation declarations in all the schemas.
      • iterateIdentityConstraints

        java.util.Iterator<XSIdentityConstraint> iterateIdentityConstraints()
        Iterates all identity constraints in all the schemas.
      • select

        java.util.Collection<XSComponent> select​(java.lang.String scd,
                                                 javax.xml.namespace.NamespaceContext nsContext)
        Evaluates a schema component designator against this schema component and returns the resulting schema components.
        Parameters:
        scd - Schema component designator. See SCD for more details.
        nsContext - The namespace context in which SCD is evaluated. Cannot be null.
        Returns:
        Can be empty but never null.
        Throws:
        java.lang.IllegalArgumentException - if SCD is syntactically incorrect.
      • selectSingle

        XSComponent selectSingle​(java.lang.String scd,
                                 javax.xml.namespace.NamespaceContext nsContext)
        Evaluates a schema component designator against this schema component and returns the first resulting schema component.
        Parameters:
        scd - Schema component designator. See SCD for more details.
        nsContext - The namespace context in which SCD is evaluated. Cannot be null.
        Returns:
        null if the SCD didn't match anything. If the SCD matched more than one node, the first one will be returned.
        Throws:
        java.lang.IllegalArgumentException - if SCD is syntactically incorrect.