public class Label extends Object implements Serializable
Constructor and Description |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
void |
deleteSize()
Method deleteSize
|
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(ContentHandler handler)
Method marshal
|
void |
marshal(Writer out)
Method marshal
|
void |
setId(String id)
Sets the value of field 'id'.
|
void |
setSize(int size)
Sets the value of field 'size'.
|
static Object |
unmarshal(Reader reader)
Method unmarshal
|
void |
validate()
Method validate
|
public void deleteSize()
public String getId()
public int getSize()
public boolean hasSize()
public boolean isValid()
public void marshal(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(ContentHandler handler) throws IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
- IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setId(String id)
id
- the value of field 'id'.public void setSize(int size)
size
- the value of field 'size'.public static Object unmarshal(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