Package com.sun.xml.xsom.impl
Class SchemaSetImpl
java.lang.Object
com.sun.xml.xsom.impl.SchemaSetImpl
- All Implemented Interfaces:
XSSchemaSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleTypefinal com.sun.xml.xsom.impl.SchemaSetImpl.AnyTypefinal EmptyImpl -
Constructor Summary
Constructors -
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 allXSSchemas in a single collection.intgetSimpleType(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:
getSchemaSizein interfaceXSSchemaSet
-
getSchema
- Specified by:
getSchemain interfaceXSSchemaSet
-
getSchema
- Specified by:
getSchemain interfaceXSSchemaSet
-
iterateSchema
- Specified by:
iterateSchemain interfaceXSSchemaSet
-
getSchemas
Description copied from interface:XSSchemaSetGets allXSSchemas in a single collection.- Specified by:
getSchemasin interfaceXSSchemaSet
-
getType
- Specified by:
getTypein interfaceXSSchemaSet
-
getSimpleType
- Specified by:
getSimpleTypein interfaceXSSchemaSet
-
getElementDecl
- Specified by:
getElementDeclin interfaceXSSchemaSet
-
getAttributeDecl
- Specified by:
getAttributeDeclin interfaceXSSchemaSet
-
getModelGroupDecl
- Specified by:
getModelGroupDeclin interfaceXSSchemaSet
-
getAttGroupDecl
- Specified by:
getAttGroupDeclin interfaceXSSchemaSet
-
getComplexType
- Specified by:
getComplexTypein interfaceXSSchemaSet
-
getIdentityConstraint
- Specified by:
getIdentityConstraintin interfaceXSSchemaSet
-
iterateElementDecls
Description copied from interface:XSSchemaSetIterates all element declarations in all the schemas.- Specified by:
iterateElementDeclsin interfaceXSSchemaSet
-
iterateTypes
Description copied from interface:XSSchemaSetIterates all type definitions in all the schemas.- Specified by:
iterateTypesin interfaceXSSchemaSet
-
iterateAttributeDecls
Description copied from interface:XSSchemaSetIterates all atribute declarations in all the schemas.- Specified by:
iterateAttributeDeclsin interfaceXSSchemaSet
-
iterateAttGroupDecls
Description copied from interface:XSSchemaSetIterates all attribute group declarations in all the schemas.- Specified by:
iterateAttGroupDeclsin interfaceXSSchemaSet
-
iterateModelGroupDecls
Description copied from interface:XSSchemaSetIterates all model group declarations in all the schemas.- Specified by:
iterateModelGroupDeclsin interfaceXSSchemaSet
-
iterateSimpleTypes
Description copied from interface:XSSchemaSetIterates all simple type definitions in all the schemas.- Specified by:
iterateSimpleTypesin interfaceXSSchemaSet
-
iterateComplexTypes
Description copied from interface:XSSchemaSetIterates all complex type definitions in all the schemas.- Specified by:
iterateComplexTypesin interfaceXSSchemaSet
-
iterateNotations
Description copied from interface:XSSchemaSetIterates all notation declarations in all the schemas.- Specified by:
iterateNotationsin interfaceXSSchemaSet
-
iterateIdentityConstraints
Description copied from interface:XSSchemaSetIterates all identity constraints in all the schemas.- Specified by:
iterateIdentityConstraintsin interfaceXSSchemaSet
-
select
Description copied from interface:XSSchemaSetEvaluates a schema component designator against this schema component and returns the resulting schema components.- Specified by:
selectin interfaceXSSchemaSet- Parameters:
scd- Schema component designator. SeeSCDfor 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:XSSchemaSetEvaluates a schema component designator against this schema component and returns the first resulting schema component.- Specified by:
selectSinglein interfaceXSSchemaSet- Parameters:
scd- Schema component designator. SeeSCDfor 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:
getEmptyin interfaceXSSchemaSet
-
getAnySimpleType
- Specified by:
getAnySimpleTypein interfaceXSSchemaSet
-
getAnyType
- Specified by:
getAnyTypein interfaceXSSchemaSet
-