|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl<E,T,El,A,Incl,Impt>
public abstract class AbstractSchemaImpl<E,T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>
| Field Summary | |
|---|---|
java.util.List<A> |
attributes
the list of attributes |
protected java.net.URI |
baseURI
the baseUri |
protected org.jdom.Document |
document
the jdom document |
java.util.List<El> |
elements
the list of elements |
protected java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> |
features
Features |
protected java.util.List<Impt> |
imports
list of imports |
protected java.util.List<Incl> |
includes
list of includes |
protected javax.xml.namespace.NamespaceContext |
namespaceContext
the namespace context |
protected java.util.Map<java.lang.String,java.lang.String> |
schemaLocations
parent location |
java.util.List<T> |
types
the list of types |
| Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
documentation, model, parent |
| Constructor Summary | |
|---|---|
AbstractSchemaImpl()
|
|
AbstractSchemaImpl(java.net.URI baseURI,
E schema,
org.jdom.Document doc)
|
|
| Method Summary | |
|---|---|
void |
addAttribute(A elmt)
|
void |
addElement(El elmt)
|
void |
addImport(Impt impt)
ImportImpl operation |
protected void |
addImportElementsInAllList()
|
void |
addInclude(Incl incl)
IncludeImpl operation |
protected void |
addIncludeElementsInAllList()
|
void |
addType(T type)
|
javax.xml.namespace.NamespaceContext |
getAllNamespaces()
|
A |
getAttribute(javax.xml.namespace.QName element)
|
java.util.List<A> |
getAttributes()
|
org.jdom.Document |
getDocument()
|
java.net.URI |
getDocumentBaseURI()
methods for baseURI |
El |
getElement(javax.xml.namespace.QName element)
|
java.util.List<El> |
getElements()
|
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> |
getFeatures()
|
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.lang.String locationUri)
Get the list of includes for the specified locationURI. |
java.util.Map<java.lang.String,java.lang.String> |
getSchemaLocation()
get the parent location |
T |
getType(javax.xml.namespace.QName type)
|
java.util.List<T> |
getTypes()
|
void |
setDocumentBaseURI(java.net.URI documentBaseURI)
Set the document base URI of this definition. |
void |
setFeatures(java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
|
java.lang.String |
toString()
|
| Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
createDocumentation, getDocumentation, getModel, getOtherAttributes, getParent, getSchema, getTopParent, setDocumentation, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfSchema |
|---|
createAttribute, createComplexType, createElement, createImport, createInclude, createSimpleType, getAttributeFormDefault, getBlockDefault, getElementFormDefault, getFinalDefault, getLang, getTargetNamespace, getVersion, removeImport, removeInclude, setTargetNamespace |
| Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
|---|
createDocumentation, getDocumentation, getOtherAttributes, setDocumentation |
| Field Detail |
|---|
protected java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features
protected org.jdom.Document document
protected javax.xml.namespace.NamespaceContext namespaceContext
protected java.util.List<Impt extends AbsItfImport> imports
protected java.util.List<Incl extends AbsItfInclude> includes
public java.util.List<T extends AbsItfType> types
public java.util.List<El extends AbsItfElement> elements
public java.util.List<A extends AbsItfAttribute> attributes
protected java.net.URI baseURI
protected java.util.Map<java.lang.String,java.lang.String> schemaLocations
| Constructor Detail |
|---|
public AbstractSchemaImpl()
public AbstractSchemaImpl(java.net.URI baseURI,
E schema,
org.jdom.Document doc)
parent - doc - | Method Detail |
|---|
protected void addImportElementsInAllList()
protected void addIncludeElementsInAllList()
public void addImport(Impt impt)
addImport in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>impt - the import to be addedpublic java.util.List<Impt> getImports()
AbsItfSchema
getImports in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public java.util.List<Impt> getImports(java.lang.String namespaceUri)
AbsItfSchema
getImports in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>namespaceUri - the namespaceURI associated with the desired imports.
public void addInclude(Incl incl)
throws SchemaException
addInclude in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>incl - the include to be added
WSDLException
SchemaExceptionpublic java.util.List<Incl> getIncludes()
AbsItfSchema
getIncludes in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public java.util.List<Incl> getIncludes(java.lang.String locationUri)
AbsItfSchema
getIncludes in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>locationUri - the locationURI associated with the desired includes.
public java.util.List<T> getTypes()
getTypes in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public T getType(javax.xml.namespace.QName type)
getType in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public void addType(T type)
addType in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public java.util.List<A> getAttributes()
getAttributes in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public A getAttribute(javax.xml.namespace.QName element)
getAttribute in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public void addAttribute(A elmt)
addAttribute in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public java.util.List<El> getElements()
getElements in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public El getElement(javax.xml.namespace.QName element)
getElement in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public void addElement(El elmt)
addElement in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public javax.xml.namespace.NamespaceContext getAllNamespaces()
getAllNamespaces in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> getFeatures()
public void setFeatures(java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
features - the features to setpublic org.jdom.Document getDocument()
public java.net.URI getDocumentBaseURI()
getDocumentBaseURI in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public void setDocumentBaseURI(java.net.URI documentBaseURI)
AbsItfSchema
setDocumentBaseURI in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>documentBaseURI - the document base URI of this definitionpublic java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
AbsItfSchema
getSchemaLocation in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||