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, findElementsInAllSchema, getAllNamespaces, getAttribute, getAttributes, getDocumentURI, getElement, getElements, getFeatures, getImports, getImports, getIncludes, getIncludes, 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, getType, getTypes, setDocumentURI |
SchemaImpl
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
- Parameters:
documentURI - schema - namespaceMapper - schemaLocator - features - imports - reader -
- Throws:
SchemaException
java.net.URISyntaxException - If a schemaLocation attribute of an import, include or
redefine is not a valid URI.
SchemaImpl
public SchemaImpl()
throws SchemaException
- Throws:
SchemaException
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 - if an included element can't be retrieved
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()
throws SchemaException
- Description copied from interface:
AbsItfSchema
- Create an import to this parent.
- Specified by:
createImport in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
- Throws:
SchemaException - if an imported element can't be retrieved
createInclude
public Include createInclude()
throws SchemaException
- Description copied from interface:
AbsItfSchema
- Create an include to this parent.
- Specified by:
createInclude in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
- Throws:
SchemaException - if an included element can't be retrieved
setAttributeFormDefault
public void setAttributeFormDefault(FormChoice form)
- Specified by:
setAttributeFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
setElementFormDefault
public void setElementFormDefault(FormChoice form)
- Specified by:
setElementFormDefault in interface AbsItfSchema<Type,Element,Attribute,Include,Import>
Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.