org.exolab.castor.builder.binding.xml
public class NamingType extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
NamingType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrefix()
Returns the value of field 'prefix'.
|
java.lang.String |
getSuffix()
Returns the value of field 'suffix'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setPrefix(java.lang.String prefix)
Sets the value of field 'prefix'.
|
void |
setSuffix(java.lang.String suffix)
Sets the value of field 'suffix'.
|
static NamingType |
unmarshalNamingType(java.io.Reader reader)
Method unmarshalNamingType.
|
void |
validate() |
public java.lang.String getPrefix()
public java.lang.String getSuffix()
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 setPrefix(java.lang.String prefix)
prefix
- the value of field 'prefix'.public void setSuffix(java.lang.String suffix)
suffix
- the value of field 'suffix'.public static NamingType unmarshalNamingType(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