|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.schema.ConfigurationLoader
public final class ConfigurationLoader
The Class ConfigurationLoader.
| Method Summary | |
|---|---|
static javax.xml.bind.Marshaller |
crateMarshaller(DataSourceConnectionConfig configuration)
Crate marshaller. |
static DataSourceConnectionConfigPlugin |
getPlugin(java.lang.String id)
Gets the plugin by id. |
static void |
marshall(DataSourceConnectionConfig configuration,
java.io.Writer writer)
Marshall. |
static javax.xml.bind.JAXBContext |
newContext(java.lang.String bundleID)
New context. |
static DataSourceConnectionConfig |
unmarshall(java.io.InputStream is)
Unmarshall index order configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.xml.bind.JAXBContext newContext(java.lang.String bundleID)
throws SchemaNotFoundException
bundleID - the bundle id
SchemaNotFoundException - the index order schema not found exception
public static DataSourceConnectionConfig unmarshall(java.io.InputStream is)
throws javax.xml.bind.JAXBException,
java.io.IOException,
SchemaNotFoundException
is - xml input stream
javax.xml.bind.JAXBException - the JAXB exception
java.io.IOException - Signals that an I/O exception has occurred.
SchemaNotFoundException - the index order schema not found exception
public static javax.xml.bind.Marshaller crateMarshaller(DataSourceConnectionConfig configuration)
throws javax.xml.bind.JAXBException,
SchemaNotFoundException
configuration - the configuration
javax.xml.bind.JAXBException - the JAXB exception
SchemaNotFoundException - the index order schema not found exception
public static void marshall(DataSourceConnectionConfig configuration,
java.io.Writer writer)
throws javax.xml.bind.JAXBException,
SchemaNotFoundException
configuration - the configurationwriter - the writer
javax.xml.bind.JAXBException - the JAXB exception
SchemaNotFoundException - the index order schema not found exceptionpublic static DataSourceConnectionConfigPlugin getPlugin(java.lang.String id)
id - the id
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||