org.exolab.castor.builder.binding.xml

Class ComponentBindingTypeChoice

Implemented Interfaces:
java.io.Serializable

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

Class ComponentBindingTypeChoice.
Version:
$Revision: 6918 $ $Date$
See Also:
Serialized Form

Constructor Summary

ComponentBindingTypeChoice()

Method Summary

ContentMemberType
getContentMember()
Returns the value of field 'contentMember'.
EnumBindingType
getEnumDef()
Returns the value of field 'enumDef'.
Interface
getInterface()
Returns the value of field 'interface'.
ClassType
getJavaClass()
Returns the value of field 'javaClass'.
FieldType
getMember()
Returns the value of field 'member'.
boolean
isValid()
Method isValid.
void
marshal(java.io.Writer out)
void
marshal(org.xml.sax.ContentHandler handler)
void
setContentMember(ContentMemberType contentMember)
Sets the value of field 'contentMember'.
void
setEnumDef(EnumBindingType enumDef)
Sets the value of field 'enumDef'.
void
setInterface(Interface _interface)
Sets the value of field 'interface'.
void
setJavaClass(ClassType javaClass)
Sets the value of field 'javaClass'.
void
setMember(FieldType member)
Sets the value of field 'member'.
static ComponentBindingTypeChoice
unmarshalComponentBindingTypeChoice(java.io.Reader reader)
Method unmarshalComponentBindingTypeChoice.
void
validate()

Constructor Details

ComponentBindingTypeChoice

public ComponentBindingTypeChoice()

Method Details

getContentMember

public ContentMemberType getContentMember()
Returns the value of field 'contentMember'.
Returns:
the value of field 'ContentMember'.

getEnumDef

public EnumBindingType getEnumDef()
Returns the value of field 'enumDef'.
Returns:
the value of field 'EnumDef'.

getInterface

public Interface getInterface()
Returns the value of field 'interface'.
Returns:
the value of field 'Interface'.

getJavaClass

public ClassType getJavaClass()
Returns the value of field 'javaClass'.
Returns:
the value of field 'JavaClass'.

getMember

public FieldType getMember()
Returns the value of field 'member'.
Returns:
the value of field 'Member'.

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

setContentMember

public void setContentMember(ContentMemberType contentMember)
Sets the value of field 'contentMember'.
Parameters:
contentMember - the value of field 'contentMember'.

setEnumDef

public void setEnumDef(EnumBindingType enumDef)
Sets the value of field 'enumDef'.
Parameters:
enumDef - the value of field 'enumDef'.

setInterface

public void setInterface(Interface _interface)
Sets the value of field 'interface'.
Parameters:
_interface -

setJavaClass

public void setJavaClass(ClassType javaClass)
Sets the value of field 'javaClass'.
Parameters:
javaClass - the value of field 'javaClass'.

setMember

public void setMember(FieldType member)
Sets the value of field 'member'.
Parameters:
member - the value of field 'member'.

unmarshalComponentBindingTypeChoice

public static ComponentBindingTypeChoice unmarshalComponentBindingTypeChoice(java.io.Reader reader)
            throws MarshalException,
                   ValidationException
Method unmarshalComponentBindingTypeChoice.
Parameters:
reader -
Returns:
the unmarshaled org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice
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