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
.QValue
public boolean getBoolean() throws RepositoryException
RepositoryException
javax.jcr.Value#getBoolean()
public java.math.BigDecimal getDecimal() throws ValueFormatException, java.lang.IllegalStateException, RepositoryException
ValueFormatException
java.lang.IllegalStateException
RepositoryException
javax.jcr.Value#getDecimal()
public Binary getBinary() throws RepositoryException
RepositoryException
javax.jcr.Value#getBinary()
public java.util.Calendar getDate() throws RepositoryException
RepositoryException
javax.jcr.Value#getDate()
public double getDouble() throws RepositoryException
RepositoryException
javax.jcr.Value#getDouble()
public long getLong() throws RepositoryException
RepositoryException
javax.jcr.Value#getLong()
public java.io.InputStream getStream() throws java.lang.IllegalStateException, RepositoryException
java.lang.IllegalStateException
RepositoryException
javax.jcr.Value#getStream()
public java.lang.String getString() throws RepositoryException
RepositoryException
javax.jcr.Value#getString()
public int getType()
javax.jcr.Value#getType()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"