com.jscape.util.serialization.xml
Class ByteArrayShell

java.lang.Object
  extended by com.jscape.util.serialization.xml.ByteArrayShell

public class ByteArrayShell
extends java.lang.Object

Used for reducing size of byte array representation in XML.

Author:
Alex Usun

Nested Class Summary
static class ByteArrayShell.Delegate
           
 
Constructor Summary
ByteArrayShell()
          Creates a new shell instance.
ByteArrayShell(byte[] data)
          Creates a new shell instance.
ByteArrayShell(java.lang.String data)
          Creates a new shell instance.
 
Method Summary
 byte[] toByteArray()
          Returns inner data.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteArrayShell

public ByteArrayShell(byte[] data)
Creates a new shell instance.

Parameters:
data - inner data value

ByteArrayShell

public ByteArrayShell(java.lang.String data)
Creates a new shell instance.

Parameters:
data - compact data value

ByteArrayShell

public ByteArrayShell()
Creates a new shell instance.

Method Detail

toByteArray

public byte[] toByteArray()
Returns inner data.

Returns:
an inner data

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1999-2009 JSCAPE LLC. All Rights Reserved.