org.gxos.config
Class FileURL

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

public class FileURL
extends CommentType
implements java.io.Serializable

File URLs are platform independent addresses for files, i.e. file:///home/user or file://c:/documents/user

See Also:
Serialized Form

Constructor Summary
FileURL()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static FileURL 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

FileURL

public FileURL()
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 FileURL 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