org.gxos.config
Class FileLocation

java.lang.Object
  |
  +--org.gxos.config.CommentType
        |
        +--org.gxos.config.FileLocation
All Implemented Interfaces:
java.io.Serializable

public class FileLocation
extends CommentType
implements java.io.Serializable

This holds the physical location of the configuration file, and it is file system dependent.

See Also:
Serialized Form

Constructor Summary
FileLocation()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static FileLocation unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.gxos.config.CommentType
addComment, addComment, enumerateComment, getComment, getComment, getCommentCount, getContent, removeAllComment, removeComment, setComment, setComment, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileLocation

public FileLocation()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class CommentType

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class CommentType
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class CommentType
Parameters:
handler -  

unmarshal

public static FileLocation 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
Overrides:
validate in class CommentType