org.ow2.easywsdl.schema.decorator
Class DecoratorSchemaImpl<T extends AbsItfType,E extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
      extended by org.ow2.easywsdl.schema.decorator.Decorator<AbsItfSchema<T,E,A,Incl,Impt>>
          extended by org.ow2.easywsdl.schema.decorator.DecoratorSchemaImpl<T,E,A,Incl,Impt>
All Implemented Interfaces:
java.io.Serializable, SchemaElement

public abstract class DecoratorSchemaImpl<T extends AbsItfType,E extends AbsItfElement,A extends AbsItfAttribute,Incl extends AbsItfInclude,Impt extends AbsItfImport>
extends Decorator<AbsItfSchema<T,E,A,Incl,Impt>>

Author:
Nicolas Salatge - eBM WebSourcing
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.ow2.easywsdl.schema.decorator.Decorator
internalObject
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
 
Constructor Summary
DecoratorSchemaImpl(AbsItfSchema<T,E,A,Incl,Impt> schema)
           
 
Method Summary
 void addAttribute(A attr)
           
 void addElement(E elmt)
           
 void addImport(Impt importDef)
           
 void addInclude(Incl includeDef)
           
 void addType(T absItfType)
           
 A createAttribute()
           
 T createComplexType()
           
 E createElement()
           
 Impt createImport()
           
 Incl createInclude()
           
 T createSimpleType()
           
 java.util.List<E> findElementsInAllSchema(javax.xml.namespace.QName element)
           
 NamespaceMapperImpl getAllNamespaces()
           
 A getAttribute(javax.xml.namespace.QName attr)
           
 FormChoice getAttributeFormDefault()
           
 java.util.List<A> getAttributes()
           
 java.util.List<java.lang.String> getBlockDefault()
           
 java.net.URI getDocumentURI()
           
 E getElement(javax.xml.namespace.QName element)
           
 FormChoice getElementFormDefault()
           
 java.util.List<E> getElements()
           
 java.util.List<java.lang.String> getFinalDefault()
           
 java.util.List<Impt> getImports()
           
 java.util.List<Impt> getImports(java.lang.String namespaceURI)
           
 java.util.List<Incl> getIncludes()
           
 java.util.List<Incl> getIncludes(java.net.URI locationURI)
           
 java.lang.String getLang()
           
 java.lang.String getTargetNamespace()
           
 T getType(javax.xml.namespace.QName type)
           
 java.util.List<T> getTypes()
           
 java.lang.String getVersion()
           
 Impt removeImport(Impt importDef)
           
 Incl removeInclude(Incl includeDef)
           
 void setAttributeFormDefault(FormChoice form)
           
 void setDocumentURI(java.net.URI documentBaseURI)
           
 void setElementFormDefault(FormChoice form)
           
 void setTargetNamespace(java.lang.String tns)
           
 
Methods inherited from class org.ow2.easywsdl.schema.decorator.Decorator
createDocumentation, equals, getDocumentation, getInternalObject, getModel, getOtherAttributes, getParent, hashCode, setDocumentation
 
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
getSchema, getTopParent, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratorSchemaImpl

public DecoratorSchemaImpl(AbsItfSchema<T,E,A,Incl,Impt> schema)
Method Detail

addAttribute

public void addAttribute(A attr)

addElement

public void addElement(E elmt)

addImport

public void addImport(Impt importDef)

addInclude

public void addInclude(Incl includeDef)
                throws SchemaException
Throws:
SchemaException

addType

public void addType(T absItfType)

getAllNamespaces

public NamespaceMapperImpl getAllNamespaces()

getAttribute

public A getAttribute(javax.xml.namespace.QName attr)

getAttributes

public java.util.List<A> getAttributes()

getElement

public E getElement(javax.xml.namespace.QName element)

getElements

public java.util.List<E> getElements()

getImports

public java.util.List<Impt> getImports(java.lang.String namespaceURI)

getImports

public java.util.List<Impt> getImports()

getIncludes

public java.util.List<Incl> getIncludes(java.net.URI locationURI)
                                                       throws java.net.URISyntaxException
Throws:
java.net.URISyntaxException

getIncludes

public java.util.List<Incl> getIncludes()

getTargetNamespace

public java.lang.String getTargetNamespace()

getType

public T getType(javax.xml.namespace.QName type)

getTypes

public java.util.List<T> getTypes()

removeImport

public Impt removeImport(Impt importDef)

removeInclude

public Incl removeInclude(Incl includeDef)
                                         throws SchemaException
Throws:
SchemaException

setDocumentURI

public void setDocumentURI(java.net.URI documentBaseURI)

createAttribute

public A createAttribute()

createComplexType

public T createComplexType()

createElement

public E createElement()

createImport

public Impt createImport()
                                       throws SchemaException
Throws:
SchemaException

createInclude

public Incl createInclude()
                                         throws SchemaException
Throws:
SchemaException

createSimpleType

public T createSimpleType()

setTargetNamespace

public void setTargetNamespace(java.lang.String tns)

getAttributeFormDefault

public FormChoice getAttributeFormDefault()

getBlockDefault

public java.util.List<java.lang.String> getBlockDefault()

getElementFormDefault

public FormChoice getElementFormDefault()

getFinalDefault

public java.util.List<java.lang.String> getFinalDefault()

getLang

public java.lang.String getLang()

getVersion

public java.lang.String getVersion()

getDocumentURI

public java.net.URI getDocumentURI()

findElementsInAllSchema

public java.util.List<E> findElementsInAllSchema(javax.xml.namespace.QName element)

setAttributeFormDefault

public void setAttributeFormDefault(FormChoice form)

setElementFormDefault

public void setElementFormDefault(FormChoice form)


Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.