public class ValueFactoryQImpl
extends java.lang.Object
ValueFactory
interface,
wrapping an existing SPI QValueFactory
and a
NamePathResolver
.ValueFactory
,
QValueFactory
Constructor and Description |
---|
ValueFactoryQImpl(QValueFactory qfactory,
NamePathResolver resolver)
Constructs a new
ValueFactoryQImpl based
on an existing SPI QValueFactory and a
NamePathResolver . |
Modifier and Type | Method and Description |
---|---|
Binary |
createBinary(java.io.InputStream stream) |
Value |
createValue(java.math.BigDecimal value) |
Value |
createValue(Binary value) |
Value |
createValue(boolean value) |
Value |
createValue(java.util.Calendar value) |
Value |
createValue(double value) |
Value |
createValue(java.io.InputStream value) |
Value |
createValue(long value) |
Value |
createValue(Node value) |
Value |
createValue(Node value,
boolean weak) |
Value |
createValue(QValue qvalue)
Create a new
Value based on an existing
QValue |
Value |
createValue(java.lang.String value) |
Value |
createValue(java.lang.String value,
int type) |
QValueFactory |
getQValueFactory()
The
QValueFactory that is wrapped by this ValueFactory
instance. |
public ValueFactoryQImpl(QValueFactory qfactory, NamePathResolver resolver)
ValueFactoryQImpl
based
on an existing SPI QValueFactory
and a
NamePathResolver
.qfactory
- wrapped QValueFactory
resolver
- wrapped NamePathResolver
public QValueFactory getQValueFactory()
QValueFactory
that is wrapped by this ValueFactory
instance.QValueFactory
wrapped by this instance.public Value createValue(QValue qvalue)
Value
based on an existing
QValue
qvalue
- existing QValue
Value
representing the QValue
public Value createValue(java.lang.String value)
public Value createValue(long value)
public Value createValue(double value)
public Value createValue(boolean value)
public Value createValue(java.util.Calendar value)
public Value createValue(java.io.InputStream value)
public Value createValue(Node value) throws RepositoryException
RepositoryException
public Value createValue(java.lang.String value, int type) throws ValueFormatException
ValueFormatException
public Binary createBinary(java.io.InputStream stream) throws RepositoryException
RepositoryException
public Value createValue(Binary value)
public Value createValue(java.math.BigDecimal value)
public Value createValue(Node value, boolean weak) throws RepositoryException
RepositoryException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"