Class EnumMember
java.lang.Object
org.exolab.castor.builder.binding.xml.EnumMember
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of field 'javaName'.getValue()
Returns the value of field 'value'.boolean
isValid()
Method isValid.void
void
marshal
(ContentHandler handler) void
setJavaName
(String javaName) Sets the value of field 'javaName'.void
Sets the value of field 'value'.static EnumMember
unmarshalEnumMember
(Reader reader) Method unmarshalEnumMember.void
validate()
-
Constructor Details
-
EnumMember
public EnumMember()
-
-
Method Details
-
getJavaName
Returns the value of field 'javaName'.- Returns:
- the value of field 'JavaName'.
-
getValue
-
isValid
public boolean isValid()Method isValid.- Returns:
- true if this object is valid according to the schema
-
marshal
- Parameters:
out
-- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler
-- Throws:
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 marshaling
-
setJavaName
Sets the value of field 'javaName'.- Parameters:
javaName
- the value of field 'javaName'.
-
setValue
Sets the value of field 'value'.- Parameters:
value
- the value of field 'value'.
-
unmarshalEnumMember
public static EnumMember unmarshalEnumMember(Reader reader) throws MarshalException, ValidationException Method unmarshalEnumMember.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.EnumMember
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
validate
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-