public final class QValueValue
extends java.lang.Object
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) |
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 RepositoryException
RepositoryExceptionjavax.jcr.Value#getBoolean()public java.math.BigDecimal getDecimal()
throws ValueFormatException,
java.lang.IllegalStateException,
RepositoryException
ValueFormatExceptionjava.lang.IllegalStateExceptionRepositoryExceptionjavax.jcr.Value#getDecimal()public Binary getBinary()
throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getBinary()public java.util.Calendar getDate()
throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getDate()public double getDouble()
throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getDouble()public long getLong()
throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getLong()public java.io.InputStream getStream()
throws java.lang.IllegalStateException,
RepositoryException
java.lang.IllegalStateExceptionRepositoryExceptionjavax.jcr.Value#getStream()public java.lang.String getString()
throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getString()public int getType()
javax.jcr.Value#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 - 2020 Adobe Systems Incorporated. All Rights Reserved"