org.exolab.castor.builder.binding.xml

Class NamingType

Implemented Interfaces:
java.io.Serializable

public class NamingType
extends java.lang.Object
implements java.io.Serializable

Class NamingType.
Version:
$Revision: 6766 $ $Date$
See Also:
Serialized Form

Constructor Summary

NamingType()

Method Summary

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()

Constructor Details

NamingType

public NamingType()

Method Details

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 marshaling
ValidationException - 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:
ValidationException - if this object is an invalid instance according to the schema
MarshalException - 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.NamingType
Throws:
MarshalException - if object is null or if any SAXException is thrown during marshaling
ValidationException - 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

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com