public class GraphHrule extends Object implements Serializable
Constructor and Description |
---|
GraphHrule() |
Modifier and Type | Method and Description |
---|---|
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() |
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 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 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 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.