|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.weborganic.bastille.xml.XMLConfiguration
public final class XMLConfiguration
Centralises the configuration options for this package.
This class is used to ensure that the same configuration options are used by all generators in this package.
Field Summary | |
---|---|
static String |
BASTILLE_XML_EXTENSION
The key for the extension used by XML files. |
static String |
BASTILLE_XML_ROOT
The key for the location of the XML path. |
Method Summary | |
---|---|
static String |
getXMLExtension(ContentRequest req)
Returns the XML extension used by generators in this package. |
static File |
getXMLRootFolder(ContentRequest req)
Returns the XML Root folder used by generators in this package. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BASTILLE_XML_ROOT
public static final String BASTILLE_XML_EXTENSION
Method Detail |
---|
public static File getXMLRootFolder(ContentRequest req)
The XML root folder can be defined in the config-[mode].xml
using the key
"bastille.xml.root".
req
- The content request.
public static String getXMLExtension(ContentRequest req)
The XML extension can be defined in the config-[mode].xml
using the key
"bastille.xml.extension".
req
- The content request.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |