|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kemet.orm.castor.Value
public class Value
Class Value.
| Constructor Summary | |
|---|---|
Value()
|
|
Value(java.lang.String defaultValue)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContent()
Returns the value of field 'content'. |
ValueModeType |
getMode()
Returns the value of field 'mode'. |
ValuePersonType |
getPerson()
Returns the value of field 'person'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setContent(java.lang.String content)
Sets the value of field 'content'. |
void |
setMode(ValueModeType mode)
Sets the value of field 'mode'. |
void |
setPerson(ValuePersonType person)
Sets the value of field 'person'. |
static Value |
unmarshal(java.io.Reader reader)
Method unmarshal. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Value()
public Value(java.lang.String defaultValue)
| Method Detail |
|---|
public java.lang.String getContent()
public ValueModeType getMode()
public ValuePersonType getPerson()
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 - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
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 - if an IOException occurs during
marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setContent(java.lang.String content)
content - the value of field 'content'.public void setMode(ValueModeType mode)
mode - the value of field 'mode'.public void setPerson(ValuePersonType person)
person - the value of field 'person'.
public static Value unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
reader -
org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshaling
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schema
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||