public class EnumMember
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
EnumMember() |
Modifier and Type | Method and Description |
---|---|
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() |
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 marshalingValidationException
- 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
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- 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 marshalingValidationException
- 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 schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com