|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.httpdatacollection.Uris
public class Uris
Class Uris.
| Constructor Summary | |
|---|---|
Uris()
|
|
| Method Summary | |
|---|---|
void |
addUri(int index,
Uri vUri)
|
void |
addUri(Uri vUri)
|
Enumeration<Uri> |
enumerateUri()
Method enumerateUri. |
Uri[] |
getUri()
Method getUri.Returns the contents of the collection in an Array. |
Uri |
getUri(int index)
Method getUri. |
List<Uri> |
getUriCollection()
Method getUriCollection.Returns a reference to '_uriList'. |
int |
getUriCount()
Method getUriCount. |
boolean |
isValid()
Method isValid. |
Iterator<Uri> |
iterateUri()
Method iterateUri. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllUri()
|
boolean |
removeUri(Uri vUri)
Method removeUri. |
Uri |
removeUriAt(int index)
Method removeUriAt. |
void |
setUri(int index,
Uri vUri)
|
void |
setUri(List<Uri> vUriList)
Sets the value of '_uriList' by copying the given Vector. |
void |
setUri(Uri[] vUriArray)
|
void |
setUriCollection(List<Uri> uriList)
Deprecated. |
static Uris |
unmarshal(Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Uris()
| Method Detail |
|---|
public void addUri(Uri vUri)
throws IndexOutOfBoundsException
vUri -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addUri(int index,
Uri vUri)
throws IndexOutOfBoundsException
index - vUri -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Uri> enumerateUri()
public Uri getUri(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Uri[] getUri()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public List<Uri> getUriCollection()
public int getUriCount()
public boolean isValid()
public Iterator<Uri> iterateUri()
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
IOException - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void removeAllUri()
public boolean removeUri(Uri vUri)
vUri -
public Uri removeUriAt(int index)
index -
public void setUri(int index,
Uri vUri)
throws IndexOutOfBoundsException
index - vUri -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setUri(Uri[] vUriArray)
vUriArray - public void setUri(List<Uri> vUriList)
vUriList - the Vector to copy.public void setUriCollection(List<Uri> uriList)
uriList - the Vector to set.
public static Uris unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||