org.sourceforge.ifx.basetypes
Class IFXBase64Binary

java.lang.Object
  extended byorg.sourceforge.ifx.basetypes.IFXObject
      extended byorg.sourceforge.ifx.basetypes.IFXBase64Binary
All Implemented Interfaces:
IBaseType
Direct Known Subclasses:
BinData_Type, IFXHexBinary

public class IFXBase64Binary
extends IFXObject
implements IBaseType

Wrapper class to accomodate xsd:base64Binary which translates to byte[] in Java. Instead, we make our generator translate the xsd:base64Binary to this IFXBase64Binary class which has methods to get and set an array of bytes.

Version:
$Revision: 1.1 $
Author:
Sujit Pal (spal@users.sourceforge.net)

Constructor Summary
IFXBase64Binary()
          Default ctor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two IFXBase64Binary objects for equality.
 byte[] getBytes()
           
 java.lang.String getString()
          Returns the string from the internal representation.
 void setString(java.lang.String s)
          Sets the internal representation from the string.
 
Methods inherited from class org.sourceforge.ifx.basetypes.IFXObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IFXBase64Binary

public IFXBase64Binary()
Default ctor.

Method Detail

getString

public java.lang.String getString()
Returns the string from the internal representation.

Specified by:
getString in interface IBaseType
Returns:
the string representation.

setString

public void setString(java.lang.String s)
Sets the internal representation from the string.

Specified by:
setString in interface IBaseType
Parameters:
s - the string to convert.

getBytes

public byte[] getBytes()

equals

public boolean equals(java.lang.Object obj)
Compares two IFXBase64Binary objects for equality.

Overrides:
equals in class IFXObject
Parameters:
obj - the object to compare against.
Returns:
true or false.