org.exolab.jms.config
Class ConnectorResources

java.lang.Object
  extended by org.exolab.jms.config.ConnectorResources
All Implemented Interfaces:
java.io.Serializable

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

The connectorResources element is the root element of all connector resource documents.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ConnectorResources()
           
 
Method Summary
 void addConnectorResource(ConnectorResource vConnectorResource)
          Method addConnectorResource
 void addConnectorResource(int index, ConnectorResource vConnectorResource)
          Method addConnectorResource
 void clearConnectorResource()
          Method clearConnectorResource
 java.util.Enumeration enumerateConnectorResource()
          Method enumerateConnectorResource
 ConnectorResource[] getConnectorResource()
          Method getConnectorResource
 ConnectorResource getConnectorResource(int index)
          Method getConnectorResource
 int getConnectorResourceCount()
          Method getConnectorResourceCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeConnectorResource(ConnectorResource vConnectorResource)
          Method removeConnectorResource
 void setConnectorResource(ConnectorResource[] connectorResourceArray)
          Method setConnectorResource
 void setConnectorResource(int index, ConnectorResource vConnectorResource)
          Method setConnectorResource
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

ConnectorResources

public ConnectorResources()
Method Detail

addConnectorResource

public void addConnectorResource(ConnectorResource vConnectorResource)
                          throws java.lang.IndexOutOfBoundsException
Method addConnectorResource

Parameters:
vConnectorResource -
Throws:
java.lang.IndexOutOfBoundsException

addConnectorResource

public void addConnectorResource(int index,
                                 ConnectorResource vConnectorResource)
                          throws java.lang.IndexOutOfBoundsException
Method addConnectorResource

Parameters:
index -
vConnectorResource -
Throws:
java.lang.IndexOutOfBoundsException

clearConnectorResource

public void clearConnectorResource()
Method clearConnectorResource


enumerateConnectorResource

public java.util.Enumeration enumerateConnectorResource()
Method enumerateConnectorResource

Returns:
Enumeration

getConnectorResource

public ConnectorResource getConnectorResource(int index)
                                       throws java.lang.IndexOutOfBoundsException
Method getConnectorResource

Parameters:
index -
Returns:
ConnectorResource
Throws:
java.lang.IndexOutOfBoundsException

getConnectorResource

public ConnectorResource[] getConnectorResource()
Method getConnectorResource

Returns:
ConnectorResource

getConnectorResourceCount

public int getConnectorResourceCount()
Method getConnectorResourceCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

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

removeConnectorResource

public boolean removeConnectorResource(ConnectorResource vConnectorResource)
Method removeConnectorResource

Parameters:
vConnectorResource -
Returns:
boolean

setConnectorResource

public void setConnectorResource(int index,
                                 ConnectorResource vConnectorResource)
                          throws java.lang.IndexOutOfBoundsException
Method setConnectorResource

Parameters:
index -
vConnectorResource -
Throws:
java.lang.IndexOutOfBoundsException

setConnectorResource

public void setConnectorResource(ConnectorResource[] connectorResourceArray)
Method setConnectorResource

Parameters:
connectorResourceArray -

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 -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2005 The OpenJMS Group. All Rights Reserved.