org.exolab.castor.builder.binding

Class NamingXMLType

public class NamingXMLType extends Object implements Serializable

This element allows to define naming convention when naming a complexType, element or modelGroup. Indeed the user can decide of a prefix to add to each class name as well as a suffix. This naming style won't affect the names entered in the binding file but only the XML Names.

Version: $Revision: 5951 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $

Constructor Summary
NamingXMLType()
Method Summary
NamingTypegetComplexTypeName()
Returns the value of field 'complexTypeName'.
NamingTypegetElementName()
Returns the value of field 'elementName'.
NamingTypegetModelGroupName()
Returns the value of field 'modelGroupName'.
booleanisValid()
voidmarshal(Writer out)
voidmarshal(ContentHandler handler)
voidsetComplexTypeName(NamingType complexTypeName)
Sets the value of field 'complexTypeName'.
voidsetElementName(NamingType elementName)
Sets the value of field 'elementName'.
voidsetModelGroupName(NamingType modelGroupName)
Sets the value of field 'modelGroupName'.
static NamingXMLTypeunmarshalNamingXMLType(Reader reader)
voidvalidate()

Constructor Detail

NamingXMLType

public NamingXMLType()

Method Detail

getComplexTypeName

public NamingType getComplexTypeName()
Returns the value of field 'complexTypeName'.

Returns: the value of field 'complexTypeName'.

getElementName

public NamingType getElementName()
Returns the value of field 'elementName'.

Returns: the value of field 'elementName'.

getModelGroupName

public NamingType getModelGroupName()
Returns the value of field 'modelGroupName'.

Returns: the value of field 'modelGroupName'.

isValid

public boolean isValid()

marshal

public void marshal(Writer out)

Parameters: out

marshal

public void marshal(ContentHandler handler)

Parameters: handler

setComplexTypeName

public void setComplexTypeName(NamingType complexTypeName)
Sets the value of field 'complexTypeName'.

Parameters: complexTypeName the value of field 'complexTypeName'.

setElementName

public void setElementName(NamingType elementName)
Sets the value of field 'elementName'.

Parameters: elementName the value of field 'elementName'.

setModelGroupName

public void setModelGroupName(NamingType modelGroupName)
Sets the value of field 'modelGroupName'.

Parameters: modelGroupName the value of field 'modelGroupName'.

unmarshalNamingXMLType

public static NamingXMLType unmarshalNamingXMLType(Reader reader)

Parameters: reader

validate

public void validate()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com