|
||||||||||
| 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<Schema,Type,Element,Attribute,Include,Import,Redefine>
org.ow2.easywsdl.schema.impl.SchemaImpl
public class SchemaImpl
| Field Summary |
|---|
| Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl |
|---|
documentation, model, parent |
| Constructor Summary | |
|---|---|
SchemaImpl()
|
|
SchemaImpl(java.net.URI documentURI,
Schema schema,
NamespaceMapperImpl namespaceMapper,
SchemaLocatorImpl schemaLocator,
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features,
java.util.Map<java.net.URI,AbsItfSchema> imports,
SchemaReaderImpl reader)
|
|
| Method Summary | |
|---|---|
void |
addAttribute(Attribute att)
|
void |
addElement(Element elmt)
|
void |
addImport(Import impt)
ImportImpl operation |
void |
addInclude(Include incl)
IncludeImpl operation |
void |
addRedefine(Redefine red)
RedefineImpl operation |
void |
addType(Type type)
|
Attribute |
createAttribute()
|
Type |
createComplexType()
|
Element |
createElement()
|
Import |
createImport()
Create an import to this parent. |
Include |
createInclude()
Create an include to this parent. |
Redefine |
createRedefine()
|
Type |
createSimpleType()
|
FormChoice |
getAttributeFormDefault()
|
java.util.List<java.lang.String> |
getBlockDefault()
|
FormChoice |
getElementFormDefault()
|
java.util.List<java.lang.String> |
getFinalDefault()
|
java.lang.String |
getLang()
|
java.lang.String |
getTargetNamespace()
|
java.lang.String |
getVersion()
|
void |
initialize()
|
Import |
removeImport(Import importDef)
Remove an import from this parent. |
Include |
removeInclude(Include includeDef)
Remove an include from this parent. |
Redefine |
removeRedefine(Redefine redefineDef)
|
void |
setAttributeFormDefault(FormChoice form)
|
void |
setElementFormDefault(FormChoice form)
|
void |
setTargetNamespace(java.lang.String tns)
|
| Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl |
|---|
addImportElementsInAllList, addIncludeElementsInAllList, addIncludeElementsInAllList, addRedefineElementsInAllList, findElementsInAllSchema, getAllNamespaces, getAttribute, getAttributes, getDocumentURI, getElement, getElements, getFeatures, getImports, getImports, getIncludes, getIncludes, getRedefines, getRedefines, getType, getTypes, setDocumentURI, setFeatures, 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 |
|---|
findElementsInAllSchema, getAllNamespaces, getAttribute, getAttributes, getDocumentURI, getElement, getElements, getImports, getImports, getIncludes, getIncludes, getRedefines, getRedefines, getType, getTypes, setDocumentURI |
| Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement |
|---|
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation |
| Constructor Detail |
|---|
public SchemaImpl(java.net.URI documentURI,
Schema schema,
NamespaceMapperImpl namespaceMapper,
SchemaLocatorImpl schemaLocator,
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features,
java.util.Map<java.net.URI,AbsItfSchema> imports,
SchemaReaderImpl reader)
throws SchemaException,
java.net.URISyntaxException
documentURI - schema - namespaceMapper - schemaLocator - features - imports - reader -
SchemaException
java.net.URISyntaxException - If a schemaLocation attribute of an import, include or
redefine is not a valid URI.
public SchemaImpl()
throws SchemaException
SchemaException| Method Detail |
|---|
public void initialize()
initialize in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>public java.lang.String getTargetNamespace()
getTargetNamespace in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public FormChoice getElementFormDefault()
getElementFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public FormChoice getAttributeFormDefault()
getAttributeFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public java.lang.String getLang()
getLang in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public java.lang.String getVersion()
getVersion in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public java.util.List<java.lang.String> getBlockDefault()
getBlockDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public java.util.List<java.lang.String> getFinalDefault()
getFinalDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public void addAttribute(Attribute att)
addAttribute in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>addAttribute in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>public void addImport(Import impt)
AbstractSchemaImpl
addImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>addImport in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>impt - the import to be added
public void addInclude(Include incl)
throws SchemaException
AbstractSchemaImpl
addInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>addInclude in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>incl - the include to be added
SchemaException - if an included element can't be retrievedpublic void addRedefine(Redefine red)
AbstractSchemaImpl
addRedefine in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>addRedefine in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>public void addElement(Element elmt)
addElement in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>addElement in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>public void addType(Type type)
addType in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>addType in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import,Redefine>public Import removeImport(Import importDef)
AbsItfSchema
removeImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>importDef - the import to be removed
public Include removeInclude(Include includeDef)
throws SchemaException
AbsItfSchema
removeInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>includeDef - the include to be removed
SchemaExceptionpublic Redefine removeRedefine(Redefine redefineDef)
removeRedefine in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public Attribute createAttribute()
createAttribute in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public Type createComplexType()
createComplexType in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public Element createElement()
createElement in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public Type createSimpleType()
createSimpleType in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public void setTargetNamespace(java.lang.String tns)
setTargetNamespace in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>
public Import createImport()
throws SchemaException
AbsItfSchema
createImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>SchemaException - if an imported element can't be retrieved
public Include createInclude()
throws SchemaException
AbsItfSchema
createInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>SchemaException - if an included element can't be retrieved
public Redefine createRedefine()
throws SchemaException
createRedefine in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>SchemaExceptionpublic void setAttributeFormDefault(FormChoice form)
setAttributeFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>public void setElementFormDefault(FormChoice form)
setElementFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import,Redefine>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||