|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.xsom.impl.SchemaSetImpl
public class SchemaSetImpl
| Field Summary | |
|---|---|
com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleType |
anySimpleType
|
com.sun.xml.xsom.impl.SchemaSetImpl.AnyType |
anyType
|
EmptyImpl |
empty
|
| Constructor Summary | |
|---|---|
SchemaSetImpl()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final EmptyImpl empty
public final com.sun.xml.xsom.impl.SchemaSetImpl.AnySimpleType anySimpleType
public final com.sun.xml.xsom.impl.SchemaSetImpl.AnyType anyType
| Constructor Detail |
|---|
public SchemaSetImpl()
| Method Detail |
|---|
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 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 XSSchemaSetpublic Iterator<XSElementDecl> iterateElementDecls()
XSSchemaSet
iterateElementDecls in interface XSSchemaSetpublic Iterator<XSType> iterateTypes()
XSSchemaSet
iterateTypes in interface XSSchemaSetpublic Iterator<XSAttributeDecl> iterateAttributeDecls()
XSSchemaSet
iterateAttributeDecls in interface XSSchemaSetpublic Iterator<XSAttGroupDecl> iterateAttGroupDecls()
XSSchemaSet
iterateAttGroupDecls in interface XSSchemaSetpublic Iterator<XSModelGroupDecl> iterateModelGroupDecls()
XSSchemaSet
iterateModelGroupDecls in interface XSSchemaSetpublic Iterator<XSSimpleType> iterateSimpleTypes()
XSSchemaSet
iterateSimpleTypes in interface XSSchemaSetpublic Iterator<XSComplexType> iterateComplexTypes()
XSSchemaSet
iterateComplexTypes in interface XSSchemaSetpublic Iterator<XSNotation> iterateNotations()
XSSchemaSet
iterateNotations in interface XSSchemaSetpublic Iterator<XSIdentityConstraint> iterateIdentityConstraints()
XSSchemaSet
iterateIdentityConstraints in interface XSSchemaSet
public Collection<XSComponent> select(String scd,
NamespaceContext nsContext)
XSSchemaSet
select 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)
XSSchemaSet
selectSingle 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 XSSchemaSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||