org.opennms.netmgt.config.rrd
Class Font

java.lang.Object
  extended by org.opennms.netmgt.config.rrd.Font
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Default_font, Title_font

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

Class Font.

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

Constructor Summary
Font()
           
 
Method Summary
 void deleteSize()
          Method deleteSize
 java.lang.String getName()
          Returns the value of field 'name'.
 int getSize()
          Returns the value of field 'size'.
 FontStyle getStyle()
          Returns the value of field 'style'.
 boolean hasSize()
          Method hasSize
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setSize(int size)
          Sets the value of field 'size'.
 void setStyle(FontStyle style)
          Sets the value of field 'style'.
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

Font

public Font()
Method Detail

deleteSize

public void deleteSize()
Method deleteSize


getName

public java.lang.String getName()
Returns the value of field 'name'.

Returns:
String

getSize

public int getSize()
Returns the value of field 'size'.

Returns:
int

getStyle

public FontStyle getStyle()
Returns the value of field 'style'.

Returns:
FontStyle

hasSize

public boolean hasSize()
Method hasSize

Returns:
boolean

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

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.

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

setSize

public void setSize(int size)
Sets the value of field 'size'.

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

setStyle

public void setStyle(FontStyle style)
Sets the value of field 'style'.

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

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.