public class GraphLine extends Object implements Serializable
Constructor and Description |
---|
GraphLine() |
Modifier and Type | Method and Description |
---|---|
void |
deleteValue1() |
void |
deleteValue2() |
void |
deleteWidth() |
String |
getColor()
Returns the value of field 'color'.
|
String |
getDatasource()
Returns the value of field 'datasource'.
|
String |
getLegend()
Returns the value of field 'legend'.
|
String |
getTime1()
Returns the value of field 'time1'.
|
String |
getTime2()
Returns the value of field 'time2'.
|
double |
getValue1()
Returns the value of field 'value1'.
|
double |
getValue2()
Returns the value of field 'value2'.
|
int |
getWidth()
Returns the value of field 'width'.
|
boolean |
hasValue1()
Method hasValue1.
|
boolean |
hasValue2()
Method hasValue2.
|
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 |
setDatasource(String datasource)
Sets the value of field 'datasource'.
|
void |
setLegend(String legend)
Sets the value of field 'legend'.
|
void |
setTime1(String time1)
Sets the value of field 'time1'.
|
void |
setTime2(String time2)
Sets the value of field 'time2'.
|
void |
setValue1(double value1)
Sets the value of field 'value1'.
|
void |
setValue2(double value2)
Sets the value of field 'value2'.
|
void |
setWidth(int width)
Sets the value of field 'width'.
|
static GraphLine |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteValue1()
public void deleteValue2()
public void deleteWidth()
public String getColor()
public String getDatasource()
public String getLegend()
public String getTime1()
public String getTime2()
public double getValue1()
public double getValue2()
public int getWidth()
public boolean hasValue1()
public boolean hasValue2()
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 marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
- if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException
- if this
object is an invalid instance according to the schemaorg.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 setDatasource(String datasource)
datasource
- the value of field 'datasource'.public void setLegend(String legend)
legend
- the value of field 'legend'.public void setTime1(String time1)
time1
- the value of field 'time1'.public void setTime2(String time2)
time2
- the value of field 'time2'.public void setValue1(double value1)
value1
- the value of field 'value1'.public void setValue2(double value2)
value2
- the value of field 'value2'.public void setWidth(int width)
width
- the value of field 'width'.public static GraphLine 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 marshalingorg.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 schemaCopyright © 2017. All rights reserved.