|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement<E>
com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchema<E>
public abstract class AbstractSchema<E>
| Field Summary | |
|---|---|
java.util.List<Attribute> |
attributes
the list of attributes |
protected java.net.URI |
baseURI
the baseUri |
protected org.jdom.Document |
document
the jdom document |
java.util.List<Element> |
elements
the list of elements |
protected java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> |
features
Features |
protected java.util.List<Import> |
imports
list of imports |
protected java.util.List<Include> |
includes
list of includes |
protected javax.xml.namespace.NamespaceContext |
namespaceContext
the namespace context |
protected java.util.Map<java.lang.String,java.lang.String> |
schemaLocations
schema location |
java.util.List<Type> |
types
the list of types |
| Fields inherited from class com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement |
|---|
documentation, model |
| Constructor Summary | |
|---|---|
AbstractSchema(java.net.URI baseURI,
Schema schema,
org.jdom.Document doc)
|
|
| Method Summary | |
|---|---|
void |
addAttribute(Attribute elmt)
|
void |
addElement(Element elmt)
|
void |
addImport(Import impt)
Import operation |
protected void |
addImportElementsInAllList()
|
void |
addInclude(Include incl)
Include operation |
protected void |
addIncludeElementsInAllList()
|
void |
addType(Type type)
|
javax.xml.namespace.NamespaceContext |
getAllNamespaces()
|
Attribute |
getAttribute(javax.xml.namespace.QName element)
|
java.util.List<Attribute> |
getAttributes()
|
org.jdom.Document |
getDocument()
|
java.net.URI |
getDocumentBaseURI()
methods for baseURI |
Element |
getElement(javax.xml.namespace.QName element)
|
java.util.List<Element> |
getElements()
|
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> |
getFeatures()
|
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 |
Type |
getType(javax.xml.namespace.QName type)
|
java.util.List<Type> |
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 com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement |
|---|
createDocumentation, getDocumentation, getModel, setDocumentation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ebmwebsourcing.commons.schema.api.Schema |
|---|
getTargetNamespace, removeImport, removeInclude |
| Methods inherited from interface com.ebmwebsourcing.commons.schema.api.SchemaElement |
|---|
createDocumentation, getDocumentation, 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<Import> imports
protected java.util.List<Include> includes
public java.util.List<Type> types
public java.util.List<Element> elements
public java.util.List<Attribute> attributes
protected java.net.URI baseURI
protected java.util.Map<java.lang.String,java.lang.String> schemaLocations
| Constructor Detail |
|---|
public AbstractSchema(java.net.URI baseURI,
Schema schema,
org.jdom.Document doc)
schema - doc - | Method Detail |
|---|
protected void addImportElementsInAllList()
protected void addIncludeElementsInAllList()
public void addImport(Import impt)
addImport in interface Schemaimpt - the import to be addedpublic java.util.List<Import> getImports()
Schema
getImports in interface Schemapublic java.util.List<Import> getImports(java.lang.String namespaceUri)
Schema
getImports in interface SchemanamespaceUri - the namespaceURI associated with the
desired imports.
public void addInclude(Include incl)
throws SchemaException
addInclude in interface Schemaincl - the include to be added
WSDLException
SchemaExceptionpublic java.util.List<Include> getIncludes()
Schema
getIncludes in interface Schemapublic java.util.List<Include> getIncludes(java.lang.String locationUri)
Schema
getIncludes in interface SchemalocationUri - the locationURI associated with the
desired includes.
public java.util.List<Type> getTypes()
getTypes in interface Schemapublic Type getType(javax.xml.namespace.QName type)
getType in interface Schemapublic void addType(Type type)
addType in interface Schemapublic java.util.List<Attribute> getAttributes()
getAttributes in interface Schemapublic Attribute getAttribute(javax.xml.namespace.QName element)
getAttribute in interface Schemapublic void addAttribute(Attribute elmt)
addAttribute in interface Schemapublic java.util.List<Element> getElements()
getElements in interface Schemapublic Element getElement(javax.xml.namespace.QName element)
getElement in interface Schemapublic void addElement(Element elmt)
addElement in interface Schemapublic javax.xml.namespace.NamespaceContext getAllNamespaces()
getAllNamespaces in interface Schemapublic 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 Schemapublic void setDocumentBaseURI(java.net.URI documentBaseURI)
Schema
setDocumentBaseURI in interface SchemadocumentBaseURI - the document base URI of this definitionpublic java.util.Map<java.lang.String,java.lang.String> getSchemaLocation()
Schema
getSchemaLocation in interface Schemapublic 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 | |||||||||