org.exolab.castor.builder.binding

Class PackageType

public class PackageType extends Object implements Serializable

Mappings between a namespace and a java package can directly be defined in the binding file. This element allows also the mapping between a package and a schemaLocation.

Version: $Revision: 5951 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $

Constructor Summary
PackageType()
Method Summary
StringgetName()
Returns the value of field 'name'.
PackageTypeChoicegetPackageTypeChoice()
Returns the value of field 'packageTypeChoice'.
booleanisValid()
voidmarshal(Writer out)
voidmarshal(ContentHandler handler)
voidsetName(String name)
Sets the value of field 'name'.
voidsetPackageTypeChoice(PackageTypeChoice packageTypeChoice)
Sets the value of field 'packageTypeChoice'.
static PackageTypeunmarshalPackageType(Reader reader)
voidvalidate()

Constructor Detail

PackageType

public PackageType()

Method Detail

getName

public String getName()
Returns the value of field 'name'.

Returns: the value of field 'name'.

getPackageTypeChoice

public PackageTypeChoice getPackageTypeChoice()
Returns the value of field 'packageTypeChoice'.

Returns: the value of field 'packageTypeChoice'.

isValid

public boolean isValid()

marshal

public void marshal(Writer out)

Parameters: out

marshal

public void marshal(ContentHandler handler)

Parameters: handler

setName

public void setName(String name)
Sets the value of field 'name'.

Parameters: name the value of field 'name'.

setPackageTypeChoice

public void setPackageTypeChoice(PackageTypeChoice packageTypeChoice)
Sets the value of field 'packageTypeChoice'.

Parameters: packageTypeChoice the value of field 'packageTypeChoice'.

unmarshalPackageType

public static PackageType unmarshalPackageType(Reader reader)

Parameters: reader

validate

public void validate()
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com