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
.QValue
public boolean getBoolean() throws javax.jcr.RepositoryException
getBoolean
in interface javax.jcr.Value
javax.jcr.RepositoryException
Value.getBoolean()
public BigDecimal getDecimal() throws javax.jcr.ValueFormatException, IllegalStateException, javax.jcr.RepositoryException
getDecimal
in interface javax.jcr.Value
javax.jcr.ValueFormatException
IllegalStateException
javax.jcr.RepositoryException
Value.getDecimal()
public javax.jcr.Binary getBinary() throws javax.jcr.RepositoryException
getBinary
in interface javax.jcr.Value
javax.jcr.RepositoryException
Value.getBinary()
public Calendar getDate() throws javax.jcr.RepositoryException
getDate
in interface javax.jcr.Value
javax.jcr.RepositoryException
Value.getDate()
public double getDouble() throws javax.jcr.RepositoryException
getDouble
in interface javax.jcr.Value
javax.jcr.RepositoryException
Value.getDouble()
public long getLong() throws javax.jcr.RepositoryException
getLong
in interface javax.jcr.Value
javax.jcr.RepositoryException
Value.getLong()
public InputStream getStream() throws IllegalStateException, javax.jcr.RepositoryException
getStream
in interface javax.jcr.Value
IllegalStateException
javax.jcr.RepositoryException
Value.getStream()
public String getString() throws javax.jcr.RepositoryException
getString
in interface javax.jcr.Value
javax.jcr.RepositoryException
Value.getString()
public int getType()
getType
in interface javax.jcr.Value
Value.getType()
public boolean equals(Object obj)
equals
in class Object
Object.equals(Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.