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
XSSchema s 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 XSSchemaSet
public XSSchema getSchema(String targetNamespace)
getSchema
in interface XSSchemaSet
public XSSchema getSchema(int idx)
getSchema
in interface XSSchemaSet
public Iterator<XSSchema> iterateSchema()
iterateSchema
in interface XSSchemaSet
public final Collection<XSSchema> getSchemas()
XSSchemaSet
XSSchema
s in a single collection.getSchemas
in interface XSSchemaSet
public XSType getType(String ns, String localName)
getType
in interface XSSchemaSet
public XSSimpleType getSimpleType(String ns, String localName)
getSimpleType
in interface XSSchemaSet
public XSElementDecl getElementDecl(String ns, String localName)
getElementDecl
in interface XSSchemaSet
public XSAttributeDecl getAttributeDecl(String ns, String localName)
getAttributeDecl
in interface XSSchemaSet
public XSModelGroupDecl getModelGroupDecl(String ns, String localName)
getModelGroupDecl
in interface XSSchemaSet
public XSAttGroupDecl getAttGroupDecl(String ns, String localName)
getAttGroupDecl
in interface XSSchemaSet
public XSComplexType getComplexType(String ns, String localName)
getComplexType
in interface XSSchemaSet
public XSIdentityConstraint getIdentityConstraint(String ns, String localName)
getIdentityConstraint
in interface XSSchemaSet
public Iterator<XSElementDecl> iterateElementDecls()
XSSchemaSet
iterateElementDecls
in interface XSSchemaSet
public Iterator<XSType> iterateTypes()
XSSchemaSet
iterateTypes
in interface XSSchemaSet
public Iterator<XSAttributeDecl> iterateAttributeDecls()
XSSchemaSet
iterateAttributeDecls
in interface XSSchemaSet
public Iterator<XSAttGroupDecl> iterateAttGroupDecls()
XSSchemaSet
iterateAttGroupDecls
in interface XSSchemaSet
public Iterator<XSModelGroupDecl> iterateModelGroupDecls()
XSSchemaSet
iterateModelGroupDecls
in interface XSSchemaSet
public Iterator<XSSimpleType> iterateSimpleTypes()
XSSchemaSet
iterateSimpleTypes
in interface XSSchemaSet
public Iterator<XSComplexType> iterateComplexTypes()
XSSchemaSet
iterateComplexTypes
in interface XSSchemaSet
public Iterator<XSNotation> iterateNotations()
XSSchemaSet
iterateNotations
in interface XSSchemaSet
public Iterator<XSIdentityConstraint> iterateIdentityConstraints()
XSSchemaSet
iterateIdentityConstraints
in interface XSSchemaSet
public Collection<XSComponent> select(String scd, NamespaceContext nsContext)
XSSchemaSet
select
in interface XSSchemaSet
scd
- 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)
XSSchemaSet
selectSingle
in interface XSSchemaSet
scd
- 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 XSSchemaSet
public XSSimpleType getAnySimpleType()
getAnySimpleType
in interface XSSchemaSet
public XSComplexType getAnyType()
getAnyType
in interface XSSchemaSet
Copyright © 2021 JBoss by Red Hat. All rights reserved.