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 |
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.
org.exolab.castor.builder.binding.NamingXMLType.NamingXMLType | ( | ) |
NamingType org.exolab.castor.builder.binding.NamingXMLType.getComplexTypeName | ( | ) |
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'.
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'.
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 |
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 |
handler |
void org.exolab.castor.builder.binding.NamingXMLType.setComplexTypeName | ( | NamingType | complexTypeName | ) |
Sets the value of field 'complexTypeName'.
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'.
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'.
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] |
reader |
void org.exolab.castor.builder.binding.NamingXMLType.validate | ( | ) | throws org.exolab.castor.xml.ValidationException |
Referenced by org.exolab.castor.builder.binding.NamingXMLType.isValid().