public abstract class SIDataGraphFactory
extends java.lang.Object
| Constructor and Description |
|---|
SIDataGraphFactory() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.SIMessageDomainNotSupportedExceptionSIDataGraphSchemaNotFoundExceptionSIDataGraphFormatMismatchExceptionSIDataGraphException