org.openejb.alt.config.sys
Class Connector

java.lang.Object
  extended by org.openejb.alt.config.sys.Connector
All Implemented Interfaces:
java.io.Serializable, Service

public class Connector
extends java.lang.Object
implements java.io.Serializable, Service

Class Connector.

Version:
$Revision: 1105 $ $Date: 2004-03-30 16:45:22 -0800 (Tue, 30 Mar 2004) $
See Also:
Serialized Form

Constructor Summary
Connector()
           
 
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 getProvider()
          Returns the value of field 'provider'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 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 setProvider(java.lang.String provider)
          Sets the value of field 'provider'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Connector

public Connector()
Method Detail

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Specified by:
getContent in interface Service
Returns:
the value of field 'content'.

getId

public java.lang.String getId()
Returns the value of field 'id'.

Specified by:
getId in interface Service
Returns:
the value of field 'id'.

getJar

public java.lang.String getJar()
Returns the value of field 'jar'.

Specified by:
getJar in interface Service
Returns:
the value of field 'jar'.

getProvider

public java.lang.String getProvider()
Returns the value of field 'provider'.

Specified by:
getProvider in interface Service
Returns:
the value of field 'provider'.

isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

Specified by:
setContent in interface Service
Parameters:
content - the value of field 'content'.

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

Specified by:
setId in interface Service
Parameters:
id - the value of field 'id'.

setJar

public void setJar(java.lang.String jar)
Sets the value of field 'jar'.

Specified by:
setJar in interface Service
Parameters:
jar - the value of field 'jar'.

setProvider

public void setProvider(java.lang.String provider)
Sets the value of field 'provider'.

Specified by:
setProvider in interface Service
Parameters:
provider - the value of field 'provider'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Specified by:
validate in interface Service
Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.