public class LabelSet
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
LabelSet() |
Modifier and Type | Method and Description |
---|---|
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
|
public void addLabel(Label vLabel) throws java.lang.IndexOutOfBoundsException
vLabel
- java.lang.IndexOutOfBoundsException
public void addLabel(int index, Label vLabel) throws java.lang.IndexOutOfBoundsException
index
- vLabel
- java.lang.IndexOutOfBoundsException
public java.util.Enumeration enumerateLabel()
public java.lang.String getClassName()
public Label getLabel(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
public Label[] getLabel()
public int getLabelCount()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void removeAllLabel()
public Label removeLabel(int index)
index
- public void setClassName(java.lang.String className)
className
- the value of field 'className'.public void setLabel(int index, Label vLabel) throws java.lang.IndexOutOfBoundsException
index
- vLabel
- java.lang.IndexOutOfBoundsException
public void setLabel(Label[] labelArray)
labelArray
- public static java.lang.Object unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
- org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException