com.iver.andami.plugins.config.generate
Class Label

java.lang.Object
  extended bycom.iver.andami.plugins.config.generate.Label
All Implemented Interfaces:
java.io.Serializable

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

Class Label.

Version:
$Revision: 1935 $ $Date: 2005-05-13 13:00:46 +0200 (Fri, 13 May 2005) $
See Also:
Serialized Form

Constructor Summary
Label()
           
 
Method Summary
 void deleteSize()
          Method deleteSize
 java.lang.String getId()
          Returns the value of field 'id'.
 int getSize()
          Returns the value of field 'size'.
 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 setId(java.lang.String id)
          Sets the value of field 'id'.
 void setSize(int size)
          Sets the value of field 'size'.
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Label

public Label()
Method Detail

deleteSize

public void deleteSize()
Method deleteSize


getId

public java.lang.String getId()
Returns the value of field 'id'.

Returns:
the value of field 'id'.

getSize

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

Returns:
the value of field 'size'.

hasSize

public boolean hasSize()
Method hasSize


isValid

public boolean isValid()
Method isValid


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

setId

public void setId(java.lang.String id)
Sets the value of field 'id'.

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

setSize

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

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

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 -
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