java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
org.ow2.easywsdl.schema.decorator.Decorator<AbsItfSchema<T,E,A,Incl,Impt>>
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
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DecoratorSchemaImpl
public DecoratorSchemaImpl(AbsItfSchema<T,E,A,Incl,Impt> schema)
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.