org.ow2.easywsdl.schema.impl
Class SchemaImpl
java.lang.Object
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
org.ow2.easywsdl.schema.impl.SchemaImpl
- All Implemented Interfaces:
- java.io.Serializable, AbsItfSchema<Type,Element,Attribute,Include,Import>, Schema, SchemaElement
public class SchemaImpl
- extends AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
- implements Schema
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
| Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaImpl |
addImportElementsInAllList, addIncludeElementsInAllList, getAllNamespaces, getAttribute, getAttributes, getDocument, getDocumentBaseURI, getElement, getElements, getFeatures, getImports, getImports, getIncludes, getIncludes, getSchemaLocation, getType, getTypes, setDocumentBaseURI, setFeatures, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfSchema |
getAllNamespaces, getAttribute, getAttributes, getDocumentBaseURI, getElement, getElements, getImports, getImports, getIncludes, getIncludes, getSchemaLocation, getType, getTypes, setDocumentBaseURI |
SchemaImpl
public SchemaImpl(java.net.URI baseURI,
Schema schema,
org.jdom.Document doc,
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
throws SchemaException
- Throws:
SchemaException
SchemaImpl
public SchemaImpl()
getTargetNamespace
public java.lang.String getTargetNamespace()
- Specified by:
getTargetNamespace in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
getElementFormDefault
public FormChoice getElementFormDefault()
- Specified by:
getElementFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
getAttributeFormDefault
public FormChoice getAttributeFormDefault()
- Specified by:
getAttributeFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
getLang
public java.lang.String getLang()
- Specified by:
getLang in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
getBlockDefault
public java.util.List<java.lang.String> getBlockDefault()
- Specified by:
getBlockDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
getFinalDefault
public java.util.List<java.lang.String> getFinalDefault()
- Specified by:
getFinalDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
addAttribute
public void addAttribute(Attribute att)
- Specified by:
addAttribute in interface AbsItfSchema<Type,Element,Attribute,Include,Import>- Overrides:
addAttribute in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
addImport
public void addImport(Import impt)
- Description copied from class:
AbstractSchemaImpl
- ImportImpl operation
- Specified by:
addImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import>- Overrides:
addImport in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
- Parameters:
impt - the import to be added
addInclude
public void addInclude(Include incl)
throws SchemaException
- Description copied from class:
AbstractSchemaImpl
- IncludeImpl operation
- Specified by:
addInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import>- Overrides:
addInclude in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
- Parameters:
incl - the include to be added
- Throws:
SchemaException
addElement
public void addElement(Element elmt)
- Specified by:
addElement in interface AbsItfSchema<Type,Element,Attribute,Include,Import>- Overrides:
addElement in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
addType
public void addType(Type type)
- Specified by:
addType in interface AbsItfSchema<Type,Element,Attribute,Include,Import>- Overrides:
addType in class AbstractSchemaImpl<Schema,Type,Element,Attribute,Include,Import>
removeImport
public Import removeImport(Import importDef)
- Description copied from interface:
AbsItfSchema
- Remove an import from this parent.
- Specified by:
removeImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
- Parameters:
importDef - the import to be removed
- Returns:
- the removed ImportImpl
removeInclude
public Include removeInclude(Include includeDef)
throws SchemaException
- Description copied from interface:
AbsItfSchema
- Remove an include from this parent.
- Specified by:
removeInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
- Parameters:
includeDef - the include to be removed
- Returns:
- the removed include
- Throws:
SchemaException
createAttribute
public Attribute createAttribute()
- Specified by:
createAttribute in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
createComplexType
public Type createComplexType()
- Specified by:
createComplexType in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
createElement
public Element createElement()
- Specified by:
createElement in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
createSimpleType
public Type createSimpleType()
- Specified by:
createSimpleType in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
setTargetNamespace
public void setTargetNamespace(java.lang.String tns)
- Specified by:
setTargetNamespace in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
createImport
public Import createImport()
- Description copied from interface:
AbsItfSchema
- Create an import to this parent.
- Specified by:
createImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
createInclude
public Include createInclude()
- Description copied from interface:
AbsItfSchema
- Create an include to this parent.
- Specified by:
createInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
Copyright © 2008 eBM WebSourcing. All Rights Reserved.