org.exolab.castor.builder.binding
Class NamingType

java.lang.Object
  extended by org.exolab.castor.builder.binding.NamingType
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.2 $ $Date: 2005/03/05 13:41:43 $
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()
           
 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)
           
 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()

marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    MarshalException,
                    ValidationException
Parameters:
handler -
Throws:
java.io.IOException
MarshalException
ValidationException

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
Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Throws:
ValidationException


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