|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.systemstate.SystemStateBuilder
public final class SystemStateBuilder
The System State builder allows to marshall/unmarshall the petalsSystemState.xml file.
| Field Summary | |
|---|---|
static java.lang.String |
NAMESPACE_XSD
XSD schema |
static java.lang.String |
SYSTEMSTATE_XSD
Topology schema |
| Method Summary | |
|---|---|
static void |
buildXmlFileSystemState(SystemState systemStateClass,
java.io.File systemStateFile)
Build the XML File from the System State in Java classes form. |
static java.lang.String |
buildXmlStringSystemState(SystemState systemStateClass)
Build the XML String from the System State in Java classes form. |
static SystemState |
createSystemState(java.io.File xmlFile)
Create the system state object. |
static SystemState |
createSystemState(java.lang.String xmlFileName)
Create the system state object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAMESPACE_XSD
public static final java.lang.String SYSTEMSTATE_XSD
| Method Detail |
|---|
public static SystemState createSystemState(java.lang.String xmlFileName)
throws SystemStateException
xmlFileName - the xml file name
SystemStateException - impossible to create the system state
public static SystemState createSystemState(java.io.File xmlFile)
throws SystemStateException
xmlFile - the xml file
SystemStateException - impossible to create the system state
public static java.lang.String buildXmlStringSystemState(SystemState systemStateClass)
throws SystemStateException
jbiDescriptorClass - The JBI Descriptor root class
JBIDescriptorException - The exception raised during the marshaller creation or the
exception raised during the build of the XML string.
SystemStateException
public static void buildXmlFileSystemState(SystemState systemStateClass,
java.io.File systemStateFile)
throws SystemStateException
jbiDescriptorClass - The JBI Descriptor root class
JBIDescriptorException - The exception raised during the marshaller creation or the
exception raised during the build of the XML string.
SystemStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||