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.SerializableClass 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 ContentMemberTypegetContentMember()Returns the value of field 'contentMember'.EnumBindingTypegetEnumDef()Returns the value of field 'enumDef'.InterfacegetInterface()Returns the value of field 'interface'.ClassTypegetJavaClass()Returns the value of field 'javaClass'.FieldTypegetMember()Returns the value of field 'member'.booleanisValid()Method isValid.voidmarshal(java.io.Writer out)voidmarshal(org.xml.sax.ContentHandler handler)voidsetContentMember(ContentMemberType contentMember)Sets the value of field 'contentMember'.voidsetEnumDef(EnumBindingType enumDef)Sets the value of field 'enumDef'.voidsetInterface(Interface _interface)Sets the value of field 'interface'.voidsetJavaClass(ClassType javaClass)Sets the value of field 'javaClass'.voidsetMember(FieldType member)Sets the value of field 'member'.static ComponentBindingTypeChoiceunmarshalComponentBindingTypeChoice(java.io.Reader reader)Method unmarshalComponentBindingTypeChoice.voidvalidate()
-
-
-
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
-
-