|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.datacollection.IpList
public class IpList
list of IP address or IP address mask values to which this system definition applies.
| Constructor Summary | |
|---|---|
IpList()
|
|
| Method Summary | |
|---|---|
void |
addIpAddr(int index,
java.lang.String vIpAddr)
Method addIpAddr |
void |
addIpAddr(java.lang.String vIpAddr)
Method addIpAddr |
void |
addIpAddrMask(int index,
java.lang.String vIpAddrMask)
Method addIpAddrMask |
void |
addIpAddrMask(java.lang.String vIpAddrMask)
Method addIpAddrMask |
void |
clearIpAddr()
Method clearIpAddr |
void |
clearIpAddrMask()
Method clearIpAddrMask |
java.util.Enumeration |
enumerateIpAddr()
Method enumerateIpAddr |
java.util.Enumeration |
enumerateIpAddrMask()
Method enumerateIpAddrMask |
java.lang.String[] |
getIpAddr()
Method getIpAddr |
java.lang.String |
getIpAddr(int index)
Method getIpAddr |
java.util.ArrayList |
getIpAddrCollection()
Method getIpAddrCollection Returns a reference to 'ipAddr'. |
int |
getIpAddrCount()
Method getIpAddrCount |
java.lang.String[] |
getIpAddrMask()
Method getIpAddrMask |
java.lang.String |
getIpAddrMask(int index)
Method getIpAddrMask |
java.util.ArrayList |
getIpAddrMaskCollection()
Method getIpAddrMaskCollection Returns a reference to 'ipAddrMask'. |
int |
getIpAddrMaskCount()
Method getIpAddrMaskCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeIpAddr(java.lang.String vIpAddr)
Method removeIpAddr |
boolean |
removeIpAddrMask(java.lang.String vIpAddrMask)
Method removeIpAddrMask |
void |
setIpAddr(java.util.ArrayList ipAddrCollection)
Method setIpAddr Sets the value of 'ipAddr' by copying the given ArrayList. |
void |
setIpAddr(int index,
java.lang.String vIpAddr)
Method setIpAddr |
void |
setIpAddr(java.lang.String[] ipAddrArray)
Method setIpAddr |
void |
setIpAddrCollection(java.util.ArrayList ipAddrCollection)
Method setIpAddrCollection Sets the value of 'ipAddr' by setting it to the given ArrayList. |
void |
setIpAddrMask(java.util.ArrayList ipAddrMaskCollection)
Method setIpAddrMask Sets the value of 'ipAddrMask' by copying the given ArrayList. |
void |
setIpAddrMask(int index,
java.lang.String vIpAddrMask)
Method setIpAddrMask |
void |
setIpAddrMask(java.lang.String[] ipAddrMaskArray)
Method setIpAddrMask |
void |
setIpAddrMaskCollection(java.util.ArrayList ipAddrMaskCollection)
Method setIpAddrMaskCollection Sets the value of 'ipAddrMask' 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 |
|---|
public IpList()
| Method Detail |
|---|
public void addIpAddr(java.lang.String vIpAddr)
throws java.lang.IndexOutOfBoundsException
vIpAddr -
java.lang.IndexOutOfBoundsException
public void addIpAddr(int index,
java.lang.String vIpAddr)
throws java.lang.IndexOutOfBoundsException
index - vIpAddr -
java.lang.IndexOutOfBoundsException
public void addIpAddrMask(java.lang.String vIpAddrMask)
throws java.lang.IndexOutOfBoundsException
vIpAddrMask -
java.lang.IndexOutOfBoundsException
public void addIpAddrMask(int index,
java.lang.String vIpAddrMask)
throws java.lang.IndexOutOfBoundsException
index - vIpAddrMask -
java.lang.IndexOutOfBoundsExceptionpublic void clearIpAddr()
public void clearIpAddrMask()
public java.util.Enumeration enumerateIpAddr()
public java.util.Enumeration enumerateIpAddrMask()
public java.lang.String getIpAddr(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getIpAddr()
public java.util.ArrayList getIpAddrCollection()
public int getIpAddrCount()
public java.lang.String getIpAddrMask(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic java.lang.String[] getIpAddrMask()
public java.util.ArrayList getIpAddrMaskCollection()
public int getIpAddrMaskCount()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationExceptionpublic boolean removeIpAddr(java.lang.String vIpAddr)
vIpAddr -
public boolean removeIpAddrMask(java.lang.String vIpAddrMask)
vIpAddrMask -
public void setIpAddr(int index,
java.lang.String vIpAddr)
throws java.lang.IndexOutOfBoundsException
index - vIpAddr -
java.lang.IndexOutOfBoundsExceptionpublic void setIpAddr(java.lang.String[] ipAddrArray)
ipAddrArray - public void setIpAddr(java.util.ArrayList ipAddrCollection)
ipAddrCollection - the Vector to copy.public void setIpAddrCollection(java.util.ArrayList ipAddrCollection)
ipAddrCollection - the ArrayList to copy.
public void setIpAddrMask(int index,
java.lang.String vIpAddrMask)
throws java.lang.IndexOutOfBoundsException
index - vIpAddrMask -
java.lang.IndexOutOfBoundsExceptionpublic void setIpAddrMask(java.lang.String[] ipAddrMaskArray)
ipAddrMaskArray - public void setIpAddrMask(java.util.ArrayList ipAddrMaskCollection)
ipAddrMaskCollection - the Vector to copy.public void setIpAddrMaskCollection(java.util.ArrayList ipAddrMaskCollection)
ipAddrMaskCollection - the ArrayList to copy.
public static java.lang.Object unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||