org.openejb.alt.config.sys
Class JndiProvider
java.lang.Object
|
+--org.openejb.alt.config.sys.JndiProvider
- All Implemented Interfaces:
- java.io.Serializable
- public class JndiProvider
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision: 1.3 $ $Date: 2002/03/12 20:49:50 $
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getContent()
Returns the value of field 'content'. |
java.lang.String |
getId()
Returns the value of field 'id'. |
java.lang.String |
getJar()
Returns the value of field 'jar'. |
boolean |
isValid()
|
void |
marshal(org.xml.sax.DocumentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'. |
void |
setId(java.lang.String id)
Sets the value of field 'id'. |
void |
setJar(java.lang.String jar)
Sets the value of field 'jar'. |
static JndiProvider |
unmarshal(java.io.Reader reader)
|
void |
validate()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiProvider
public JndiProvider()
getContent
public java.lang.String getContent()
- Returns the value of field 'content'. The field 'content'
has the following description: internal content storage
- Returns:
- the value of field 'content'.
getId
public java.lang.String getId()
- Returns the value of field 'id'.
- Returns:
- the value of field 'id'.
getJar
public java.lang.String getJar()
- Returns the value of field 'jar'.
- Returns:
- the value of field 'jar'.
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
-
setContent
public void setContent(java.lang.String content)
- Sets the value of field 'content'. The field 'content' has
the following description: internal content storage
- Parameters:
content
- the value of field 'content'.
setId
public void setId(java.lang.String id)
- Sets the value of field 'id'.
- Parameters:
id
- the value of field 'id'.
setJar
public void setJar(java.lang.String jar)
- Sets the value of field 'jar'.
- Parameters:
jar
- the value of field 'jar'.
unmarshal
public static JndiProvider 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