|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easywsdl.schema.DefaultSchemaImpl
public final class DefaultSchemaImpl
| Method Summary | |
|---|---|
void |
addAttribute(AbsItfAttribute attr)
|
void |
addElement(AbsItfElement elmt)
|
void |
addImport(AbsItfImport importDef)
Add an import to this parent. |
void |
addInclude(AbsItfInclude includeDef)
Add an include to this parent. |
void |
addType(AbsItfType absItfType)
|
AbsItfAttribute |
createAttribute()
|
AbsItfType |
createComplexType()
|
Documentation |
createDocumentation()
Create the documentation element. |
AbsItfElement |
createElement()
|
AbsItfImport |
createImport()
Create an import to this parent. |
AbsItfInclude |
createInclude()
Create an include to this parent. |
AbsItfType |
createSimpleType()
|
java.util.List<AbsItfElement> |
findElementsInAllSchema(javax.xml.namespace.QName element)
|
NamespaceMapperImpl |
getAllNamespaces()
|
AbsItfAttribute |
getAttribute(javax.xml.namespace.QName attr)
|
FormChoice |
getAttributeFormDefault()
|
java.util.List<AbsItfAttribute> |
getAttributes()
|
java.util.List<java.lang.String> |
getBlockDefault()
|
Documentation |
getDocumentation()
Get the documentation element. |
java.net.URI |
getDocumentURI()
|
AbsItfElement |
getElement(javax.xml.namespace.QName element)
|
FormChoice |
getElementFormDefault()
|
java.util.List<AbsItfElement> |
getElements()
|
java.util.List<java.lang.String> |
getFinalDefault()
|
java.util.List<AbsItfImport> |
getImports()
Get a map of lists containing all the imports defined here. |
java.util.List<AbsItfImport> |
getImports(java.lang.String namespaceURI)
Get the list of imports for the specified namespaceURI. |
java.util.List<AbsItfInclude> |
getIncludes()
Get a map of lists containing all the includes defined here. |
java.util.List<AbsItfInclude> |
getIncludes(java.net.URI locationURI)
Get the list of includes for the specified locationURI. |
static DefaultSchema |
getInstance()
|
java.lang.String |
getLang()
|
java.util.Map<javax.xml.namespace.QName,java.lang.String> |
getOtherAttributes()
Get the map containing all the attributes defined on this element. |
java.lang.String |
getTargetNamespace()
|
Type |
getType(javax.xml.namespace.QName type)
|
Type |
getTypeBoolean()
|
Type |
getTypeDateTime()
|
Type |
getTypeDouble()
|
Type |
getTypeDuration()
|
Type |
getTypeFloat()
|
Type |
getTypeInt()
|
Type |
getTypeInteger()
|
Type |
getTypeLong()
|
java.util.List<Type> |
getTypes()
|
Type |
getTypeShort()
|
Type |
getTypeString()
|
java.lang.String |
getVersion()
|
AbsItfImport |
removeImport(AbsItfImport importDef)
Remove an import from this parent. |
AbsItfInclude |
removeInclude(AbsItfInclude includeDef)
Remove an include from this parent. |
void |
setAttributeFormDefault(FormChoice form)
|
void |
setDocumentation(Documentation doc)
Set the documentation element for this document. |
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
|---|
equals, hashCode |
| Method Detail |
|---|
public static DefaultSchema getInstance()
public Type getTypeInt()
getTypeInt in interface DefaultSchemapublic Type getTypeString()
getTypeString in interface DefaultSchemapublic Type getTypeDateTime()
getTypeDateTime in interface DefaultSchemapublic Type getTypeBoolean()
getTypeBoolean in interface DefaultSchemapublic java.util.List<Type> getTypes()
getTypes in interface AbsItfSchemagetTypes in interface DefaultSchemapublic Type getType(javax.xml.namespace.QName type)
getType in interface AbsItfSchemagetType in interface DefaultSchemapublic Type getTypeDouble()
getTypeDouble in interface DefaultSchemapublic Type getTypeDuration()
getTypeDuration in interface DefaultSchemapublic Type getTypeFloat()
getTypeFloat in interface DefaultSchemapublic Type getTypeInteger()
getTypeInteger in interface DefaultSchemapublic Type getTypeLong()
getTypeLong in interface DefaultSchemapublic Type getTypeShort()
getTypeShort in interface DefaultSchemapublic void addAttribute(AbsItfAttribute attr)
addAttribute in interface AbsItfSchemapublic void addElement(AbsItfElement elmt)
addElement in interface AbsItfSchemapublic void addImport(AbsItfImport importDef)
AbsItfSchema
addImport in interface AbsItfSchemaimportDef - the import to be added
public void addInclude(AbsItfInclude includeDef)
throws SchemaException
AbsItfSchema
addInclude in interface AbsItfSchemaincludeDef - the include to be added
SchemaException - if an included element can't be retrievedpublic void addType(AbsItfType absItfType)
addType in interface AbsItfSchemapublic AbsItfAttribute createAttribute()
createAttribute in interface AbsItfSchemapublic AbsItfType createComplexType()
createComplexType in interface AbsItfSchemapublic AbsItfElement createElement()
createElement in interface AbsItfSchema
public AbsItfImport createImport()
throws SchemaException
AbsItfSchema
createImport in interface AbsItfSchemaSchemaException - if an imported element can't be retrieved
public AbsItfInclude createInclude()
throws SchemaException
AbsItfSchema
createInclude in interface AbsItfSchemaSchemaException - if an included element can't be retrievedpublic AbsItfType createSimpleType()
createSimpleType in interface AbsItfSchemapublic java.util.List<AbsItfElement> findElementsInAllSchema(javax.xml.namespace.QName element)
findElementsInAllSchema in interface AbsItfSchemapublic NamespaceMapperImpl getAllNamespaces()
getAllNamespaces in interface AbsItfSchemapublic AbsItfAttribute getAttribute(javax.xml.namespace.QName attr)
getAttribute in interface AbsItfSchemapublic java.util.List<AbsItfAttribute> getAttributes()
getAttributes in interface AbsItfSchemapublic java.util.List<java.lang.String> getBlockDefault()
getBlockDefault in interface AbsItfSchemapublic java.net.URI getDocumentURI()
getDocumentURI in interface AbsItfSchemapublic AbsItfElement getElement(javax.xml.namespace.QName element)
getElement in interface AbsItfSchemapublic java.util.List<AbsItfElement> getElements()
getElements in interface AbsItfSchemapublic java.util.List<java.lang.String> getFinalDefault()
getFinalDefault in interface AbsItfSchemapublic java.util.List<AbsItfImport> getImports(java.lang.String namespaceURI)
AbsItfSchema
getImports in interface AbsItfSchemanamespaceURI - the namespaceURI associated with the desired imports.
public java.util.List<AbsItfImport> getImports()
AbsItfSchema
getImports in interface AbsItfSchema
public java.util.List<AbsItfInclude> getIncludes(java.net.URI locationURI)
throws java.net.URISyntaxException
AbsItfSchema
getIncludes in interface AbsItfSchemalocationURI - the locationURI associated with the desired includes.
java.net.URISyntaxException - The schemaLocation definition of an include of the schema is
invalid.public java.util.List<AbsItfInclude> getIncludes()
AbsItfSchema
getIncludes in interface AbsItfSchemapublic java.lang.String getLang()
getLang in interface AbsItfSchemapublic java.lang.String getTargetNamespace()
getTargetNamespace in interface AbsItfSchemapublic java.lang.String getVersion()
getVersion in interface AbsItfSchemapublic AbsItfImport removeImport(AbsItfImport importDef)
AbsItfSchema
removeImport in interface AbsItfSchemaimportDef - the import to be removed
public AbsItfInclude removeInclude(AbsItfInclude includeDef)
throws SchemaException
AbsItfSchema
removeInclude in interface AbsItfSchemaincludeDef - the include to be removed
SchemaExceptionpublic void setDocumentURI(java.net.URI documentBaseURI)
AbsItfSchema
setDocumentURI in interface AbsItfSchemadocumentBaseURI - the document base URI of this definitionpublic void setTargetNamespace(java.lang.String tns)
setTargetNamespace in interface AbsItfSchema
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()
throws XmlException
SchemaElement
getOtherAttributes in interface SchemaElementXmlExceptionpublic void setDocumentation(Documentation doc)
SchemaElement
setDocumentation in interface SchemaElementpublic FormChoice getAttributeFormDefault()
getAttributeFormDefault in interface AbsItfSchemapublic FormChoice getElementFormDefault()
getElementFormDefault in interface AbsItfSchemapublic void setAttributeFormDefault(FormChoice form)
setAttributeFormDefault in interface AbsItfSchemapublic void setElementFormDefault(FormChoice form)
setElementFormDefault in interface AbsItfSchemapublic Documentation createDocumentation()
SchemaElement
createDocumentation in interface SchemaElementpublic Documentation getDocumentation()
SchemaElement
getDocumentation in interface SchemaElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||