public final class QValueValue extends 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
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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 - 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 BigDecimal getDecimal() throws ValueFormatException, IllegalStateException, RepositoryException
ValueFormatExceptionIllegalStateExceptionRepositoryExceptionjavax.jcr.Value#getDecimal()public Binary getBinary()
throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getBinary()public 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 InputStream getStream() throws IllegalStateException, RepositoryException
IllegalStateExceptionRepositoryExceptionjavax.jcr.Value#getStream()public String getString() throws RepositoryException
RepositoryExceptionjavax.jcr.Value#getString()public int getType()
javax.jcr.Value#getType()public boolean equals(Object obj)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"