|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.xml.rtc.Category
public class Category
A category
| Constructor Summary | |
|---|---|
Category()
|
|
| Method Summary | |
|---|---|
void |
addNode(int index,
Node vNode)
|
void |
addNode(Node vNode)
|
void |
deleteCatvalue()
|
Enumeration<Node> |
enumerateNode()
Method enumerateNode. |
String |
getCatlabel()
Returns the value of field 'catlabel'. |
double |
getCatvalue()
Returns the value of field 'catvalue'. |
Node[] |
getNode()
Method getNode.Returns the contents of the collection in an Array. |
Node |
getNode(int index)
Method getNode. |
List<Node> |
getNodeCollection()
Method getNodeCollection.Returns a reference to '_nodeList'. |
int |
getNodeCount()
Method getNodeCount. |
boolean |
hasCatvalue()
Method hasCatvalue. |
boolean |
isValid()
Method isValid. |
Iterator<Node> |
iterateNode()
Method iterateNode. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
removeAllNode()
|
boolean |
removeNode(Node vNode)
Method removeNode. |
Node |
removeNodeAt(int index)
Method removeNodeAt. |
void |
setCatlabel(String catlabel)
Sets the value of field 'catlabel'. |
void |
setCatvalue(double catvalue)
Sets the value of field 'catvalue'. |
void |
setNode(int index,
Node vNode)
|
void |
setNode(List<Node> vNodeList)
Sets the value of '_nodeList' by copying the given Vector. |
void |
setNode(Node[] vNodeArray)
|
void |
setNodeCollection(List<Node> nodeList)
Deprecated. |
static Category |
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 Category()
| Method Detail |
|---|
public void addNode(Node vNode)
throws IndexOutOfBoundsException
vNode -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collection
public void addNode(int index,
Node vNode)
throws IndexOutOfBoundsException
index - vNode -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void deleteCatvalue()
public Enumeration<Node> enumerateNode()
public String getCatlabel()
public double getCatvalue()
public Node getNode(int index)
throws IndexOutOfBoundsException
index -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic Node[] getNode()
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<Node> getNodeCollection()
public int getNodeCount()
public boolean hasCatvalue()
public boolean isValid()
public Iterator<Node> iterateNode()
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 removeAllNode()
public boolean removeNode(Node vNode)
vNode -
public Node removeNodeAt(int index)
index -
public void setCatlabel(String catlabel)
catlabel - the value of field 'catlabel'.public void setCatvalue(double catvalue)
catvalue - the value of field 'catvalue'.
public void setNode(int index,
Node vNode)
throws IndexOutOfBoundsException
index - vNode -
IndexOutOfBoundsException - if the index
given is outside the bounds of the collectionpublic void setNode(Node[] vNodeArray)
vNodeArray - public void setNode(List<Node> vNodeList)
vNodeList - the Vector to copy.public void setNodeCollection(List<Node> nodeList)
nodeList - the Vector to set.
public static Category 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 | ||||||||