Class ComponentBindingTypeChoice
- java.lang.Object
-
- org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice
-
- All Implemented Interfaces:
java.io.Serializable
public class ComponentBindingTypeChoice extends java.lang.Object implements java.io.Serializable
Class ComponentBindingTypeChoice.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ComponentBindingTypeChoice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Method Detail
-
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 marshalingValidationException
- 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 marshalingValidationException
- if this object is an invalid instance according to the schemaMarshalException
- 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
-interface
- the value of field '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 marshalingValidationException
- 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
-
-