org.exolab.castor.builder.binding.xml
Class PackageTypeChoice

java.lang.Object
  extended by org.exolab.castor.builder.binding.xml.PackageTypeChoice
All Implemented Interfaces:
java.io.Serializable

public class PackageTypeChoice
extends java.lang.Object
implements java.io.Serializable

Class PackageTypeChoice.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
PackageTypeChoice()
           
 
Method Summary
 java.lang.String getNamespace()
          Returns the value of field 'namespace'.
 java.lang.String getSchemaLocation()
          Returns the value of field 'schemaLocation'.
 boolean isValid()
          Method isValid.
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setNamespace(java.lang.String namespace)
          Sets the value of field 'namespace'.
 void setSchemaLocation(java.lang.String schemaLocation)
          Sets the value of field 'schemaLocation'.
static PackageTypeChoice unmarshalPackageTypeChoice(java.io.Reader reader)
          Method unmarshalPackageTypeChoice.
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageTypeChoice

public PackageTypeChoice()
Method Detail

getNamespace

public java.lang.String getNamespace()
Returns the value of field 'namespace'.

Returns:
the value of field 'Namespace'.

getSchemaLocation

public java.lang.String 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

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Parameters:
out -
Throws:
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

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    MarshalException,
                    ValidationException
Parameters:
handler -
Throws:
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 marshaling

setNamespace

public void setNamespace(java.lang.String namespace)
Sets the value of field 'namespace'.

Parameters:
namespace - the value of field 'namespace'.

setSchemaLocation

public void setSchemaLocation(java.lang.String schemaLocation)
Sets the value of field 'schemaLocation'.

Parameters:
schemaLocation - the value of field 'schemaLocation'.

unmarshalPackageTypeChoice

public static PackageTypeChoice unmarshalPackageTypeChoice(java.io.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 marshaling
ValidationException - if this object is an invalid instance according to the schema

validate

public void validate()
              throws ValidationException
Throws:
ValidationException - if this object is an invalid instance according to the schema


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com