org.openejb.alt.config.sys
Class Resource

java.lang.Object
  |
  +--org.openejb.alt.config.sys.Resource
All Implemented Interfaces:
java.io.Serializable

public class Resource
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision: 1.1 $ $Date: 2002/03/12 20:49:50 $
See Also:
Serialized Form

Constructor Summary
Resource()
           
 
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'.
 java.lang.String getJndi()
          Returns the value of field 'jndi'.
 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'.
 void setJndi(java.lang.String jndi)
          Sets the value of field 'jndi'.
static Resource 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
 

Constructor Detail

Resource

public Resource()
Method Detail

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'.

getJndi

public java.lang.String getJndi()
Returns the value of field 'jndi'.
Returns:
the value of field 'jndi'.

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'.

setJndi

public void setJndi(java.lang.String jndi)
Sets the value of field 'jndi'.
Parameters:
jndi - the value of field 'jndi'.

unmarshal

public static Resource 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