org.ow2.easywsdl.schema.api.abstractElmt
Class AbstractIncludeImpl<E,S extends AbsItfSchema>

java.lang.Object
  extended by org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl<E>
      extended by 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
 
Fields inherited from class org.ow2.easywsdl.schema.api.abstractElmt.AbstractSchemaElementImpl
documentation, model, 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 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
 

Field Detail

schema

protected S extends AbsItfSchema schema
the parent

Constructor Detail

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 model
parent - 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 model
parent - the parent description
Throws:
SchemaException
Method Detail

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.