org.apache.type_test.types2
Class ChoiceWithBinary

java.lang.Object
  extended by org.apache.type_test.types2.ChoiceWithBinary

public class ChoiceWithBinary
extends java.lang.Object

Java class for ChoiceWithBinary complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ChoiceWithBinary">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="hex" type="{http://www.w3.org/2001/XMLSchema}hexBinary"/>
         <element name="base64" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  byte[] base64
           
protected  byte[] hex
           
 
Constructor Summary
ChoiceWithBinary()
           
 
Method Summary
 byte[] getBase64()
          Gets the value of the base64 property.
 byte[] getHex()
          Gets the value of the hex property.
 void setBase64(byte[] value)
          Sets the value of the base64 property.
 void setHex(byte[] value)
          Sets the value of the hex property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hex

protected byte[] hex

base64

protected byte[] base64
Constructor Detail

ChoiceWithBinary

public ChoiceWithBinary()
Method Detail

getHex

public byte[] getHex()
Gets the value of the hex property.

Returns:
possible object is String

setHex

public void setHex(byte[] value)
Sets the value of the hex property.

Parameters:
value - allowed object is String

getBase64

public byte[] getBase64()
Gets the value of the base64 property.

Returns:
possible object is byte[]

setBase64

public void setBase64(byte[] value)
Sets the value of the base64 property.

Parameters:
value - allowed object is byte[]


Apache CXF