org.gxos.config
Class ConfigFile
java.lang.Object
|
+--org.gxos.config.ConfigFile
- All Implemented Interfaces:
- java.io.Serializable
- public class ConfigFile
- extends java.lang.Object
- implements java.io.Serializable
This element holds the location of the configuration file. In a
complete configuration file, this element cannot exist. If this
elements exists, then the rest of the file will be disregarded
and configuration information will be uploaded from either
FileURL or FileLocation.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigFile
public ConfigFile()
getFileLocation
public java.lang.String getFileLocation()
getFileURL
public java.lang.String getFileURL()
isValid
public boolean isValid()
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
out
-
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
handler
-
setFileLocation
public void setFileLocation(java.lang.String fileLocation)
- Parameters:
fileLocation
-
setFileURL
public void setFileURL(java.lang.String fileURL)
- Parameters:
fileURL
-
unmarshal
public static ConfigFile unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException