com.moximedia.aims
Class SqlConnections

java.lang.Object
  extended bycom.moximedia.aims.SqlConnections
All Implemented Interfaces:
java.io.Serializable

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

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Constructor Summary
SqlConnections()
          Creates new SqlConnections collection
 
Method Summary
 void add(SqlConnection connection)
          Adds a new connection to the collection.
 boolean applyXml(java.lang.String xmlString)
           
 void closeAll()
           
 SqlConnection getConnection(java.lang.String name)
          Gets the connection with the specified name.
 void initializeAll()
           
 java.util.Iterator iterator()
          Returns an iterator to loop through the options.
 void remove(java.lang.String name)
          Removes the connection with the specified name from the collection.
 void removeAll()
           
 int size()
          Returns the number of connections in the collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlConnections

public SqlConnections()
Creates new SqlConnections collection

Method Detail

add

public void add(SqlConnection connection)
Adds a new connection to the collection.

Parameters:
connection - The connection

getConnection

public SqlConnection getConnection(java.lang.String name)
Gets the connection with the specified name.

Parameters:
name - The name of the connection.
Returns:
The connection, or null if the connection is not found.

iterator

public java.util.Iterator iterator()
Returns an iterator to loop through the options.

Returns:
The collection in an iterator.

remove

public void remove(java.lang.String name)
Removes the connection with the specified name from the collection.

Parameters:
name - The name of the connection.

initializeAll

public void initializeAll()

closeAll

public void closeAll()

removeAll

public void removeAll()

size

public int size()
Returns the number of connections in the collection.

Returns:
The count.

applyXml

public boolean applyXml(java.lang.String xmlString)


Internet Mapping Framework for ArcIMS Java Object Model API (v5.1.00)
Copyright © 2006 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.