Class ComponentBindingTypeChoice
java.lang.Object
org.exolab.castor.builder.binding.xml.ComponentBindingTypeChoice
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of field 'contentMember'.Returns the value of field 'enumDef'.Returns the value of field 'interface'.Returns the value of field 'javaClass'.Returns the value of field 'member'.boolean
isValid()
Method isValid.void
void
marshal
(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
Sets the value of field 'member'.static ComponentBindingTypeChoice
Method unmarshalComponentBindingTypeChoice.void
validate()
-
Constructor Details
-
ComponentBindingTypeChoice
public ComponentBindingTypeChoice()
-
-
Method Details
-
getContentMember
Returns the value of field 'contentMember'.- Returns:
- the value of field 'ContentMember'.
-
getEnumDef
Returns the value of field 'enumDef'.- Returns:
- the value of field 'EnumDef'.
-
getInterface
Returns the value of field 'interface'.- Returns:
- the value of field 'Interface'.
-
getJavaClass
Returns the value of field 'javaClass'.- Returns:
- the value of field 'JavaClass'.
-
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
- 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(ContentHandler handler) throws IOException, MarshalException, ValidationException - Parameters:
handler
-- Throws:
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
Sets the value of field 'contentMember'.- Parameters:
contentMember
- the value of field 'contentMember'.
-
setEnumDef
Sets the value of field 'enumDef'.- Parameters:
enumDef
- the value of field 'enumDef'.
-
setInterface
Sets the value of field 'interface'.- Parameters:
_interface
-interface
- the value of field 'interface'.
-
setJavaClass
Sets the value of field 'javaClass'.- Parameters:
javaClass
- the value of field 'javaClass'.
-
setMember
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 marshalingValidationException
- if this object is an invalid instance according to the schema
-
validate
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-