org.exolab.castor.builder.binding

Class PackageTypeChoice

Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:07:53 $
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()
void
marshal(java.io.Writer out)
void
marshal(org.xml.sax.ContentHandler handler)
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)
void
validate()

Constructor Details

PackageTypeChoice

public PackageTypeChoice()

Method Details

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()

marshal

public void marshal(java.io.Writer out)
            throws MarshalException,
                   ValidationException
Parameters:
out -

marshal

public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException,
                   MarshalException,
                   ValidationException
Parameters:
handler -

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
Parameters:
reader -

validate

public void validate()
            throws ValidationException

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