|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.siteStatusViews.Views
public class Views
Class Views.
| Constructor Summary | |
|---|---|
Views()
|
|
| Method Summary | |
|---|---|
void |
addView(int index,
View vView)
|
void |
addView(View vView)
|
Enumeration<View> |
enumerateView()
Method enumerateView. |
View[] |
getView()
Method getView.Returns the contents of the collection in an Array. |
View |
getView(int index)
Method getView. |
List<View> |
getViewCollection()
Method getViewCollection.Returns a reference to '_viewList'. |
int |
getViewCount()
Method getViewCount. |
boolean |
isValid()
Method isValid. |
Iterator<View> |
iterateView()
Method iterateView. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllView()
|
boolean |
removeView(View vView)
Method removeView. |
View |
removeViewAt(int index)
Method removeViewAt. |
void |
setView(int index,
View vView)
|
void |
setView(List<View> vViewList)
Sets the value of '_viewList' by copying the given Vector. |
void |
setView(View[] vViewArray)
|
void |
setViewCollection(List<View> viewList)
Deprecated. |
static Views |
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 Views()
| Method Detail |
|---|
public void addView(View vView)
throws IndexOutOfBoundsException
vView -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addView(int index,
View vView)
throws IndexOutOfBoundsException
index - vView -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<View> enumerateView()
public View getView(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic View[] getView()
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<View> getViewCollection()
public int getViewCount()
public boolean isValid()
public Iterator<View> iterateView()
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 removeAllView()
public boolean removeView(View vView)
vView -
public View removeViewAt(int index)
index -
public void setView(int index,
View vView)
throws IndexOutOfBoundsException
index - vView -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setView(View[] vViewArray)
vViewArray - public void setView(List<View> vViewList)
vViewList - the Vector to copy.public void setViewCollection(List<View> viewList)
viewList - the Vector to set.
public static Views 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 | ||||||||