org.opennms.netmgt.config.rrd
Class Line
java.lang.Object
org.opennms.netmgt.config.rrd.GraphLine
org.opennms.netmgt.config.rrd.Line
- All Implemented Interfaces:
- Serializable
public class Line
- extends GraphLine
- implements Serializable
Class Line.
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
|
Constructor Summary |
Line()
|
| Methods inherited from class org.opennms.netmgt.config.rrd.GraphLine |
deleteValue1, deleteValue2, deleteWidth, getColor, getDatasource, getLegend, getTime1, getTime2, getValue1, getValue2, getWidth, hasValue1, hasValue2, hasWidth, setColor, setDatasource, setLegend, setTime1, setTime2, setValue1, setValue2, setWidth |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Line
public Line()
isValid
public boolean isValid()
- Method isValid.
- Overrides:
isValid in class GraphLine
- Returns:
- true if this object is valid according to the schema
marshal
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal in class GraphLine
- Parameters:
out -
- Throws:
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
marshal
public void marshal(ContentHandler handler)
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Overrides:
marshal in class GraphLine
- Parameters:
handler -
- Throws:
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 marshaling
unmarshal
public static GraphLine unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Method unmarshal.
- Parameters:
reader -
- Returns:
- the unmarshaled
org.opennms.netmgt.config.rrd.GraphLine
- Throws:
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
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate in class GraphLine
- Throws:
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
Copyright © 2009. All Rights Reserved.