java.io.Serializablepublic class EnumClassName
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description |
|---|---|
EnumClassName() |
|
EnumClassName(java.lang.String defaultValue) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getContent() |
Returns the value of field 'content'.
|
java.lang.String |
getPackage() |
Returns the value of field 'package'.
|
boolean |
isValid() |
Method isValid.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
setContent(java.lang.String content) |
Sets the value of field 'content'.
|
void |
setPackage(java.lang.String _package) |
Sets the value of field 'package'.
|
static EnumClassName |
unmarshalEnumClassName(java.io.Reader reader) |
Method unmarshalEnumClassName.
|
void |
validate() |
public EnumClassName()
public EnumClassName(java.lang.String defaultValue)
public java.lang.String getContent()
public java.lang.String getPackage()
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 setContent(java.lang.String content)
content - the value of field 'content'.public void setPackage(java.lang.String _package)
_package - package - the value of field 'package'.public static EnumClassName unmarshalEnumClassName(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