|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.pagesequence.PageSequence
public class PageSequence
Use this container to list the page in the order they are to be accessed for monitoring or (soon) datacollection.
| Constructor Summary | |
|---|---|
PageSequence()
|
|
| Method Summary | |
|---|---|
void |
addPage(int index,
Page vPage)
Method addPage |
void |
addPage(Page vPage)
Method addPage |
void |
clearPage()
Method clearPage |
java.util.Enumeration |
enumeratePage()
Method enumeratePage |
Page[] |
getPage()
Method getPage |
Page |
getPage(int index)
Method getPage |
java.util.ArrayList |
getPageCollection()
Method getPageCollection Returns a reference to 'page'. |
int |
getPageCount()
Method getPageCount |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removePage(Page vPage)
Method removePage |
void |
setPage(java.util.ArrayList pageCollection)
Method setPage Sets the value of 'page' by copying the given ArrayList. |
void |
setPage(int index,
Page vPage)
Method setPage |
void |
setPage(Page[] pageArray)
Method setPage |
void |
setPageCollection(java.util.ArrayList pageCollection)
Method setPageCollection Sets the value of 'page' 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 PageSequence()
| Method Detail |
|---|
public void addPage(Page vPage)
throws java.lang.IndexOutOfBoundsException
vPage -
java.lang.IndexOutOfBoundsException
public void addPage(int index,
Page vPage)
throws java.lang.IndexOutOfBoundsException
index - vPage -
java.lang.IndexOutOfBoundsExceptionpublic void clearPage()
public java.util.Enumeration enumeratePage()
public Page getPage(int index)
throws java.lang.IndexOutOfBoundsException
index -
java.lang.IndexOutOfBoundsExceptionpublic Page[] getPage()
public java.util.ArrayList getPageCollection()
public int getPageCount()
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 removePage(Page vPage)
vPage -
public void setPage(int index,
Page vPage)
throws java.lang.IndexOutOfBoundsException
index - vPage -
java.lang.IndexOutOfBoundsExceptionpublic void setPage(Page[] pageArray)
pageArray - public void setPage(java.util.ArrayList pageCollection)
pageCollection - the Vector to copy.public void setPageCollection(java.util.ArrayList pageCollection)
pageCollection - 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 | ||||||||