org.exolab.castor.builder.binding

Class NamingType

Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:52 $
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(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)
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()

marshal

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

marshal

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

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 -

validate

public void validate()
            throws ValidationException

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