Package com.sun.xml.xsom.impl
Class SchemaSetImpl
java.lang.Object
com.sun.xml.xsom.impl.SchemaSetImpl
- All Implemented Interfaces:
XSSchemaSet
-
Field Summary
Modifier and TypeFieldDescriptionfinal com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleType
final com.sun.xml.xsom.impl.SchemaSetImpl.AnyType
final EmptyImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSchema
(String targetNamespace, Locator location) Gets a reference to the existing schema or creates a new one if none exists yet.getAttGroupDecl
(String ns, String localName) getAttributeDecl
(String ns, String localName) getComplexType
(String ns, String localName) getElementDecl
(String ns, String localName) getEmpty()
getIdentityConstraint
(String ns, String localName) getModelGroupDecl
(String ns, String localName) getSchema
(int idx) final Collection<XSSchema>
Gets allXSSchema
s in a single collection.int
getSimpleType
(String ns, String localName) Iterates all attribute group declarations in all the schemas.Iterates all atribute declarations in all the schemas.Iterates all complex type definitions in all the schemas.Iterates all element declarations in all the schemas.Iterates all identity constraints in all the schemas.Iterates all model group declarations in all the schemas.Iterates all notation declarations in all the schemas.Iterates all simple type definitions in all the schemas.Iterates all type definitions in all the schemas.select
(String scd, NamespaceContext nsContext) Evaluates a schema component designator against this schema component and returns the resulting schema components.selectSingle
(String scd, NamespaceContext nsContext) Evaluates a schema component designator against this schema component and returns the first resulting schema component.
-
Field Details
-
empty
-
anySimpleType
public final com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleType anySimpleType -
anyType
public final com.sun.xml.xsom.impl.SchemaSetImpl.AnyType anyType
-
-
Constructor Details
-
SchemaSetImpl
public SchemaSetImpl()
-
-
Method Details
-
createSchema
Gets a reference to the existing schema or creates a new one if none exists yet. -
getSchemaSize
public int getSchemaSize()- Specified by:
getSchemaSize
in interfaceXSSchemaSet
-
getSchema
- Specified by:
getSchema
in interfaceXSSchemaSet
-
getSchema
- Specified by:
getSchema
in interfaceXSSchemaSet
-
iterateSchema
- Specified by:
iterateSchema
in interfaceXSSchemaSet
-
getSchemas
Description copied from interface:XSSchemaSet
Gets allXSSchema
s in a single collection.- Specified by:
getSchemas
in interfaceXSSchemaSet
-
getType
- Specified by:
getType
in interfaceXSSchemaSet
-
getSimpleType
- Specified by:
getSimpleType
in interfaceXSSchemaSet
-
getElementDecl
- Specified by:
getElementDecl
in interfaceXSSchemaSet
-
getAttributeDecl
- Specified by:
getAttributeDecl
in interfaceXSSchemaSet
-
getModelGroupDecl
- Specified by:
getModelGroupDecl
in interfaceXSSchemaSet
-
getAttGroupDecl
- Specified by:
getAttGroupDecl
in interfaceXSSchemaSet
-
getComplexType
- Specified by:
getComplexType
in interfaceXSSchemaSet
-
getIdentityConstraint
- Specified by:
getIdentityConstraint
in interfaceXSSchemaSet
-
iterateElementDecls
Description copied from interface:XSSchemaSet
Iterates all element declarations in all the schemas.- Specified by:
iterateElementDecls
in interfaceXSSchemaSet
-
iterateTypes
Description copied from interface:XSSchemaSet
Iterates all type definitions in all the schemas.- Specified by:
iterateTypes
in interfaceXSSchemaSet
-
iterateAttributeDecls
Description copied from interface:XSSchemaSet
Iterates all atribute declarations in all the schemas.- Specified by:
iterateAttributeDecls
in interfaceXSSchemaSet
-
iterateAttGroupDecls
Description copied from interface:XSSchemaSet
Iterates all attribute group declarations in all the schemas.- Specified by:
iterateAttGroupDecls
in interfaceXSSchemaSet
-
iterateModelGroupDecls
Description copied from interface:XSSchemaSet
Iterates all model group declarations in all the schemas.- Specified by:
iterateModelGroupDecls
in interfaceXSSchemaSet
-
iterateSimpleTypes
Description copied from interface:XSSchemaSet
Iterates all simple type definitions in all the schemas.- Specified by:
iterateSimpleTypes
in interfaceXSSchemaSet
-
iterateComplexTypes
Description copied from interface:XSSchemaSet
Iterates all complex type definitions in all the schemas.- Specified by:
iterateComplexTypes
in interfaceXSSchemaSet
-
iterateNotations
Description copied from interface:XSSchemaSet
Iterates all notation declarations in all the schemas.- Specified by:
iterateNotations
in interfaceXSSchemaSet
-
iterateIdentityConstraints
Description copied from interface:XSSchemaSet
Iterates all identity constraints in all the schemas.- Specified by:
iterateIdentityConstraints
in interfaceXSSchemaSet
-
select
Description copied from interface:XSSchemaSet
Evaluates a schema component designator against this schema component and returns the resulting schema components.- Specified by:
select
in interfaceXSSchemaSet
- Parameters:
scd
- Schema component designator. SeeSCD
for more details.nsContext
- The namespace context in which SCD is evaluated. Cannot be null.- Returns:
- Can be empty but never null.
-
selectSingle
Description copied from interface:XSSchemaSet
Evaluates a schema component designator against this schema component and returns the first resulting schema component.- Specified by:
selectSingle
in interfaceXSSchemaSet
- Parameters:
scd
- Schema component designator. SeeSCD
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.
-
getEmpty
- Specified by:
getEmpty
in interfaceXSSchemaSet
-
getAnySimpleType
- Specified by:
getAnySimpleType
in interfaceXSSchemaSet
-
getAnyType
- Specified by:
getAnyType
in interfaceXSSchemaSet
-