ca.quine.jcommons.freemind.xml
Class Font

java.lang.Object
  |
  +--ca.quine.jcommons.freemind.xml.Font
All Implemented Interfaces:
Serializable

public class Font
extends Object
implements Serializable

Class Font.

Version:
$Revision: 1.1 $ $Date: 2007/12/01 16:33:27 $
See Also:
Serialized Form

Constructor Summary
Font()
           
 
Method Summary
 void deleteSIZE()
          Method deleteSIZE
 FontBOLDType getBOLD()
          Returns the value of field 'BOLD'.
 FontITALICType getITALIC()
          Returns the value of field 'ITALIC'.
 String getNAME()
          Returns the value of field 'NAME'.
 int getSIZE()
          Returns the value of field 'SIZE'.
 boolean hasSIZE()
          Method hasSIZE
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setBOLD(FontBOLDType BOLD)
          Sets the value of field 'BOLD'.
 void setITALIC(FontITALICType ITALIC)
          Sets the value of field 'ITALIC'.
 void setNAME(String NAME)
          Sets the value of field 'NAME'.
 void setSIZE(int SIZE)
          Sets the value of field 'SIZE'.
static Font unmarshal(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


getBOLD

public FontBOLDType getBOLD()
Returns the value of field 'BOLD'.

Returns:
FontBOLDType

getITALIC

public FontITALICType getITALIC()
Returns the value of field 'ITALIC'.

Returns:
FontITALICType

getNAME

public String getNAME()
Returns the value of field 'NAME'.

Returns:
String

getSIZE

public int getSIZE()
Returns the value of field 'SIZE'.

Returns:
int

hasSIZE

public boolean hasSIZE()
Method hasSIZE

Returns:
boolean

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
IOException
MarshalException
ValidationException

setBOLD

public void setBOLD(FontBOLDType BOLD)
Sets the value of field 'BOLD'.

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

setITALIC

public void setITALIC(FontITALICType ITALIC)
Sets the value of field 'ITALIC'.

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

setNAME

public void setNAME(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'.

unmarshal

public static Font unmarshal(Reader reader)
                      throws MarshalException,
                             ValidationException
Method unmarshal

Parameters:
reader -
Returns:
Font
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

ValidationException