public final class QValueValue extends Object implements javax.jcr.Value
QValueValue provides an implementation
of the Value interface representing an SPI
QValue.| Constructor and Description |
|---|
QValueValue(QValue qvalue,
NamePathResolver resolver)
Constructs a
QValueValue object representing an SPI
QValue. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
javax.jcr.Binary |
getBinary() |
boolean |
getBoolean() |
Calendar |
getDate() |
BigDecimal |
getDecimal() |
double |
getDouble() |
long |
getLong() |
QValue |
getQValue()
Returns the embedded
QValue. |
InputStream |
getStream() |
String |
getString() |
int |
getType() |
int |
hashCode() |
public QValueValue(QValue qvalue, NamePathResolver resolver)
QValueValue object representing an SPI
QValue.qvalue - the QValue this QValueValue should representresolver - fore resolving namespace URIs to prefixes in NAME/PATH propertiespublic QValue getQValue()
QValue.QValuepublic boolean getBoolean()
throws javax.jcr.RepositoryException
getBoolean in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getBoolean()public BigDecimal getDecimal() throws javax.jcr.ValueFormatException, IllegalStateException, javax.jcr.RepositoryException
getDecimal in interface javax.jcr.Valuejavax.jcr.ValueFormatExceptionIllegalStateExceptionjavax.jcr.RepositoryExceptionValue.getDecimal()public javax.jcr.Binary getBinary()
throws javax.jcr.RepositoryException
getBinary in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getBinary()public Calendar getDate() throws javax.jcr.RepositoryException
getDate in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getDate()public double getDouble()
throws javax.jcr.RepositoryException
getDouble in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getDouble()public long getLong()
throws javax.jcr.RepositoryException
getLong in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getLong()public InputStream getStream() throws IllegalStateException, javax.jcr.RepositoryException
getStream in interface javax.jcr.ValueIllegalStateExceptionjavax.jcr.RepositoryExceptionValue.getStream()public String getString() throws javax.jcr.RepositoryException
getString in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getString()public int getType()
getType in interface javax.jcr.ValueValue.getType()public boolean equals(Object obj)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.