org.ow2.easywsdl.schema.api.abstractElmt
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:
- java.io.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 |
protected S |
schema
the parent |
Constructor Summary |
AbstractIncludeImpl(E model,
AbstractSchemaElementImpl parent,
java.util.Map<java.net.URI,AbsItfSchema> imports,
java.net.URI baseURI,
AbstractSchemaReader reader)
Default constructor |
AbstractIncludeImpl(E model,
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features,
java.util.Map<java.net.URI,AbsItfSchema> imports,
java.net.URI baseURI,
AbstractSchemaReader reader)
Default constructor |
Method Summary |
S |
getParentSchema()
|
S |
getSchema()
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. |
void |
setSchema(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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
schema
protected S extends AbsItfSchema schema
- the parent
AbstractIncludeImpl
public AbstractIncludeImpl(E model,
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features,
java.util.Map<java.net.URI,AbsItfSchema> imports,
java.net.URI baseURI,
AbstractSchemaReader reader)
throws SchemaException
- Default constructor
- Parameters:
model
- the modelparent
- the parent description
- Throws:
SchemaException
AbstractIncludeImpl
public AbstractIncludeImpl(E model,
AbstractSchemaElementImpl parent,
java.util.Map<java.net.URI,AbsItfSchema> imports,
java.net.URI baseURI,
AbstractSchemaReader reader)
throws SchemaException
- Default constructor
- Parameters:
model
- the modelparent
- the parent description
- Throws:
SchemaException
getSchema
public S getSchema()
- Description copied from interface:
AbsItfInclude
- 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. This would need to be made
into a generic reference to handle other types of referenced documents.
- Specified by:
getSchema
in interface AbsItfInclude<S extends AbsItfSchema>
- Overrides:
getSchema
in class AbstractSchemaElementImpl<E>
- Returns:
- the parent
setSchema
public void setSchema(S schema)
- Description copied from interface:
AbsItfInclude
- 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. This would need to be made
into a generic reference to handle other types of referenced documents.
- Specified by:
setSchema
in interface AbsItfInclude<S extends AbsItfSchema>
getParentSchema
public S getParentSchema()
- Returns:
- the parent parent
Copyright © 2008-2010 Petals Link (previously EBM WebSourcing). All Rights Reserved.