org.basex.query.item
Class B64

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

public final class B64
extends Item

Base64Binary item. Derived from java.util.prefs.Base64.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.basex.query.expr.Expr
Expr.Use
 
Field Summary
 
Fields inherited from class org.basex.query.item.Item
score, type
 
Constructor Summary
B64(byte[] d)
          Constructor.
B64(Hex h)
          Constructor.
 
Method Summary
 boolean eq(Item it)
          Checks the items for equality.
 Object java()
          Returns a Java object.
 byte[] str()
          Returns an atomized string.
 String toString()
           
 
Methods inherited from class org.basex.query.item.Item
atomic, bool, comp, d, dbl, dec, diff, duplicates, ebv, flt, hashCode, i, iter, iter, itr, n, name, node, plan, removable, returned, s, score, score, serialize, size, test, u, uses
 
Methods inherited from class org.basex.query.expr.Expr
addText, checkCtx, checkDbl, checkItr, e, indexAccessible, indexEquivalent, remove, sameAs, v
 
Methods inherited from class org.basex.query.ExprInfo
color, info
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

B64

public B64(Hex h)
Constructor.

Parameters:
h - hex item

B64

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

Parameters:
d - data
Throws:
QueryException - query exception
Method Detail

str

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

Overrides:
str in class Item
Returns:
string representation

eq

public boolean eq(Item it)
           throws QueryException
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:
QueryException - query exception

java

public Object java()
Description copied from class: Item
Returns a Java object.

Overrides:
java in class Item
Returns:
string representation

toString

public String toString()
Overrides:
toString in class Item