Public Member Functions | Static Public Member Functions

org.exolab.castor.builder.binding.NamingXMLType Class Reference

List of all members.

Public Member Functions

 NamingXMLType ()
NamingType getComplexTypeName ()
NamingType getElementName ()
NamingType getModelGroupName ()
boolean isValid ()
void marshal (java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
void marshal (org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
void setComplexTypeName (NamingType complexTypeName)
void setElementName (NamingType elementName)
void setModelGroupName (NamingType modelGroupName)
void validate () throws org.exolab.castor.xml.ValidationException

Static Public Member Functions

static
org.exolab.castor.builder.binding.NamingXMLType 
unmarshalNamingXMLType (java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException

Detailed Description

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:
1.1.1.1
Date:
2003/03/03 07:07:53

Constructor & Destructor Documentation

org.exolab.castor.builder.binding.NamingXMLType.NamingXMLType (  ) 

Member Function Documentation

NamingType org.exolab.castor.builder.binding.NamingXMLType.getComplexTypeName (  ) 

Returns the value of field 'complexTypeName'.

Returns:
the value of field 'complexTypeName'.

Referenced by org.exolab.castor.builder.binding.NamingXMLTypeDescriptor.NamingXMLTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.setView().

NamingType org.exolab.castor.builder.binding.NamingXMLType.getElementName (  ) 

Returns the value of field 'elementName'.

Returns:
the value of field 'elementName'.

Referenced by org.exolab.castor.builder.binding.NamingXMLTypeDescriptor.NamingXMLTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.setView().

NamingType org.exolab.castor.builder.binding.NamingXMLType.getModelGroupName (  ) 

Returns the value of field 'modelGroupName'.

Returns:
the value of field 'modelGroupName'.

Referenced by org.exolab.castor.builder.binding.NamingXMLTypeDescriptor.NamingXMLTypeDescriptor(), and org.exolab.castor.builder.binding.XMLBindingComponent.setView().

boolean org.exolab.castor.builder.binding.NamingXMLType.isValid (  ) 
void org.exolab.castor.builder.binding.NamingXMLType.marshal ( java.io.Writer  out  )  throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
Parameters:
out 
void org.exolab.castor.builder.binding.NamingXMLType.marshal ( org.xml.sax.ContentHandler  handler  )  throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
Parameters:
handler 
void org.exolab.castor.builder.binding.NamingXMLType.setComplexTypeName ( NamingType  complexTypeName  ) 

Sets the value of field 'complexTypeName'.

Parameters:
complexTypeName the value of field 'complexTypeName'.

Referenced by org.exolab.castor.builder.binding.NamingXMLTypeDescriptor.NamingXMLTypeDescriptor().

void org.exolab.castor.builder.binding.NamingXMLType.setElementName ( NamingType  elementName  ) 

Sets the value of field 'elementName'.

Parameters:
elementName the value of field 'elementName'.

Referenced by org.exolab.castor.builder.binding.NamingXMLTypeDescriptor.NamingXMLTypeDescriptor().

void org.exolab.castor.builder.binding.NamingXMLType.setModelGroupName ( NamingType  modelGroupName  ) 

Sets the value of field 'modelGroupName'.

Parameters:
modelGroupName the value of field 'modelGroupName'.

Referenced by org.exolab.castor.builder.binding.NamingXMLTypeDescriptor.NamingXMLTypeDescriptor().

static org.exolab.castor.builder.binding.NamingXMLType org.exolab.castor.builder.binding.NamingXMLType.unmarshalNamingXMLType ( java.io.Reader  reader  )  throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException [static]
Parameters:
reader 
void org.exolab.castor.builder.binding.NamingXMLType.validate (  )  throws org.exolab.castor.xml.ValidationException

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties