|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbsItfSchema<T extends AbsItfType,E extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>
Method Summary | |
---|---|
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 |
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. |
T |
createSimpleType()
|
java.util.List<E> |
findElementsInAllSchema(javax.xml.namespace.QName element)
|
NamespaceMapperImpl |
getAllNamespaces()
|
A |
getAttribute(javax.xml.namespace.QName attr)
|
FormChoice |
getAttributeFormDefault()
|
java.util.List<A> |
getAttributes()
|
java.util.List<java.lang.String> |
getBlockDefault()
|
java.net.URI |
getDocumentURI()
|
E |
getElement(javax.xml.namespace.QName element)
|
FormChoice |
getElementFormDefault()
|
java.util.List<E> |
getElements()
|
java.util.List<java.lang.String> |
getFinalDefault()
|
java.util.List<Impt> |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List<Impt> |
getImports(java.lang.String namespaceURI)
Get the list of imports for the specified namespaceURI. |
java.util.List<Incl> |
getIncludes()
Get a map of lists containing all the includes defined here. |
java.util.List<Incl> |
getIncludes(java.net.URI locationURI)
Get the list of includes for the specified locationURI. |
java.lang.String |
getLang()
|
java.lang.String |
getTargetNamespace()
|
T |
getType(javax.xml.namespace.QName type)
|
java.util.List<T> |
getTypes()
|
java.lang.String |
getVersion()
|
Impt |
removeImport(Impt importDef)
Remove an import from this parent. |
Incl |
removeInclude(Incl includeDef)
Remove an include from this parent. |
void |
setAttributeFormDefault(FormChoice form)
|
void |
setDocumentURI(java.net.URI documentBaseURI)
Set the document base URI of this definition. |
void |
setElementFormDefault(FormChoice form)
|
void |
setTargetNamespace(java.lang.String tns)
|
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
---|
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
Method Detail |
---|
java.util.List<T> getTypes()
void addType(T absItfType)
T getType(javax.xml.namespace.QName type)
T createComplexType()
T createSimpleType()
java.util.List<E> getElements()
void addElement(E elmt)
E getElement(javax.xml.namespace.QName element)
E createElement()
java.util.List<E> findElementsInAllSchema(javax.xml.namespace.QName element)
java.util.List<A> getAttributes()
void addAttribute(A attr)
A getAttribute(javax.xml.namespace.QName attr)
A createAttribute()
java.lang.String getTargetNamespace()
void setTargetNamespace(java.lang.String tns)
NamespaceMapperImpl getAllNamespaces()
void addImport(Impt importDef)
importDef
- the import to be addedImpt createImport() throws SchemaException
importDef
- the import to be added
SchemaException
- if an imported element can't be retrievedImpt removeImport(Impt importDef)
importDef
- the import to be removed
java.util.List<Impt> getImports(java.lang.String namespaceURI)
namespaceURI
- the namespaceURI associated with the desired imports.
java.util.List<Impt> getImports()
void addInclude(Incl includeDef) throws SchemaException
includeDef
- the include to be added
SchemaException
- if an included element can't be retrievedIncl createInclude() throws SchemaException
includeDef
- the include to be added
SchemaException
- if an included element can't be retrievedIncl removeInclude(Incl includeDef) throws SchemaException
includeDef
- the include to be removed
SchemaException
java.util.List<Incl> getIncludes(java.net.URI locationURI) throws java.net.URISyntaxException
locationURI
- the locationURI associated with the desired includes.
java.net.URISyntaxException
- The schemaLocation definition of an include of the schema is
invalid.java.util.List<Incl> getIncludes()
void setDocumentURI(java.net.URI documentBaseURI)
documentBaseURI
- the document base URI of this definitionjava.net.URI getDocumentURI()
FormChoice getElementFormDefault()
void setElementFormDefault(FormChoice form)
FormChoice getAttributeFormDefault()
void setAttributeFormDefault(FormChoice form)
java.lang.String getLang()
java.lang.String getVersion()
java.util.List<java.lang.String> getBlockDefault()
java.util.List<java.lang.String> getFinalDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |