Class AbstractIncludeImpl<E,S extends AbsItfSchema>
- java.lang.Object
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
-
- org.ow2.easywsdl.schema.api.abstractElmt.AbstractIncludeImpl<E,S>
-
- All Implemented Interfaces:
Serializable,AbsItfInclude<S>,SchemaElement
- Direct Known Subclasses:
AbstractImportImpl,IncludeImpl,RedefineImpl
public abstract class AbstractIncludeImpl<E,S extends AbsItfSchema> extends AbstractSchemaElementImpl<E> implements AbsItfInclude<S>
- Author:
- Nicolas Salatge - EBM WebSourcing
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, parent
-
-
Constructor Summary
Constructors Constructor Description AbstractIncludeImpl(E model, Map<SchemaReader.FeatureConstants,Object> features, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader)Default constructorAbstractIncludeImpl(E model, AbstractSchemaElementImpl parent, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SgetParentSchema()SgetSchema()This property can be used to hang a referenced SchemaImpl, and the top-level SchemaImpl (i.e. the one with the <import>) will use this SchemaImpl when resolving referenced parts.voidsetSchema(S schema)This property can be used to hang a referenced SchemaImpl, and the top-level SchemaImpl (i.e. the one with the <import>) will use this SchemaImpl when resolving referenced parts.-
Methods inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
createDocumentation, equals, getDocumentation, getModel, getOtherAttributes, getParent, getTopParent, hashCode, setDocumentation, setParent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ow2.easywsdl.schema.api.absItf.AbsItfInclude
getLocationURI, setLocationURI
-
Methods inherited from interface org.ow2.easywsdl.schema.api.SchemaElement
createDocumentation, equals, getDocumentation, getOtherAttributes, hashCode, setDocumentation
-
-
-
-
Constructor Detail
-
AbstractIncludeImpl
public AbstractIncludeImpl(E model, Map<SchemaReader.FeatureConstants,Object> features, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader) throws SchemaException
Default constructor- Parameters:
model- the model- Throws:
SchemaException
-
AbstractIncludeImpl
public AbstractIncludeImpl(E model, AbstractSchemaElementImpl parent, Map<URI,AbsItfSchema> imports, URI baseURI, AbstractSchemaReader reader) throws SchemaException
Default constructor- Parameters:
model- the modelparent- the parent description- Throws:
SchemaException
-
-
Method Detail
-
getSchema
public S getSchema()
Description copied from interface:AbsItfIncludeThis property can be used to hang a referenced SchemaImpl, and the top-level SchemaImpl (i.e. the one with the <import>) will use this SchemaImpl when resolving referenced parts. This would need to be made into a generic reference to handle other types of referenced documents.- Specified by:
getSchemain interfaceAbsItfInclude<E>- Overrides:
getSchemain classAbstractSchemaElementImpl<E>- Returns:
- the parent
-
setSchema
public void setSchema(S schema)
Description copied from interface:AbsItfIncludeThis property can be used to hang a referenced SchemaImpl, and the top-level SchemaImpl (i.e. the one with the <import>) will use this SchemaImpl when resolving referenced parts. This would need to be made into a generic reference to handle other types of referenced documents.- Specified by:
setSchemain interfaceAbsItfInclude<E>
-
getParentSchema
public S getParentSchema()
- Returns:
- the parent parent
-
-