public class SchemaSetImpl extends Object implements XSSchemaSet
| Modifier and Type | Field and Description |
|---|---|
com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleType |
anySimpleType |
com.sun.xml.xsom.impl.SchemaSetImpl.AnyType |
anyType |
EmptyImpl |
empty |
| Constructor and Description |
|---|
SchemaSetImpl() |
| Modifier and Type | Method and Description |
|---|---|
SchemaImpl |
createSchema(String targetNamespace,
Locator location)
Gets a reference to the existing schema or creates a new one
if none exists yet.
|
XSSimpleType |
getAnySimpleType() |
XSComplexType |
getAnyType() |
XSAttGroupDecl |
getAttGroupDecl(String ns,
String localName) |
XSAttributeDecl |
getAttributeDecl(String ns,
String localName) |
XSComplexType |
getComplexType(String ns,
String localName) |
XSElementDecl |
getElementDecl(String ns,
String localName) |
XSContentType |
getEmpty() |
XSIdentityConstraint |
getIdentityConstraint(String ns,
String localName) |
XSModelGroupDecl |
getModelGroupDecl(String ns,
String localName) |
XSSchema |
getSchema(int idx) |
XSSchema |
getSchema(String targetNamespace) |
Collection<XSSchema> |
getSchemas()
Gets all
XSSchemas in a single collection. |
int |
getSchemaSize() |
XSSimpleType |
getSimpleType(String ns,
String localName) |
XSType |
getType(String ns,
String localName) |
Iterator<XSAttGroupDecl> |
iterateAttGroupDecls()
Iterates all attribute group declarations in all the schemas.
|
Iterator<XSAttributeDecl> |
iterateAttributeDecls()
Iterates all atribute declarations in all the schemas.
|
Iterator<XSComplexType> |
iterateComplexTypes()
Iterates all complex type definitions in all the schemas.
|
Iterator<XSElementDecl> |
iterateElementDecls()
Iterates all element declarations in all the schemas.
|
Iterator<XSIdentityConstraint> |
iterateIdentityConstraints()
Iterates all identity constraints in all the schemas.
|
Iterator<XSModelGroupDecl> |
iterateModelGroupDecls()
Iterates all model group declarations in all the schemas.
|
Iterator<XSNotation> |
iterateNotations()
Iterates all notation declarations in all the schemas.
|
Iterator<XSSchema> |
iterateSchema() |
Iterator<XSSimpleType> |
iterateSimpleTypes()
Iterates all simple type definitions in all the schemas.
|
Iterator<XSType> |
iterateTypes()
Iterates all type definitions in all the schemas.
|
Collection<XSComponent> |
select(String scd,
NamespaceContext nsContext)
Evaluates a schema component designator against this schema component
and returns the resulting schema components.
|
XSComponent |
selectSingle(String scd,
NamespaceContext nsContext)
Evaluates a schema component designator against this schema component
and returns the first resulting schema component.
|
public final EmptyImpl empty
public final com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleType anySimpleType
public final com.sun.xml.xsom.impl.SchemaSetImpl.AnyType anyType
public SchemaImpl createSchema(String targetNamespace, Locator location)
public int getSchemaSize()
getSchemaSize in interface XSSchemaSetpublic XSSchema getSchema(String targetNamespace)
getSchema in interface XSSchemaSetpublic XSSchema getSchema(int idx)
getSchema in interface XSSchemaSetpublic Iterator<XSSchema> iterateSchema()
iterateSchema in interface XSSchemaSetpublic final Collection<XSSchema> getSchemas()
XSSchemaSetXSSchemas in a single collection.getSchemas in interface XSSchemaSetpublic XSType getType(String ns, String localName)
getType in interface XSSchemaSetpublic XSSimpleType getSimpleType(String ns, String localName)
getSimpleType in interface XSSchemaSetpublic XSElementDecl getElementDecl(String ns, String localName)
getElementDecl in interface XSSchemaSetpublic XSAttributeDecl getAttributeDecl(String ns, String localName)
getAttributeDecl in interface XSSchemaSetpublic XSModelGroupDecl getModelGroupDecl(String ns, String localName)
getModelGroupDecl in interface XSSchemaSetpublic XSAttGroupDecl getAttGroupDecl(String ns, String localName)
getAttGroupDecl in interface XSSchemaSetpublic XSComplexType getComplexType(String ns, String localName)
getComplexType in interface XSSchemaSetpublic XSIdentityConstraint getIdentityConstraint(String ns, String localName)
getIdentityConstraint in interface XSSchemaSetpublic Iterator<XSElementDecl> iterateElementDecls()
XSSchemaSetiterateElementDecls in interface XSSchemaSetpublic Iterator<XSType> iterateTypes()
XSSchemaSetiterateTypes in interface XSSchemaSetpublic Iterator<XSAttributeDecl> iterateAttributeDecls()
XSSchemaSetiterateAttributeDecls in interface XSSchemaSetpublic Iterator<XSAttGroupDecl> iterateAttGroupDecls()
XSSchemaSetiterateAttGroupDecls in interface XSSchemaSetpublic Iterator<XSModelGroupDecl> iterateModelGroupDecls()
XSSchemaSetiterateModelGroupDecls in interface XSSchemaSetpublic Iterator<XSSimpleType> iterateSimpleTypes()
XSSchemaSetiterateSimpleTypes in interface XSSchemaSetpublic Iterator<XSComplexType> iterateComplexTypes()
XSSchemaSetiterateComplexTypes in interface XSSchemaSetpublic Iterator<XSNotation> iterateNotations()
XSSchemaSetiterateNotations in interface XSSchemaSetpublic Iterator<XSIdentityConstraint> iterateIdentityConstraints()
XSSchemaSetiterateIdentityConstraints in interface XSSchemaSetpublic Collection<XSComponent> select(String scd, NamespaceContext nsContext)
XSSchemaSetselect in interface XSSchemaSetscd - Schema component designator. See SCD for more details.nsContext - The namespace context in which SCD is evaluated. Cannot be null.public XSComponent selectSingle(String scd, NamespaceContext nsContext)
XSSchemaSetselectSingle in interface XSSchemaSetscd - Schema component designator. See SCD for more details.nsContext - The namespace context in which SCD is evaluated. Cannot be null.public XSContentType getEmpty()
getEmpty in interface XSSchemaSetpublic XSSimpleType getAnySimpleType()
getAnySimpleType in interface XSSchemaSetpublic XSComplexType getAnyType()
getAnyType in interface XSSchemaSetCopyright © 2005–2017 Oracle Corporation. All rights reserved.