|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Schema
| Method Summary | |
|---|---|
void |
addAttribute(Attribute attr)
|
void |
addElement(Element elmt)
|
void |
addImport(Import importDef)
Add an import to this schema. |
void |
addInclude(Include includeDef)
Add an include to this schema. |
void |
addType(Type type)
|
javax.xml.namespace.NamespaceContext |
getAllNamespaces()
|
Attribute |
getAttribute(javax.xml.namespace.QName attr)
|
java.util.List<Attribute> |
getAttributes()
|
java.net.URI |
getDocumentBaseURI()
Get the document base URI of this definition. |
Element |
getElement(javax.xml.namespace.QName element)
|
java.util.List<Element> |
getElements()
|
java.util.List<Import> |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List<Import> |
getImports(java.lang.String namespaceURI)
Get the list of imports for the specified namespaceURI. |
java.util.List<Include> |
getIncludes()
Get a map of lists containing all the includes defined here. |
java.util.List<Include> |
getIncludes(java.lang.String locationURI)
Get the list of includes for the specified locationURI. |
java.util.Map<java.lang.String,java.lang.String> |
getSchemaLocation()
get the schema location |
java.lang.String |
getTargetNamespace()
|
Type |
getType(javax.xml.namespace.QName type)
|
java.util.List<Type> |
getTypes()
|
Import |
removeImport(Import importDef)
Remove an import from this schema. |
Include |
removeInclude(Include includeDef)
Remove an include from this schema. |
void |
setDocumentBaseURI(java.net.URI documentBaseURI)
Set the document base URI of this definition. |
| Methods inherited from interface com.ebmwebsourcing.commons.schema.api.SchemaElement |
|---|
createDocumentation, getDocumentation, setDocumentation |
| Method Detail |
|---|
java.util.List<Type> getTypes()
void addType(Type type)
Type getType(javax.xml.namespace.QName type)
java.util.List<Element> getElements()
void addElement(Element elmt)
Element getElement(javax.xml.namespace.QName element)
java.util.List<Attribute> getAttributes()
void addAttribute(Attribute attr)
Attribute getAttribute(javax.xml.namespace.QName attr)
java.lang.String getTargetNamespace()
javax.xml.namespace.NamespaceContext getAllNamespaces()
void addImport(Import importDef)
importDef - the import to be addedImport removeImport(Import importDef)
importDef - the import to be removed
java.util.List<Import> getImports(java.lang.String namespaceURI)
namespaceURI - the namespaceURI associated with the
desired imports.
java.util.List<Import> getImports()
void addInclude(Include includeDef)
throws SchemaException
includeDef - the include to be added
SchemaException
Include removeInclude(Include includeDef)
throws SchemaException
includeDef - the include to be removed
SchemaExceptionjava.util.List<Include> getIncludes(java.lang.String locationURI)
locationURI - the locationURI associated with the
desired includes.
java.util.List<Include> getIncludes()
void setDocumentBaseURI(java.net.URI documentBaseURI)
documentBaseURI - the document base URI of this definitionjava.net.URI getDocumentBaseURI()
java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||