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 |
---|---|
javax.jcr.Binary |
createBinary(InputStream stream) |
javax.jcr.Value |
createValue(javax.jcr.Binary binary) |
javax.jcr.Value |
createValue(InputStream value) |
javax.jcr.Value |
createValue(QValue qvalue)
Create a new
Value based on an existing
QValue |
javax.jcr.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 javax.jcr.Value createValue(QValue qvalue)
ValueFactoryQImpl
Value
based on an existing
QValue
createValue
in class ValueFactoryQImpl
qvalue
- existing QValue
Value
representing the QValue
public javax.jcr.Binary createBinary(InputStream stream) throws javax.jcr.RepositoryException
createBinary
in interface javax.jcr.ValueFactory
createBinary
in class ValueFactoryQImpl
javax.jcr.RepositoryException
public javax.jcr.Value createValue(javax.jcr.Binary binary)
createValue
in interface javax.jcr.ValueFactory
createValue
in class ValueFactoryQImpl
public javax.jcr.Value createValue(InputStream value)
ValueFactoryQImpl
createValue
in interface javax.jcr.ValueFactory
createValue
in class ValueFactoryQImpl
public javax.jcr.Value createValue(String value, int type) throws javax.jcr.ValueFormatException
ValueFactoryQImpl
createValue
in interface javax.jcr.ValueFactory
createValue
in class ValueFactoryQImpl
javax.jcr.ValueFormatException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.