|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.castor.builder.binding.xml.NamingXMLType
public class NamingXMLType
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.
| Constructor Summary | |
|---|---|
NamingXMLType()
|
|
| Method Summary | |
|---|---|
NamingType |
getComplexTypeName()
Returns the value of field 'complexTypeName'. |
NamingType |
getElementName()
Returns the value of field 'elementName'. |
NamingType |
getModelGroupName()
Returns the value of field 'modelGroupName'. |
boolean |
isValid()
Method isValid. |
void |
marshal(org.xml.sax.ContentHandler handler)
|
void |
marshal(java.io.Writer out)
|
void |
setComplexTypeName(NamingType complexTypeName)
Sets the value of field 'complexTypeName'. |
void |
setElementName(NamingType elementName)
Sets the value of field 'elementName'. |
void |
setModelGroupName(NamingType modelGroupName)
Sets the value of field 'modelGroupName'. |
static NamingXMLType |
unmarshalNamingXMLType(java.io.Reader reader)
Method unmarshalNamingXMLType. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NamingXMLType()
| Method Detail |
|---|
public NamingType getComplexTypeName()
public NamingType getElementName()
public NamingType getModelGroupName()
public boolean isValid()
public void marshal(java.io.Writer out)
throws MarshalException,
ValidationException
out -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
MarshalException,
ValidationException
handler -
java.io.IOException - if an IOException occurs during
marshaling
ValidationException - if this
object is an invalid instance according to the schema
MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setComplexTypeName(NamingType complexTypeName)
complexTypeName - the value of field 'complexTypeName'.public void setElementName(NamingType elementName)
elementName - the value of field 'elementName'.public void setModelGroupName(NamingType modelGroupName)
modelGroupName - the value of field 'modelGroupName'.
public static NamingXMLType unmarshalNamingXMLType(java.io.Reader reader)
throws MarshalException,
ValidationException
reader -
MarshalException - if object is
null or if any SAXException is thrown during marshaling
ValidationException - if this
object is an invalid instance according to the schema
public void validate()
throws ValidationException
ValidationException - if this
object is an invalid instance according to the schema
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||