org.opennms.netmgt.config.charts
Class Rgb

java.lang.Object
  extended by org.opennms.netmgt.config.charts.Rgb
All Implemented Interfaces:
java.io.Serializable

public class Rgb
extends java.lang.Object
implements java.io.Serializable

Class Rgb.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Rgb()
           
 
Method Summary
 Blue getBlue()
          Returns the value of field 'blue'.
 Green getGreen()
          Returns the value of field 'green'.
 Red getRed()
          Returns the value of field 'red'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setBlue(Blue blue)
          Sets the value of field 'blue'.
 void setGreen(Green green)
          Sets the value of field 'green'.
 void setRed(Red red)
          Sets the value of field 'red'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rgb

public Rgb()
Method Detail

getBlue

public Blue getBlue()
Returns the value of field 'blue'.

Returns:
Blue

getGreen

public Green getGreen()
Returns the value of field 'green'.

Returns:
Green

getRed

public Red getRed()
Returns the value of field 'red'.

Returns:
Red

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setBlue

public void setBlue(Blue blue)
Sets the value of field 'blue'.

Parameters:
blue - the value of field 'blue'.

setGreen

public void setGreen(Green green)
Sets the value of field 'green'.

Parameters:
green - the value of field 'green'.

setRed

public void setRed(Red red)
Sets the value of field 'red'.

Parameters:
red - the value of field 'red'.

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Object
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2007. All Rights Reserved.