|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.saxonica.schema.SuperSchema
A class representing the collection of all known schema components, aggregated across all namespaces
| Constructor Summary | |
SuperSchema()
|
|
| Method Summary | |
void |
addAttributeDecl(AttributeDecl attribute)
Adds the given attribute definition to this Schema. |
void |
addAttributeGroup(AttributeGroupDecl group)
Adds the given attribute group to the SuperSchema. |
void |
addElementDecl(ElementDecl element)
Adds the given element declaration to the SuperSchema. |
void |
addGroup(Group group)
Adds the given group to the SuperSchema. |
void |
addIdentityConstraint(IdentityConstraint constraint)
Adds the given identity constraint to the SuperSchema. |
void |
addSchemaType(SchemaType type)
Adds the given schema type to the SuperSchema. |
AttributeDecl |
getAttributeDecl(int fingerprint)
Get the top-level attribute declaration with a given fingerprint. |
AttributeGroupDecl |
getAttributeGroup(int fingerprint)
Get the top-level attribute group with a given fingerprint. |
ElementDecl |
getElementDecl(int fingerprint)
Get the top-level element declaration with a given fingerprint. |
Group |
getGroup(int fingerprint)
Get the top-level group with a given fingerprint. |
IdentityConstraint |
getIdentityConstraint(int fingerprint)
Get the identity constraint with a given fingerprint. |
SchemaType |
getSchemaType(int fingerprint)
Get the top-level schema type with a given fingerprint. |
void |
removeAttributeDecl(AttributeDecl attribute)
Remove an attribute declaration from the superschema if it is present |
void |
removeAttributeGroup(AttributeGroup group)
Remove an attribute group from the superschema if it is present |
void |
removeElementDecl(ElementDecl element)
Remove an element declaration from the superschema if it is present |
void |
removeGroup(Group group)
Remove a group from the superschema if it is present |
void |
removeIdentityConstraint(IdentityConstraint constraint)
Remove an identity constraint from the superschema if it is present |
void |
removeSchemaType(SchemaType schemaType)
Remove a schema type from the superschema if it is present |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SuperSchema()
| Method Detail |
public AttributeDecl getAttributeDecl(int fingerprint)
fingerprint - the fingerprint of the attribute declaration
public void addAttributeDecl(AttributeDecl attribute)
attribute - the AttributeDecl to addpublic void removeAttributeDecl(AttributeDecl attribute)
attribute - the attribute declaration to be removedpublic AttributeGroupDecl getAttributeGroup(int fingerprint)
fingerprint - the fingerprint of the attribute group
public void addAttributeGroup(AttributeGroupDecl group)
group - the AttributeGroup to addpublic void removeAttributeGroup(AttributeGroup group)
group - the attribute group to be removedpublic ElementDecl getElementDecl(int fingerprint)
fingerprint - the fingerprint of the element declaration
public void addElementDecl(ElementDecl element)
element - the ElementDecl to addpublic void removeElementDecl(ElementDecl element)
element - the element declaration to be removedpublic Group getGroup(int fingerprint)
fingerprint - the fingerprint of the group
public void addGroup(Group group)
group - the Group to addpublic void removeGroup(Group group)
group - the group to be removedpublic SchemaType getSchemaType(int fingerprint)
fingerprint - the fingerprint of the schema type
public void addSchemaType(SchemaType type)
type - the simple or complex type to addpublic void removeSchemaType(SchemaType schemaType)
schemaType - the schema type to be removedpublic IdentityConstraint getIdentityConstraint(int fingerprint)
fingerprint - the fingerprint of the IdentityConstraint
public void addIdentityConstraint(IdentityConstraint constraint)
constraint - the identity constraint to addpublic void removeIdentityConstraint(IdentityConstraint constraint)
constraint - the schema type to be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||