org.exolab.castor.builder.binding.xml
Class NamingType

java.lang.Object
  extended by 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: 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(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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingType

public NamingType()
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 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:
java.io.IOException - if an IOException occurs during marshaling
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-2007. All rights reserved http://www.intalio.com