|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.binding.xml.EnumMember
public class EnumMember
Class EnumMember.
Constructor Summary | |
---|---|
EnumMember()
|
Method Summary | |
---|---|
java.lang.String |
getJavaName()
Returns the value of field 'javaName'. |
java.lang.String |
getValue()
Returns the value of field 'value'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setJavaName(java.lang.String javaName)
Sets the value of field 'javaName'. |
void |
setValue(java.lang.String value)
Sets the value of field 'value'. |
static EnumMember |
unmarshalEnumMember(java.io.Reader reader)
Method unmarshalEnumMember. |
void |
validate()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumMember()
Method Detail |
---|
public java.lang.String getJavaName()
public java.lang.String getValue()
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
- if an IOException occurs during
marshaling
ValidationException
- if this
object is an invalid instance according to the schema
MarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setJavaName(java.lang.String javaName)
javaName
- the value of field 'javaName'.public void setValue(java.lang.String value)
value
- the value of field 'value'.public static EnumMember unmarshalEnumMember(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
- if object is
null or if any SAXException is thrown during marshaling
ValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
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 |