Class NamingType
- java.lang.Object
-
- org.exolab.castor.builder.binding.xml.NamingType
-
- All Implemented Interfaces:
java.io.Serializable
public class NamingType extends java.lang.Object implements java.io.Serializable
Class NamingType.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NamingType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(java.io.Writer out)
void
marshal(org.xml.sax.ContentHandler handler)
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()
-
-
-
Method Detail
-
getPrefix
public java.lang.String getPrefix()
Returns the value of field 'prefix'.- Returns:
- the value of field 'Prefix'.
-
getSuffix
public java.lang.String getSuffix()
Returns the value of field 'suffix'.- Returns:
- the value of field 'Suffix'.
-
isValid
public boolean isValid()
Method isValid.- Returns:
- true if this object is valid according to the schema
-
marshal
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
- 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(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
- Parameters:
handler
-- Throws:
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 marshaling
-
setPrefix
public void setPrefix(java.lang.String prefix)
Sets the value of field 'prefix'.- Parameters:
prefix
- the value of field 'prefix'.
-
setSuffix
public void setSuffix(java.lang.String suffix)
Sets the value of field 'suffix'.- Parameters:
suffix
- the value of field 'suffix'.
-
unmarshalNamingType
public static NamingType unmarshalNamingType(java.io.Reader reader) throws MarshalException, ValidationException
Method unmarshalNamingType.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.NamingType
- 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
public void validate() throws ValidationException
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-
-