public interface AbsItfSchema<T extends AbsItfType,E extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport,Red extends AbsItfRedefine> extends SchemaElement
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(A attr) |
void |
addElement(E elmt) |
void |
addImport(Impt importDef)
Add an import to this parent.
|
void |
addInclude(Incl includeDef)
Add an include to this parent.
|
void |
addRedefine(Red redDef) |
void |
addType(T absItfType) |
A |
createAttribute() |
T |
createComplexType() |
E |
createElement() |
Impt |
createImport()
Create an import to this parent.
|
Incl |
createInclude()
Create an include to this parent.
|
Red |
createRedefine() |
T |
createSimpleType() |
List<E> |
findElementsInAllSchema(QName element) |
NamespaceMapperImpl |
getAllNamespaces() |
A |
getAttribute(QName attr) |
FormChoice |
getAttributeFormDefault() |
List<A> |
getAttributes() |
List<String> |
getBlockDefault() |
URI |
getDocumentURI() |
E |
getElement(QName element) |
FormChoice |
getElementFormDefault() |
List<E> |
getElements() |
List<String> |
getFinalDefault() |
List<Impt> |
getImports()
Get a map of lists containing all the imports defined here.
|
List<Impt> |
getImports(String namespaceURI)
Get the list of imports for the specified namespaceURI.
|
List<Incl> |
getIncludes()
Get a map of lists containing all the includes defined here.
|
List<Incl> |
getIncludes(URI locationURI)
Get the list of includes for the specified locationURI.
|
String |
getLang() |
List<Red> |
getRedefines() |
List<Red> |
getRedefines(String namespaceURI) |
String |
getTargetNamespace() |
T |
getType(QName type) |
List<T> |
getTypes() |
String |
getVersion() |
Impt |
removeImport(Impt importDef)
Remove an import from this parent.
|
Incl |
removeInclude(Incl includeDef)
Remove an include from this parent.
|
Red |
removeRedefine(Red redDef) |
void |
setAttributeFormDefault(FormChoice form) |
void |
setDocumentURI(URI documentBaseURI)
Set the document base URI of this definition.
|
void |
setElementFormDefault(FormChoice form) |
void |
setTargetNamespace(String tns) |
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentationvoid addType(T absItfType)
T createComplexType()
T createSimpleType()
void addElement(E elmt)
E createElement()
void addAttribute(A attr)
A createAttribute()
String getTargetNamespace()
void setTargetNamespace(String tns)
NamespaceMapperImpl getAllNamespaces()
void addImport(Impt importDef)
importDef - the import to be addedImpt createImport() throws SchemaException
importDef - the import to be addedSchemaException - if an imported element can't be retrievedImpt removeImport(Impt importDef)
importDef - the import to be removedList<Impt> getImports(String namespaceURI)
namespaceURI - the namespaceURI associated with the desired imports.List<Impt> getImports()
void addInclude(Incl includeDef) throws SchemaException
includeDef - the include to be addedSchemaException - if an included element can't be retrievedIncl createInclude() throws SchemaException
includeDef - the include to be addedSchemaException - if an included element can't be retrievedIncl removeInclude(Incl includeDef) throws SchemaException
includeDef - the include to be removedSchemaExceptionList<Incl> getIncludes(URI locationURI) throws URISyntaxException
locationURI - the locationURI associated with the desired includes.URISyntaxException - The schemaLocation definition of an include of the schema is
invalid.List<Incl> getIncludes()
void setDocumentURI(URI documentBaseURI)
documentBaseURI - the document base URI of this definitionURI getDocumentURI()
FormChoice getElementFormDefault()
void setElementFormDefault(FormChoice form)
FormChoice getAttributeFormDefault()
void setAttributeFormDefault(FormChoice form)
String getLang()
String getVersion()
void addRedefine(Red redDef)
Red createRedefine() throws SchemaException
SchemaExceptionCopyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.