|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.destinationPaths.DestinationPaths
public class DestinationPaths
Top-level element for the destinationPaths.xml configuration file.
| Constructor Summary | |
|---|---|
DestinationPaths()
|
|
| Method Summary | |
|---|---|
void |
addPath(int index,
Path vPath)
Method addPath |
void |
addPath(Path vPath)
Method addPath |
void |
clearPath()
Method clearPath |
java.util.Enumeration |
enumeratePath()
Method enumeratePath |
Header |
getHeader()
Returns the value of field 'header'. |
Path[] |
getPath()
Method getPath |
Path |
getPath(int index)
Method getPath |
java.util.ArrayList |
getPathCollection()
Method getPathCollection Returns a reference to 'path'. |
int |
getPathCount()
Method getPathCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removePath(Path vPath)
Method removePath |
void |
setHeader(Header header)
Sets the value of field 'header'. |
void |
setPath(java.util.ArrayList pathCollection)
Method setPath Sets the value of 'path' by copying the given ArrayList. |
void |
setPath(int index,
Path vPath)
Method setPath |
void |
setPath(Path[] pathArray)
Method setPath |
void |
setPathCollection(java.util.ArrayList pathCollection)
Method setPathCollection Sets the value of 'path' 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 DestinationPaths()
| Method Detail |
|---|
public void addPath(Path vPath)
throws java.lang.IndexOutOfBoundsException
vPath -
java.lang.IndexOutOfBoundsException
public void addPath(int index,
Path vPath)
throws java.lang.IndexOutOfBoundsException
index - vPath -
java.lang.IndexOutOfBoundsExceptionpublic void clearPath()
public java.util.Enumeration enumeratePath()
public Header getHeader()
public Path getPath(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Path[] getPath()
public java.util.ArrayList getPathCollection()
public int getPathCount()
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 removePath(Path vPath)
vPath -
public void setHeader(Header header)
header - the value of field 'header'.
public void setPath(int index,
Path vPath)
throws java.lang.IndexOutOfBoundsException
index - vPath -
java.lang.IndexOutOfBoundsExceptionpublic void setPath(Path[] pathArray)
pathArray - public void setPath(java.util.ArrayList pathCollection)
pathCollection - the Vector to copy.public void setPathCollection(java.util.ArrayList pathCollection)
pathCollection - 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 | ||||||||