|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.InputSource jsdai.xml.SdaiInputSource
This class is a single JDAI data input source for an XML entity.
It encapsulates JSDAI information which is transferred to readers
that process JSDAI populations. The object should either be
constructed with non default constructor or have at least one set
method called before it is passed to JSDAI reader.
InstanceReader
Constructor Summary | |
SdaiInputSource()
Creates a new empty SDAI input source. |
|
SdaiInputSource(ASchemaInstance schInstances)
Creates a new input source of the SchemaInstance aggregate. |
|
SdaiInputSource(ASdaiModel models)
Creates a new input source of the SdaiModel aggregate. |
|
SdaiInputSource(SchemaInstance schInstance)
Creates a new SchemaInstance input source. |
|
SdaiInputSource(SdaiModel model)
Creates a new SdaiModel input source. |
|
SdaiInputSource(SdaiRepository repository)
Creates a new SdaiRepository input source. |
Method Summary | |
SdaiModel |
getModel()
Returns the SdaiModel of this input source.
|
ASdaiModel[] |
getModels()
Returns the SdaiModel aggregates of this input source.
|
SdaiRepository |
getRepository()
Returns the SdaiRepository of this input source.
|
SchemaInstance |
getSchemaInstance()
Returns the SchemaInstance of this input source.
|
ASchemaInstance |
getSchemaInstances()
Returns the SchemaInstance aggregate of this input source.
|
void |
setModel(SdaiModel model)
Sets SdaiModel as the input source. |
void |
setModels(ASdaiModel models)
Sets aggregate of SdaiModel as the input source. |
void |
setRepository(SdaiRepository repository)
Sets SdaiRepository as the input source. |
void |
setSchemaInstance(SchemaInstance schInstance)
Sets SchemaInstance as the input source. |
void |
setSchemaInstances(ASchemaInstance schInstances)
Sets aggregate of SchemaInstances as the input source. |
Methods inherited from class org.xml.sax.InputSource |
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SdaiInputSource()
set
should be called afterward to put the object into valid state.
public SdaiInputSource(SdaiRepository repository) throws SdaiException
SdaiRepository
input source.
repository
- The SdaiRepository
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiInputSource(SchemaInstance schInstance) throws SdaiException
SchemaInstance
input source.
schInstance
- The SchemaInstance
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiInputSource(ASchemaInstance schInstances) throws SdaiException
SchemaInstance
aggregate.
schInstances
- The SchemaInstance
aggregate
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiInputSource(SdaiModel model) throws SdaiException
SdaiModel
input source.
model
- The SdaiModel
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiInputSource(ASdaiModel models) throws SdaiException
SdaiModel
aggregate.
models
- The SdaiModel
aggregate
SdaiException
- if an error occurs in underlying JSDAI operationsMethod Detail |
public void setRepository(SdaiRepository repository) throws SdaiException
SdaiRepository
as the input source.
repository
- The SdaiRepository
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiRepository getRepository()
SdaiRepository
of this input source.
The repository is set by SdaiInputSource(SdaiRepository)
or setRepository(jsdai.lang.SdaiRepository)
.
public void setSchemaInstance(SchemaInstance schInstance) throws SdaiException
SchemaInstance
as the input source.
schInstance
- The SchemaInstance
SdaiException
- if an error occurs in underlying JSDAI operationspublic SchemaInstance getSchemaInstance()
SchemaInstance
of this input source.
The schema instance is set by SdaiInputSource(SchemaInstance)
or setSchemaInstance(jsdai.lang.SchemaInstance)
.
public void setSchemaInstances(ASchemaInstance schInstances) throws SdaiException
SchemaInstances
as the input source.
schInstances
- The SchemaInstance
aggregate
SdaiException
- if an error occurs in underlying JSDAI operationspublic ASchemaInstance getSchemaInstances()
SchemaInstance
aggregate of this input source.
The schema instance aggregate is set by SdaiInputSource(SdaiRepository)
,
SdaiInputSource(ASchemaInstance)
, setRepository(jsdai.lang.SdaiRepository)
,
or setSchemaInstances(jsdai.lang.ASchemaInstance)
.
public void setModel(SdaiModel model) throws SdaiException
SdaiModel
as the input source.
model
- The SdaiModel
SdaiException
- if an error occurs in underlying JSDAI operationspublic SdaiModel getModel()
SdaiModel
of this input source.
The model is set by SdaiInputSource(SdaiModel)
or setModel(jsdai.lang.SdaiModel)
.
public void setModels(ASdaiModel models) throws SdaiException
SdaiModel
as the input source.
models
- The SdaiModel
aggregate
SdaiException
- if an error occurs in underlying JSDAI operationspublic ASdaiModel[] getModels()
SdaiModel
aggregates of this input source.
The model aggregates are set by SdaiInputSource(SdaiRepository)
,
SdaiInputSource(SchemaInstance)
, SdaiInputSource(ASchemaInstance)
,
SdaiInputSource(ASdaiModel)
, setRepository(jsdai.lang.SdaiRepository)
, setSchemaInstance(jsdai.lang.SchemaInstance)
,
setSchemaInstances(jsdai.lang.ASchemaInstance)
or setModels(jsdai.lang.ASdaiModel)
.
|
Copyright © LKSoftWare GmbH, 1999-2008 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |