org.gxos.config
Class SubProviderURL
java.lang.Object
|
+--org.gxos.config.CommentType
|
+--org.gxos.config.SubProviderURL
- All Implemented Interfaces:
- java.io.Serializable
- public class SubProviderURL
- extends CommentType
- implements java.io.Serializable
Each JNDI provider requires an initial name or URL. This is for
the File System NDI. This URL should be set to the location
where GXOS XML objects will reside.
Examples: file:///home/john/mygxosroot, file://c:/foo/bar
- See Also:
- Serialized Form
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 |
SubProviderURL
public SubProviderURL()
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 SubProviderURL 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