org.exolab.jms.config
Class ConnectorResources

java.lang.Object
  |
  +--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 ConnectorResources 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 -  

addConnectorResource

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

clearConnectorResource

public void clearConnectorResource()
Method clearConnectorResource

enumerateConnectorResource

public java.util.Enumeration enumerateConnectorResource()
Method enumerateConnectorResource

getConnectorResource

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

getConnectorResource

public ConnectorResource[] getConnectorResource()
Method getConnectorResource

getConnectorResourceCount

public int getConnectorResourceCount()
Method getConnectorResourceCount

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 -  

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 -  

removeConnectorResource

public boolean removeConnectorResource(ConnectorResource vConnectorResource)
Method removeConnectorResource
Parameters:
vConnectorResource -  

setConnectorResource

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

setConnectorResource

public void setConnectorResource(ConnectorResource[] connectorResourceArray)
Method setConnectorResource
Parameters:
connectorResourceArray -  

unmarshal

public static ConnectorResources unmarshal(java.io.Reader reader)
                                    throws org.exolab.castor.xml.MarshalException,
                                           org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

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


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