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