Class NamingType
java.lang.Object
org.exolab.castor.builder.binding.xml.NamingType
- All Implemented Interfaces:
Serializable
Class NamingType.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of field 'prefix'.Returns the value of field 'suffix'.boolean
isValid()
Method isValid.void
void
marshal
(ContentHandler handler) void
Sets the value of field 'prefix'.void
Sets the value of field 'suffix'.static NamingType
unmarshalNamingType
(Reader reader) Method unmarshalNamingType.void
validate()
-
Constructor Details
-
NamingType
public NamingType()
-
-
Method Details
-
getPrefix
Returns the value of field 'prefix'.- Returns:
- the value of field 'Prefix'.
-
getSuffix
Returns the value of field 'suffix'.- Returns:
- the value of field 'Suffix'.
-
isValid
public boolean isValid()Method isValid.- Returns:
- true if this object is valid according to the schema
-
marshal
- Parameters:
out
-- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler
-- Throws:
IOException
- if an IOException occurs during marshalingValidationException
- if this object is an invalid instance according to the schemaMarshalException
- if object is null or if any SAXException is thrown during marshaling
-
setPrefix
Sets the value of field 'prefix'.- Parameters:
prefix
- the value of field 'prefix'.
-
setSuffix
Sets the value of field 'suffix'.- Parameters:
suffix
- the value of field 'suffix'.
-
unmarshalNamingType
public static NamingType unmarshalNamingType(Reader reader) throws MarshalException, ValidationException Method unmarshalNamingType.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.NamingType
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
validate
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-