|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.regulation.RegulationBuilder
public final class RegulationBuilder
The Regulation builder allows to marshall/unmarshall the petalsRegulation.xml file.
| Field Summary | |
|---|---|
static java.lang.String |
NAMESPACE_XSD
XSD schema |
static java.lang.String |
REGULATION_XSD
Topology schema |
| Method Summary | |
|---|---|
static void |
buildXmlFileRegulation(Regulation regulationClass,
java.io.File regulationFile)
Build the XML File from the Regulation in Java classes form. |
static java.lang.String |
buildXmlStringRegulation(Regulation regulationClass)
Build the XML String from the System State in Java classes form. |
static Regulation |
createRegulation(java.io.File xmlFile)
Create the system state object. |
static Regulation |
createRegulation(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 REGULATION_XSD
| Method Detail |
|---|
public static Regulation createRegulation(java.lang.String xmlFileName)
throws RegulationException
xmlFileName - the xml file name
RegulationException - impossible to create the system state
public static Regulation createRegulation(java.io.File xmlFile)
throws RegulationException
xmlFile - the xml file
RegulationException - impossible to create the system state
public static java.lang.String buildXmlStringRegulation(Regulation regulationClass)
throws RegulationException
regulationClass -
RegulationException - The exception raised during the marshaller creation or the
exception raised during the build of the XML string.
public static void buildXmlFileRegulation(Regulation regulationClass,
java.io.File regulationFile)
throws RegulationException
regulationClass - regulationFile -
RegulationException - The exception raised during the marshaller creation or the
exception raised during the build of the XML file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||