Class PackageTypeChoice
java.lang.Object
org.exolab.castor.builder.binding.xml.PackageTypeChoice
- All Implemented Interfaces:
Serializable
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of field 'namespace'.Returns the value of field 'schemaLocation'.boolean
isValid()
Method isValid.void
void
marshal
(ContentHandler handler) void
setNamespace
(String namespace) Sets the value of field 'namespace'.void
setSchemaLocation
(String schemaLocation) Sets the value of field 'schemaLocation'.static PackageTypeChoice
unmarshalPackageTypeChoice
(Reader reader) Method unmarshalPackageTypeChoice.void
validate()
-
Constructor Details
-
PackageTypeChoice
public PackageTypeChoice()
-
-
Method Details
-
getNamespace
Returns the value of field 'namespace'.- Returns:
- the value of field 'Namespace'.
-
getSchemaLocation
Returns the value of field 'schemaLocation'.- Returns:
- the value of field 'SchemaLocation'.
-
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
-
setNamespace
Sets the value of field 'namespace'.- Parameters:
namespace
- the value of field 'namespace'.
-
setSchemaLocation
Sets the value of field 'schemaLocation'.- Parameters:
schemaLocation
- the value of field 'schemaLocation'.
-
unmarshalPackageTypeChoice
public static PackageTypeChoice unmarshalPackageTypeChoice(Reader reader) throws MarshalException, ValidationException Method unmarshalPackageTypeChoice.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.builder.binding.xml.PackageTypeChoice
- 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
-