com.ebmwebsourcing.commons.schema.api.abstractElmt
Class AbstractInclude<E>
java.lang.Object
com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractSchemaElement<E>
com.ebmwebsourcing.commons.schema.api.abstractElmt.AbstractInclude<E>
- All Implemented Interfaces:
- Include, SchemaElement, java.io.Serializable
- Direct Known Subclasses:
- AbstractImport, Include, Redefine
public abstract class AbstractInclude<E>
- extends AbstractSchemaElement<E>
- implements Include
- Author:
- Nicolas Salatge - eBM WebSourcing
- See Also:
- Serialized Form
|
Method Summary |
Schema |
getParentSchema()
|
Schema |
getSchema()
This property can be used to hang a referenced Schema,
and the top-level Schema (i.e. the one with the <import>)
will use this Schema when resolving referenced parts. |
void |
setParentSchema(Schema parent)
|
void |
setSchema(Schema schema)
This property can be used to hang a referenced Schema,
and the top-level Schema (i.e. the one with the <import>)
will use this Schema when resolving referenced parts. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schema
protected Schema schema
- the schema
parent
protected Schema parent
- the parent description
AbstractInclude
public AbstractInclude(java.net.URI baseURI,
E model,
java.util.Map<SchemaReader.FeatureConstants,java.lang.Object> features)
- Default constructor
- Parameters:
model - the modelparent - the parent description
AbstractInclude
public AbstractInclude(E model,
Schema parent)
- Default constructor
- Parameters:
model - the modelparent - the parent description
getSchema
public Schema getSchema()
- Description copied from interface:
Include
- This property can be used to hang a referenced Schema,
and the top-level Schema (i.e. the one with the <import>)
will use this Schema 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 Include
- Returns:
- the schema
setSchema
public void setSchema(Schema schema)
- Description copied from interface:
Include
- This property can be used to hang a referenced Schema,
and the top-level Schema (i.e. the one with the <import>)
will use this Schema 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 Include
getParentSchema
public Schema getParentSchema()
- Returns:
- the parent schema
setParentSchema
public void setParentSchema(Schema parent)
Copyright © 2008 eBM WebSourcing. All Rights Reserved.