|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.builder.binding.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()
|
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)
|
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
ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
MarshalException
ValidationException
public 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
ValidationException
public void validate() throws ValidationException
ValidationException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |