|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.value.ValueFactoryQImpl
public class ValueFactoryQImpl
This class implements the ValueFactory interface,
wrapping an existing SPI QValueFactory and a
NamePathResolver.
ValueFactory,
QValueFactory| Constructor Summary | |
|---|---|
ValueFactoryQImpl(org.apache.jackrabbit.spi.QValueFactory qfactory,
NamePathResolver resolver)
Constructs a new ValueFactoryQImpl based
on an existing SPI QValueFactory and a
NamePathResolver. |
|
| Method Summary | |
|---|---|
Binary |
createBinary(InputStream stream)
|
Value |
createValue(BigDecimal value)
|
Value |
createValue(Binary value)
|
Value |
createValue(boolean value)
|
Value |
createValue(Calendar value)
|
Value |
createValue(double value)
|
Value |
createValue(InputStream value)
|
Value |
createValue(long value)
|
Value |
createValue(Node value)
|
Value |
createValue(Node value,
boolean weak)
|
Value |
createValue(org.apache.jackrabbit.spi.QValue qvalue)
Create a new Value based on an existing
QValue |
Value |
createValue(String value)
|
Value |
createValue(String value,
int type)
|
org.apache.jackrabbit.spi.QValueFactory |
getQValueFactory()
The QValueFactory that is wrapped by this ValueFactory
instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValueFactoryQImpl(org.apache.jackrabbit.spi.QValueFactory qfactory,
NamePathResolver resolver)
ValueFactoryQImpl based
on an existing SPI QValueFactory and a
NamePathResolver.
qfactory - wrapped QValueFactoryresolver - wrapped NamePathResolver| Method Detail |
|---|
public org.apache.jackrabbit.spi.QValueFactory getQValueFactory()
QValueFactory that is wrapped by this ValueFactory
instance.
QValueFactory wrapped by this instance.public Value createValue(org.apache.jackrabbit.spi.QValue qvalue)
Value based on an existing
QValue
qvalue - existing QValue
Value representing the QValuepublic Value createValue(String value)
createValue in interface ValueFactorypublic Value createValue(long value)
createValue in interface ValueFactorypublic Value createValue(double value)
createValue in interface ValueFactorypublic Value createValue(boolean value)
createValue in interface ValueFactorypublic Value createValue(Calendar value)
createValue in interface ValueFactorypublic Value createValue(InputStream value)
createValue in interface ValueFactory
public Value createValue(Node value)
throws RepositoryException
createValue in interface ValueFactoryRepositoryException
public Value createValue(String value,
int type)
throws ValueFormatException
createValue in interface ValueFactoryValueFormatException
public Binary createBinary(InputStream stream)
throws RepositoryException
createBinary in interface ValueFactoryRepositoryExceptionpublic Value createValue(Binary value)
createValue in interface ValueFactorypublic Value createValue(BigDecimal value)
createValue in interface ValueFactory
public Value createValue(Node value,
boolean weak)
throws RepositoryException
createValue in interface ValueFactoryRepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||