public final class QValueValue
extends java.lang.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(java.lang.Object obj) |
javax.jcr.Binary |
getBinary() |
boolean |
getBoolean() |
java.util.Calendar |
getDate() |
java.math.BigDecimal |
getDecimal() |
double |
getDouble() |
long |
getLong() |
QValue |
getQValue()
Returns the embedded
QValue. |
java.io.InputStream |
getStream() |
java.lang.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 java.math.BigDecimal getDecimal()
throws javax.jcr.ValueFormatException,
java.lang.IllegalStateException,
javax.jcr.RepositoryException
getDecimal in interface javax.jcr.Valuejavax.jcr.ValueFormatExceptionjava.lang.IllegalStateExceptionjavax.jcr.RepositoryExceptionValue.getDecimal()public javax.jcr.Binary getBinary()
throws javax.jcr.RepositoryException
getBinary in interface javax.jcr.Valuejavax.jcr.RepositoryExceptionValue.getBinary()public java.util.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 java.io.InputStream getStream()
throws java.lang.IllegalStateException,
javax.jcr.RepositoryException
getStream in interface javax.jcr.Valuejava.lang.IllegalStateExceptionjavax.jcr.RepositoryExceptionValue.getStream()public java.lang.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(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()Copyright © 2010 - 2025 Adobe. All Rights Reserved