|
||||||||||
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 |
---|
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
---|
documentation, model, parent |
Constructor Summary | |
---|---|
AbstractSchemaImpl()
|
|
AbstractSchemaImpl(java.lang.String baseURIString)
|
|
AbstractSchemaImpl(java.net.URI documentURI,
E schema,
NamespaceMapperImpl namespaceMapper,
SchemaLocatorImpl schemaLocator)
|
Method Summary | |
---|---|
void |
addAttribute(A elmt)
|
void |
addElement(El elmt)
|
void |
addImport(Impt impt)
ImportImpl operation |
void |
addImportElementsInAllList()
|
void |
addInclude(Incl incl)
IncludeImpl operation |
void |
addIncludeElementsInAllList()
|
void |
addType(T type)
|
java.util.List<El> |
findElementsInAllSchema(javax.xml.namespace.QName element)
|
NamespaceMapperImpl |
getAllNamespaces()
|
A |
getAttribute(javax.xml.namespace.QName element)
|
java.util.List<A> |
getAttributes()
|
java.net.URI |
getDocumentURI()
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.net.URI locationUri)
Get the list of includes for the specified locationURI. |
T |
getType(javax.xml.namespace.QName type)
|
java.util.List<T> |
getTypes()
|
void |
setDocumentURI(java.net.URI documentURI)
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, equals, getDocumentation, getModel, getOtherAttributes, getParent, getSchema, getTopParent, hashCode, setDocumentation, setParent |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, 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, setAttributeFormDefault, setElementFormDefault, setTargetNamespace |
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
---|
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation |
Constructor Detail |
---|
public AbstractSchemaImpl()
public AbstractSchemaImpl(java.net.URI documentURI, E schema, NamespaceMapperImpl namespaceMapper, SchemaLocatorImpl schemaLocator)
parent
- doc
- public AbstractSchemaImpl(java.lang.String baseURIString)
Method Detail |
---|
public void addImportElementsInAllList()
public 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
SchemaException
- if an included element can't be retrievedpublic 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.net.URI 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 java.util.List<El> findElementsInAllSchema(javax.xml.namespace.QName element)
findElementsInAllSchema
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 NamespaceMapperImpl 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 java.net.URI getDocumentURI()
getDocumentURI
in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>
public void setDocumentURI(java.net.URI documentURI)
AbsItfSchema
setDocumentURI
in interface AbsItfSchema<T extends AbsItfType,El extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>
documentURI
- the document base URI of this definitionpublic 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 |