public class ValueFactoryImpl extends ValueFactoryQImpl
ValueFactoryImpl
...Constructor and Description |
---|
ValueFactoryImpl(NamePathResolver resolver,
DataStore store)
Constructs a new
ValueFactoryQImpl based
on an existing SPI QValueFactory and a
NamePathResolver . |
Modifier and Type | Method and Description |
---|---|
Binary |
createBinary(InputStream stream) |
Value |
createValue(Binary binary) |
Value |
createValue(InputStream value) |
Value |
createValue(QValue qvalue)
Create a new
Value based on an existing
QValue |
Value |
createValue(String value,
int type) |
createValue, createValue, createValue, createValue, createValue, createValue, createValue, createValue, getQValueFactory
public ValueFactoryImpl(NamePathResolver resolver, DataStore store)
ValueFactoryQImpl
based
on an existing SPI QValueFactory
and a
NamePathResolver
.resolver
- wrapped NamePathResolver
public Value createValue(QValue qvalue)
ValueFactoryQImpl
Value
based on an existing
QValue
createValue
in class ValueFactoryQImpl
qvalue
- existing QValue
Value
representing the QValue
public Binary createBinary(InputStream stream) throws RepositoryException
createBinary
in interface ValueFactory
createBinary
in class ValueFactoryQImpl
RepositoryException
public Value createValue(Binary binary)
createValue
in interface ValueFactory
createValue
in class ValueFactoryQImpl
public Value createValue(InputStream value)
ValueFactoryQImpl
createValue
in interface ValueFactory
createValue
in class ValueFactoryQImpl
public Value createValue(String value, int type) throws ValueFormatException
ValueFactoryQImpl
createValue
in interface ValueFactory
createValue
in class ValueFactoryQImpl
ValueFormatException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.