public class Label
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
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
|
public void deleteSize()
public java.lang.String getId()
public int getSize()
public boolean hasSize()
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 setId(java.lang.String id)
id
- the value of field 'id'.public void setSize(int size)
size
- the value of field 'size'.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