org.basex.query.xquery.item
Class B64

java.lang.Object
  extended by org.basex.query.xquery.expr.Expr
      extended by org.basex.query.xquery.item.Item
          extended by org.basex.query.xquery.item.B64

public final class B64
extends Item

Base64Binary item.

Author:
Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.query.xquery.expr.Expr
type
 
Constructor Summary
B64(byte[] d)
          Constructor.
B64(Hex h)
          Constructor.
 
Method Summary
 boolean eq(Item it)
          Checks the items for equality.
 byte[] str()
          Returns an atomized string.
 java.lang.String toString()
           
 
Methods inherited from class org.basex.query.xquery.item.Item
bool, castErr, comp, dbl, diff, eval, flt, i, info, iter, itr, serialize, serialize, size
 
Methods inherited from class org.basex.query.xquery.expr.Expr
cls, d, e, n, node, s, u
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

B64

public B64(byte[] d)
    throws XQException
Constructor.

Parameters:
d - data
Throws:
XQException - evaluation exception

B64

public B64(Hex h)
Constructor.

Parameters:
h - hex item
Method Detail

eq

public boolean eq(Item it)
           throws XQException
Description copied from class: Item
Checks the items for equality.

Specified by:
eq in class Item
Parameters:
it - item to be compared.
Returns:
result of check
Throws:
XQException - evaluation exception

str

public byte[] str()
Description copied from class: Expr
Returns an atomized string.

Overrides:
str in class Expr
Returns:
string representation

toString

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