org.modeshape.jcr.api
Interface Value

All Superinterfaces:
Value

public interface Value
extends Value

Replicates JCR 2.0's javax.jcr.Value interface with the ability to return a Binary representation.


Method Summary
 Binary getBinary()
          Returns a Binary representation of this value.
 
Methods inherited from interface javax.jcr.Value
getBoolean, getDate, getDouble, getLong, getStream, getString, getType
 

Method Detail

getBinary

Binary getBinary()
                 throws RepositoryException
Returns a Binary representation of this value. The Binary object in turn provides methods to access the binary data itself. Uses the standard conversion to binary (see JCR specification).

Returns:
a Binary representation of this value.
Throws:
RepositoryException - if an error occurs


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.