|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.sib.SIDataGraphFactory
public abstract class SIDataGraphFactory
A singleton SIDataGraphFactory is created at static initialization and is subsequently used for the creation of all DataGraphs.
Constructor Summary | |
---|---|
SIDataGraphFactory()
|
Method Summary | |
---|---|
abstract commonj.sdo.DataGraph |
createDataGraph(byte[] bytes,
java.lang.String format)
Create a new SDO version 1 DataGraph by parsing the bytes according to the indicated format. |
abstract commonj.sdo.DataGraph |
createDataGraph(java.lang.String format)
Create a new SDO version 1 DataGraph. |
static SIDataGraphFactory |
getInstance()
Get the singleton SIDataGraphFactory which is to be used for creating SDO DataGraph instances. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SIDataGraphFactory()
Method Detail |
---|
public static SIDataGraphFactory getInstance()
public abstract commonj.sdo.DataGraph createDataGraph(java.lang.String format) throws SIMessageDomainNotSupportedException, SIDataGraphSchemaNotFoundException, SIDataGraphException
format
- The message format describing the DataGraph model.
java.lang.NullPointerException
- is thrown if the format parameter is null.
SIMessageDomainNotSupportedException
- is thrown if the message domain
indicated by the format is not supported.
SIDataGraphSchemaNotFoundException
- may be thrown if a schema needed
to create the DataGraph is not available.
SIDataGraphException
- may be thrown if the DataGraph can not be created
for any other reason. The linked Exception(s)
indicate the underlying problem.public abstract commonj.sdo.DataGraph createDataGraph(byte[] bytes, java.lang.String format) throws SIMessageDomainNotSupportedException, SIDataGraphSchemaNotFoundException, SIDataGraphFormatMismatchException, SIDataGraphException
bytes
- an array of bytes containing a serialized datagraph consistent with the supplied format parameterformat
- the message format describing the DataGraph model.
SIMessageDomainNotSupportedException
SIDataGraphSchemaNotFoundException
SIDataGraphFormatMismatchException
SIDataGraphException
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |