|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sourceforge.mbeanmonitoring.report.castor.Mbean
public class Mbean
Class Mbean.
Constructor Summary | |
---|---|
Mbean()
|
Method Summary | |
---|---|
void |
addAttribute(Attribute vAttribute)
|
void |
addAttribute(int index,
Attribute vAttribute)
|
java.util.Enumeration |
enumerateAttribute()
Method enumerateAttribute. |
Attribute[] |
getAttribute()
Method getAttribute.Returns the contents of the collection in an Array. |
Attribute |
getAttribute(int index)
Method getAttribute. |
int |
getAttributeCount()
Method getAttributeCount. |
MbeanDomainType |
getDomain()
Returns the value of field 'domain'. |
java.lang.String |
getFilename()
Returns the value of field 'filename'. |
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 |
removeAllAttribute()
|
boolean |
removeAttribute(Attribute vAttribute)
Method removeAttribute. |
Attribute |
removeAttributeAt(int index)
Method removeAttributeAt. |
void |
setAttribute(Attribute[] vAttributeArray)
|
void |
setAttribute(int index,
Attribute vAttribute)
|
void |
setDomain(MbeanDomainType domain)
Sets the value of field 'domain'. |
void |
setFilename(java.lang.String filename)
Sets the value of field 'filename'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
static Mbean |
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 Mbean()
Method Detail |
---|
public void addAttribute(Attribute vAttribute) throws java.lang.IndexOutOfBoundsException
vAttribute
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addAttribute(int index, Attribute vAttribute) throws java.lang.IndexOutOfBoundsException
index
- vAttribute
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration enumerateAttribute()
public Attribute getAttribute(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic Attribute[] getAttribute()
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 getAttributeCount()
public MbeanDomainType getDomain()
public java.lang.String getFilename()
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 removeAllAttribute()
public boolean removeAttribute(Attribute vAttribute)
vAttribute
-
public Attribute removeAttributeAt(int index)
index
-
public void setAttribute(int index, Attribute vAttribute) throws java.lang.IndexOutOfBoundsException
index
- vAttribute
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setAttribute(Attribute[] vAttributeArray)
vAttributeArray
- public void setDomain(MbeanDomainType domain)
domain
- the value of field 'domain'.public void setFilename(java.lang.String filename)
filename
- the value of field 'filename'.public void setName(java.lang.String name)
name
- the value of field 'name'.public static Mbean 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 |