|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is what you are probably most interested in: The logical XML Schema representation.
Method Summary | |
void |
add(XSAnnotation pAnnotation)
Adds a new annotation to the schema. |
void |
add(XSAttribute pAttribute)
Adds a new attribute to the schema. |
void |
add(XSAttributeGroup pGroup)
Adds a new attribute group to the schema. |
void |
add(XSElement pElement)
Adds a new element to the schema. |
void |
add(XSGroup pGroup)
Adds a new group to the schema. |
void |
add(XSNotation pNotation)
Adds a new notation to the schema. |
void |
add(XSType pType)
Adds a new type to the schema. |
XSAnnotation[] |
getAnnotations()
Returns the array of annotations. |
XSAttribute |
getAttribute(XsQName pName)
Returns the attribute with the given name. |
XSAttributeGroup |
getAttributeGroup(XsQName pName)
Returns the attribute group with the given name. |
XSAttributeGroup[] |
getAttributeGroups()
Returns the array of global attribute groups. |
XSAttribute[] |
getAttributes()
Returns the array of global attributes. |
XSType[] |
getBuiltinTypes()
Returns the array of builtin types. |
java.lang.Object[] |
getChilds()
Returns all the schema annotations, types, groups, attribute groups, elements, and attributes, in the order of declaration. |
XSContext |
getContext()
Returns the schemas context. |
XSElement |
getElement(XsQName pName)
Returns the element with the given name. |
XSElement[] |
getElements()
Returns the array of global elements. |
XSGroup |
getGroup(XsQName pName)
Returns the group with the given name. |
XSGroup[] |
getGroups()
Returns the array of global groups. |
XSType |
getType(XsQName pName)
Returns the type with the given name. |
XSType[] |
getTypes()
Returns the array of global types. |
XSObjectFactory |
getXSObjectFactory()
Returns the schemas object factory. |
void |
redefine(XSAttributeGroup pGroup)
Redefines an existing attribute group in the schema. |
void |
redefine(XSGroup pGroup)
Redefines an existing group in the schema. |
void |
redefine(XSType pType)
Redefines an existing type in the schema. |
Methods inherited from interface net.sf.jaxme.xs.XSObject |
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate |
Method Detail |
public XSObjectFactory getXSObjectFactory()
Returns the schemas object factory.
public XSContext getContext()
Returns the schemas context.
public XSAnnotation[] getAnnotations()
Returns the array of annotations.
public XSType[] getTypes()
Returns the array of global types. This includes simple and complex types. The builtin types are not included.
getType(XsQName)
public XSType[] getBuiltinTypes()
Returns the array of builtin types. This includes simple and complex types.
getTypes()
public XSType getType(XsQName pName)
Returns the type with the given name. This may be a builtin type or a type defined by the schema.
public XSGroup[] getGroups()
Returns the array of global groups.
public XSGroup getGroup(XsQName pName)
Returns the group with the given name.
public XSAttributeGroup[] getAttributeGroups()
Returns the array of global attribute groups.
public XSAttributeGroup getAttributeGroup(XsQName pName)
Returns the attribute group with the given name.
public XSElement[] getElements()
Returns the array of global elements.
public XSElement getElement(XsQName pName)
Returns the element with the given name.
public XSAttribute[] getAttributes()
Returns the array of global attributes.
public XSAttribute getAttribute(XsQName pName)
Returns the attribute with the given name.
public java.lang.Object[] getChilds()
Returns all the schema annotations, types, groups, attribute groups, elements, and attributes, in the order of declaration.
public void add(XSAnnotation pAnnotation)
Adds a new annotation to the schema.
public void add(XSType pType) throws org.xml.sax.SAXException
Adds a new type to the schema.
org.xml.sax.SAXException
public void redefine(XSType pType) throws org.xml.sax.SAXException
Redefines an existing type in the schema.
org.xml.sax.SAXException
public void add(XSGroup pGroup) throws org.xml.sax.SAXException
Adds a new group to the schema.
org.xml.sax.SAXException
public void redefine(XSGroup pGroup) throws org.xml.sax.SAXException
Redefines an existing group in the schema.
org.xml.sax.SAXException
public void add(XSAttributeGroup pGroup) throws org.xml.sax.SAXException
Adds a new attribute group to the schema.
org.xml.sax.SAXException
public void redefine(XSAttributeGroup pGroup) throws org.xml.sax.SAXException
Redefines an existing attribute group in the schema.
org.xml.sax.SAXException
public void add(XSAttribute pAttribute) throws org.xml.sax.SAXException
Adds a new attribute to the schema.
org.xml.sax.SAXException
public void add(XSElement pElement) throws org.xml.sax.SAXException
Adds a new element to the schema.
org.xml.sax.SAXException
public void add(XSNotation pNotation)
Adds a new notation to the schema.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |