|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.daileon.notsupported.DomainAnnotationsXmlReader
public class DomainAnnotationsXmlReader
The DomainAnnotationsXmlReader
class is responsible for dealing
with XML configuration file, indicated in the command line when Daileon is
run.
Field Summary | |
---|---|
private static DaileonConfig |
daileonConfig
The DaileonConfig object, that is, the root element of the
XML configuration file |
private static String |
JAXB_CONTEXT
The package where the elements that contain the objects annotated with annotations of the JAXB API can be found |
Constructor Summary | |
---|---|
private |
DomainAnnotationsXmlReader()
Class constructor. |
Method Summary | |
---|---|
static DaileonConfig |
getDaileonConfig()
Retrieves the DaileonConfig object that corresponds to the
root element of the indicated XML configuration file. |
static DaileonConfig |
read(String xmlLocation)
Reads a given XML file, located in the indicated location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String JAXB_CONTEXT
JAXB
API can be found
private static DaileonConfig daileonConfig
DaileonConfig
object, that is, the root element of the
XML configuration file
Constructor Detail |
---|
private DomainAnnotationsXmlReader()
Method Detail |
---|
public static DaileonConfig read(String xmlLocation)
xmlLocation
- The complete physical path of the XML configuration file.
DaileonConfig
object that corresponds to the
root element of the indicated XML configuration file.public static DaileonConfig getDaileonConfig()
DaileonConfig
object that corresponds to the
root element of the indicated XML configuration file.
DaileonConfig
object that corresponds to the
root element of the indicated XML configuration file. The
read
method must be called prior to this method.
IllegalStateException
- If the read
method was not called prior to this
method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |