|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sourceforge.mbeanmonitoring.report.castor.Stat
public class Stat
Class Stat.
Constructor Summary | |
---|---|
Stat()
|
Method Summary | |
---|---|
void |
addMethodStat(int index,
MethodStat vMethodStat)
|
void |
addMethodStat(MethodStat vMethodStat)
|
java.util.Enumeration |
enumerateMethodStat()
Method enumerateMethodStat. |
MethodStat[] |
getMethodStat()
Method getMethodStat.Returns the contents of the collection in an Array. |
MethodStat |
getMethodStat(int index)
Method getMethodStat. |
int |
getMethodStatCount()
Method getMethodStatCount. |
java.lang.String |
getName()
Returns the value of field 'name'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
removeAllMethodStat()
|
boolean |
removeMethodStat(MethodStat vMethodStat)
Method removeMethodStat. |
MethodStat |
removeMethodStatAt(int index)
Method removeMethodStatAt. |
void |
setMethodStat(int index,
MethodStat vMethodStat)
|
void |
setMethodStat(MethodStat[] vMethodStatArray)
|
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static Stat |
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 Stat()
Method Detail |
---|
public void addMethodStat(MethodStat vMethodStat) throws java.lang.IndexOutOfBoundsException
vMethodStat
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addMethodStat(int index, MethodStat vMethodStat) throws java.lang.IndexOutOfBoundsException
index
- vMethodStat
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateMethodStat()
public MethodStat getMethodStat(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic MethodStat[] getMethodStat()
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 getMethodStatCount()
public java.lang.String getName()
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 removeAllMethodStat()
public boolean removeMethodStat(MethodStat vMethodStat)
vMethodStat
-
public MethodStat removeMethodStatAt(int index)
index
-
public void setMethodStat(int index, MethodStat vMethodStat) throws java.lang.IndexOutOfBoundsException
index
- vMethodStat
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setMethodStat(MethodStat[] vMethodStatArray)
vMethodStatArray
- public void setName(java.lang.String name)
name
- the value of field 'name'.public static Stat 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 |