org.opennms.netmgt.config.datacollection
Class Uris

java.lang.Object
  extended by org.opennms.netmgt.config.datacollection.Uris
All Implemented Interfaces:
java.io.Serializable

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

Class Uris.

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

Constructor Summary
Uris()
           
 
Method Summary
 void addUri(int index, Uri vUri)
          Method addUri
 void addUri(Uri vUri)
          Method addUri
 void clearUri()
          Method clearUri
 java.util.Enumeration enumerateUri()
          Method enumerateUri
 Uri[] getUri()
          Method getUri
 Uri getUri(int index)
          Method getUri
 java.util.ArrayList getUriCollection()
          Method getUriCollection Returns a reference to 'uri'.
 int getUriCount()
          Method getUriCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeUri(Uri vUri)
          Method removeUri
 void setUri(java.util.ArrayList uriCollection)
          Method setUri Sets the value of 'uri' by copying the given ArrayList.
 void setUri(int index, Uri vUri)
          Method setUri
 void setUri(Uri[] uriArray)
          Method setUri
 void setUriCollection(java.util.ArrayList uriCollection)
          Method setUriCollection Sets the value of 'uri' by setting it to the given ArrayList.
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

Uris

public Uris()
Method Detail

addUri

public void addUri(Uri vUri)
            throws java.lang.IndexOutOfBoundsException
Method addUri

Parameters:
vUri -
Throws:
java.lang.IndexOutOfBoundsException

addUri

public void addUri(int index,
                   Uri vUri)
            throws java.lang.IndexOutOfBoundsException
Method addUri

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

clearUri

public void clearUri()
Method clearUri


enumerateUri

public java.util.Enumeration enumerateUri()
Method enumerateUri

Returns:
Enumeration

getUri

public Uri getUri(int index)
           throws java.lang.IndexOutOfBoundsException
Method getUri

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

getUri

public Uri[] getUri()
Method getUri

Returns:
Uri

getUriCollection

public java.util.ArrayList getUriCollection()
Method getUriCollection Returns a reference to 'uri'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getUriCount

public int getUriCount()
Method getUriCount

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

removeUri

public boolean removeUri(Uri vUri)
Method removeUri

Parameters:
vUri -
Returns:
boolean

setUri

public void setUri(int index,
                   Uri vUri)
            throws java.lang.IndexOutOfBoundsException
Method setUri

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

setUri

public void setUri(Uri[] uriArray)
Method setUri

Parameters:
uriArray -

setUri

public void setUri(java.util.ArrayList uriCollection)
Method setUri Sets the value of 'uri' by copying the given ArrayList.

Parameters:
uriCollection - the Vector to copy.

setUriCollection

public void setUriCollection(java.util.ArrayList uriCollection)
Method setUriCollection Sets the value of 'uri' by setting it to the given ArrayList. No type checking is performed.

Parameters:
uriCollection - the ArrayList to copy.

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 © 2007. All Rights Reserved.