|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.config.rrd.GraphHrule
public class GraphHrule
Class GraphHrule.
| Constructor Summary | |
|---|---|
GraphHrule()
|
|
| Method Summary | |
|---|---|
void |
deleteValue()
|
void |
deleteWidth()
|
String |
getColor()
Returns the value of field 'color'. |
String |
getLegend()
Returns the value of field 'legend'. |
double |
getValue()
Returns the value of field 'value'. |
int |
getWidth()
Returns the value of field 'width'. |
boolean |
hasValue()
Method hasValue. |
boolean |
hasWidth()
Method hasWidth. |
boolean |
isValid()
Method isValid. |
void |
marshal(ContentHandler handler)
|
void |
marshal(Writer out)
|
void |
setColor(String color)
Sets the value of field 'color'. |
void |
setLegend(String legend)
Sets the value of field 'legend'. |
void |
setValue(double value)
Sets the value of field 'value'. |
void |
setWidth(int width)
Sets the value of field 'width'. |
static GraphHrule |
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 GraphHrule()
| Method Detail |
|---|
public void deleteValue()
public void deleteWidth()
public String getColor()
public String getLegend()
public double getValue()
public int getWidth()
public boolean hasValue()
public boolean hasWidth()
public boolean isValid()
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 setColor(String color)
color - the value of field 'color'.public void setLegend(String legend)
legend - the value of field 'legend'.public void setValue(double value)
value - the value of field 'value'.public void setWidth(int width)
width - the value of field 'width'.
public static GraphHrule 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 | ||||||||