|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.viewsdisplay.View
public class View
Class View.
| Constructor Summary | |
|---|---|
View()
|
|
| Method Summary | |
|---|---|
void |
addSection(int index,
Section vSection)
|
void |
addSection(Section vSection)
|
Enumeration<Section> |
enumerateSection()
Method enumerateSection. |
Section[] |
getSection()
Method getSection.Returns the contents of the collection in an Array. |
Section |
getSection(int index)
Method getSection. |
List<Section> |
getSectionCollection()
Method getSectionCollection.Returns a reference to '_sectionList'. |
int |
getSectionCount()
Method getSectionCount. |
String |
getViewName()
Returns the value of field 'viewName'. |
boolean |
isValid()
Method isValid. |
Iterator<Section> |
iterateSection()
Method iterateSection. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllSection()
|
boolean |
removeSection(Section vSection)
Method removeSection. |
Section |
removeSectionAt(int index)
Method removeSectionAt. |
void |
setSection(int index,
Section vSection)
|
void |
setSection(List<Section> vSectionList)
Sets the value of '_sectionList' by copying the given Vector. |
void |
setSection(Section[] vSectionArray)
|
void |
setSectionCollection(List<Section> sectionList)
Deprecated. |
void |
setViewName(String viewName)
Sets the value of field 'viewName'. |
static View |
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 View()
| Method Detail |
|---|
public void addSection(Section vSection)
throws IndexOutOfBoundsException
vSection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addSection(int index,
Section vSection)
throws IndexOutOfBoundsException
index - vSection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Enumeration<Section> enumerateSection()
public Section getSection(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Section[] getSection()
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<Section> getSectionCollection()
public int getSectionCount()
public String getViewName()
public boolean isValid()
public Iterator<Section> iterateSection()
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 removeAllSection()
public boolean removeSection(Section vSection)
vSection -
public Section removeSectionAt(int index)
index -
public void setSection(int index,
Section vSection)
throws IndexOutOfBoundsException
index - vSection -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setSection(Section[] vSectionArray)
vSectionArray - public void setSection(List<Section> vSectionList)
vSectionList - the Vector to copy.public void setSectionCollection(List<Section> sectionList)
sectionList - the Vector to set.public void setViewName(String viewName)
viewName - the value of field 'viewName'.
public static View 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 | ||||||||