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

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

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

Class LabelSet.

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

Constructor Summary
LabelSet()
           
 
Method Summary
 void addLabel(int index, Label vLabel)
          Method addLabel
 void addLabel(Label vLabel)
          Method addLabel
 java.util.Enumeration enumerateLabel()
          Method enumerateLabel
 java.lang.String getClassName()
          Returns the value of field 'className'.
 Label[] getLabel()
          Method getLabel
 Label getLabel(int index)
          Method getLabel
 int getLabelCount()
          Method getLabelCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllLabel()
          Method removeAllLabel
 Label removeLabel(int index)
          Method removeLabel
 void setClassName(java.lang.String className)
          Sets the value of field 'className'.
 void setLabel(int index, Label vLabel)
          Method setLabel
 void setLabel(Label[] labelArray)
          Method setLabel
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

LabelSet

public LabelSet()
Method Detail

addLabel

public void addLabel(Label vLabel)
              throws java.lang.IndexOutOfBoundsException
Method addLabel

Parameters:
vLabel -
Throws:
java.lang.IndexOutOfBoundsException

addLabel

public void addLabel(int index,
                     Label vLabel)
              throws java.lang.IndexOutOfBoundsException
Method addLabel

Parameters:
index -
vLabel -
Throws:
java.lang.IndexOutOfBoundsException

enumerateLabel

public java.util.Enumeration enumerateLabel()
Method enumerateLabel


getClassName

public java.lang.String getClassName()
Returns the value of field 'className'.

Returns:
the value of field 'className'.

getLabel

public Label getLabel(int index)
               throws java.lang.IndexOutOfBoundsException
Method getLabel

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getLabel

public Label[] getLabel()
Method getLabel


getLabelCount

public int getLabelCount()
Method getLabelCount


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

removeAllLabel

public void removeAllLabel()
Method removeAllLabel


removeLabel

public Label removeLabel(int index)
Method removeLabel

Parameters:
index -

setClassName

public void setClassName(java.lang.String className)
Sets the value of field 'className'.

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

setLabel

public void setLabel(int index,
                     Label vLabel)
              throws java.lang.IndexOutOfBoundsException
Method setLabel

Parameters:
index -
vLabel -
Throws:
java.lang.IndexOutOfBoundsException

setLabel

public void setLabel(Label[] labelArray)
Method setLabel

Parameters:
labelArray -

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