|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sourceforge.mbeanmonitoring.report.castor.Attribute
public class Attribute
Class Attribute.
Constructor Summary | |
---|---|
Attribute()
|
Method Summary | |
---|---|
void |
addList(int index,
List vList)
|
void |
addList(List vList)
|
void |
addStat(int index,
Stat vStat)
|
void |
addStat(Stat vStat)
|
java.util.Enumeration |
enumerateList()
Method enumerateList. |
java.util.Enumeration |
enumerateStat()
Method enumerateStat. |
java.lang.String |
getDescription()
Returns the value of field 'description'. |
List[] |
getList()
Method getList.Returns the contents of the collection in an Array. |
List |
getList(int index)
Method getList. |
int |
getListCount()
Method getListCount. |
java.lang.String |
getName()
Returns the value of field 'name'. |
Stat[] |
getStat()
Method getStat.Returns the contents of the collection in an Array. |
Stat |
getStat(int index)
Method getStat. |
int |
getStatCount()
Method getStatCount. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllList()
|
void |
removeAllStat()
|
boolean |
removeList(List vList)
Method removeList. |
List |
removeListAt(int index)
Method removeListAt. |
boolean |
removeStat(Stat vStat)
Method removeStat. |
Stat |
removeStatAt(int index)
Method removeStatAt. |
void |
setDescription(java.lang.String description)
Sets the value of field 'description'. |
void |
setList(int index,
List vList)
|
void |
setList(List[] vListArray)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setStat(int index,
Stat vStat)
|
void |
setStat(Stat[] vStatArray)
|
static Attribute |
unmarshal(java.io.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 Attribute()
Method Detail |
---|
public void addList(List vList) throws java.lang.IndexOutOfBoundsException
vList
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addList(int index, List vList) throws java.lang.IndexOutOfBoundsException
index
- vList
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addStat(Stat vStat) throws java.lang.IndexOutOfBoundsException
vStat
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addStat(int index, Stat vStat) throws java.lang.IndexOutOfBoundsException
index
- vStat
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateList()
public java.util.Enumeration enumerateStat()
public java.lang.String getDescription()
public List getList(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic List[] getList()
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 int getListCount()
public java.lang.String getName()
public Stat getStat(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Stat[] getStat()
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 int getStatCount()
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
- 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 schemapublic 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
- 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 removeAllList()
public void removeAllStat()
public boolean removeList(List vList)
vList
-
public List removeListAt(int index)
index
-
public boolean removeStat(Stat vStat)
vStat
-
public Stat removeStatAt(int index)
index
-
public void setDescription(java.lang.String description)
description
- the value of field 'description'.public void setList(int index, List vList) throws java.lang.IndexOutOfBoundsException
index
- vList
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setList(List[] vListArray)
vListArray
- public void setName(java.lang.String name)
name
- the value of field 'name'.public void setStat(int index, Stat vStat) throws java.lang.IndexOutOfBoundsException
index
- vStat
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setStat(Stat[] vStatArray)
vStatArray
- public static Attribute unmarshal(java.io.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 schemapublic 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 |