Class ComponentBindingTypeChoice

java.lang.Object
org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice
All Implemented Interfaces:
Serializable

public class ComponentBindingTypeChoice extends Object implements Serializable
Class ComponentBindingTypeChoice.
Version:
$Revision$ $Date$
See Also:
  • 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(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(ContentHandler handler) throws IOException, MarshalException, ValidationException
      Parameters:
      handler -
      Throws:
      IOException - if an IOException occurs during marshaling
      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 -
      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(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