## Uses of Interface
org.modeshape.jcr.value.ValueFactory

- Packages that use ValueFactory
  Package | Description
  --- | ---
  org.modeshape.jcr |
  org.modeshape.jcr.cache.document |
  org.modeshape.jcr.query.lucene | The core query engine, which currently uses Lucene for indexing and raw queries, and the Hibernate Search engine (which does not depend on or use Hibernate Core or JPA) for updating and querying the Lucene indexes.
  org.modeshape.jcr.value | Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for representing and working with properties and their values.
  org.modeshape.jcr.value.basic | A set of basic implementations of the various interfaces defined in `org.modeshape.jcr.value`.
  org.modeshape.jcr.value.binary |

- - ### Uses of ValueFactory in org.modeshape.jcr

    Fields in org.modeshape.jcr declared as ValueFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected ValueFactory<String>` | CndImporter.`stringFactory`

    Methods in org.modeshape.jcr that return ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `ValueFactory<Boolean>` | ExecutionContext.ContextFactories.`getBooleanFactory()`
    `ValueFactory<BigDecimal>` | ExecutionContext.ContextFactories.`getDecimalFactory()`
    `ValueFactory<Double>` | ExecutionContext.ContextFactories.`getDoubleFactory()`
    `ValueFactory<Long>` | ExecutionContext.ContextFactories.`getLongFactory()`
    `ValueFactory<Object>` | ExecutionContext.ContextFactories.`getObjectFactory()`
    `ValueFactory<?>` | ExecutionContext.ContextFactories.`getValueFactory(Object prototype)`
    `ValueFactory<?>` | ExecutionContext.ContextFactories.`getValueFactory(PropertyType type)`
    `ValueFactory<?>` | ExecutionContext.ContextFactories.ValueFactoryIterator.`next()`
    `protected ValueFactory<String>` | Sequencers.`stringFactory()`
    `protected ValueFactory<?>` | JcrValueFactory.`valueFactoryFor(int jcrPropertyType)`

    Methods in org.modeshape.jcr that return types with arguments of type ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<ValueFactory<?>>` | ExecutionContext.ContextFactories.`iterator()` This implementation always iterates over the instances return by the `get*Factory()` methods.

    Constructors in org.modeshape.jcr with parameters of type ValueFactory
    Constructor and Description
    `ExecutionContext(SecurityContext securityContext, NamespaceRegistry namespaceRegistry, PropertyFactory propertyFactory, ThreadPoolFactory threadPoolFactory, BinaryStore binaryStore, Map<String,String> data, String processId, TextDecoder decoder, TextEncoder encoder, StringFactory stringFactory, BinaryFactory binaryFactory, ValueFactory<Boolean> booleanFactory, DateTimeFactory dateFactory, ValueFactory<BigDecimal> decimalFactory, ValueFactory<Double> doubleFactory, ValueFactory<Long> longFactory, NameFactory nameFactory, PathFactory pathFactory, ReferenceFactory referenceFactory, ReferenceFactory weakReferenceFactory, ReferenceFactory simpleReferenceFactory, UriFactory uriFactory, UuidFactory uuidFactory, ValueFactory<Object> objectFactory)` Create an instance of the execution context by supplying all parameters.
    `ExecutionContext(SecurityContext securityContext, NamespaceRegistry namespaceRegistry, PropertyFactory propertyFactory, ThreadPoolFactory threadPoolFactory, BinaryStore binaryStore, Map<String,String> data, String processId, TextDecoder decoder, TextEncoder encoder, StringFactory stringFactory, BinaryFactory binaryFactory, ValueFactory<Boolean> booleanFactory, DateTimeFactory dateFactory, ValueFactory<BigDecimal> decimalFactory, ValueFactory<Double> doubleFactory, ValueFactory<Long> longFactory, NameFactory nameFactory, PathFactory pathFactory, ReferenceFactory referenceFactory, ReferenceFactory weakReferenceFactory, ReferenceFactory simpleReferenceFactory, UriFactory uriFactory, UuidFactory uuidFactory, ValueFactory<Object> objectFactory)` Create an instance of the execution context by supplying all parameters.
    `ExecutionContext(SecurityContext securityContext, NamespaceRegistry namespaceRegistry, PropertyFactory propertyFactory, ThreadPoolFactory threadPoolFactory, BinaryStore binaryStore, Map<String,String> data, String processId, TextDecoder decoder, TextEncoder encoder, StringFactory stringFactory, BinaryFactory binaryFactory, ValueFactory<Boolean> booleanFactory, DateTimeFactory dateFactory, ValueFactory<BigDecimal> decimalFactory, ValueFactory<Double> doubleFactory, ValueFactory<Long> longFactory, NameFactory nameFactory, PathFactory pathFactory, ReferenceFactory referenceFactory, ReferenceFactory weakReferenceFactory, ReferenceFactory simpleReferenceFactory, UriFactory uriFactory, UuidFactory uuidFactory, ValueFactory<Object> objectFactory)` Create an instance of the execution context by supplying all parameters.
    `ExecutionContext(SecurityContext securityContext, NamespaceRegistry namespaceRegistry, PropertyFactory propertyFactory, ThreadPoolFactory threadPoolFactory, BinaryStore binaryStore, Map<String,String> data, String processId, TextDecoder decoder, TextEncoder encoder, StringFactory stringFactory, BinaryFactory binaryFactory, ValueFactory<Boolean> booleanFactory, DateTimeFactory dateFactory, ValueFactory<BigDecimal> decimalFactory, ValueFactory<Double> doubleFactory, ValueFactory<Long> longFactory, NameFactory nameFactory, PathFactory pathFactory, ReferenceFactory referenceFactory, ReferenceFactory weakReferenceFactory, ReferenceFactory simpleReferenceFactory, UriFactory uriFactory, UuidFactory uuidFactory, ValueFactory<Object> objectFactory)` Create an instance of the execution context by supplying all parameters.
    `ExecutionContext(SecurityContext securityContext, NamespaceRegistry namespaceRegistry, PropertyFactory propertyFactory, ThreadPoolFactory threadPoolFactory, BinaryStore binaryStore, Map<String,String> data, String processId, TextDecoder decoder, TextEncoder encoder, StringFactory stringFactory, BinaryFactory binaryFactory, ValueFactory<Boolean> booleanFactory, DateTimeFactory dateFactory, ValueFactory<BigDecimal> decimalFactory, ValueFactory<Double> doubleFactory, ValueFactory<Long> longFactory, NameFactory nameFactory, PathFactory pathFactory, ReferenceFactory referenceFactory, ReferenceFactory weakReferenceFactory, ReferenceFactory simpleReferenceFactory, UriFactory uriFactory, UuidFactory uuidFactory, ValueFactory<Object> objectFactory)` Create an instance of the execution context by supplying all parameters.

  - ### Uses of ValueFactory in org.modeshape.jcr.cache.document

    Methods in org.modeshape.jcr.cache.document that return ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `ValueFactory<String>` | DocumentTranslator.`getStringFactory()`

  - ### Uses of ValueFactory in org.modeshape.jcr.query.lucene

    Fields in org.modeshape.jcr.query.lucene declared as ValueFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected ValueFactory<String>` | LuceneQueryFactory.`stringFactory`
    `protected ValueFactory<String>` | CompareQuery.`stringFactory`
    `protected ValueFactory<ValueType>` | CompareQuery.`valueTypeFactory`

    Constructors in org.modeshape.jcr.query.lucene with parameters of type ValueFactory
    Constructor and Description
    `CompareLengthQuery(String fieldName, Long constraintValue, ValueFactory<String> stringFactory, CompareQuery.Evaluator<Long> evaluator)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareNameQuery(String localNameField, String snsIndexFieldName, Path.Segment constraintValue, PathFactory pathFactory, ValueFactory<String> stringFactory, ValueFactory<Long> longFactory, CompareQuery.Evaluator<Path.Segment> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareNameQuery(String localNameField, String snsIndexFieldName, Path.Segment constraintValue, PathFactory pathFactory, ValueFactory<String> stringFactory, ValueFactory<Long> longFactory, CompareQuery.Evaluator<Path.Segment> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `ComparePathQuery(String fieldName, Path constraintPath, ValueFactory<Path> pathFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<Path> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `ComparePathQuery(String fieldName, Path constraintPath, ValueFactory<Path> pathFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<Path> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareQuery(String fieldName, ValueType constraintValue, ValueFactory<ValueType> valueTypeFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<ValueType> evaluator)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareQuery(String fieldName, ValueType constraintValue, ValueFactory<ValueType> valueTypeFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<ValueType> evaluator)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareQuery(String fieldName, ValueType constraintValue, ValueFactory<ValueType> valueTypeFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<ValueType> evaluator, org.apache.lucene.document.FieldSelector fieldSelector)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareQuery(String fieldName, ValueType constraintValue, ValueFactory<ValueType> valueTypeFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<ValueType> evaluator, org.apache.lucene.document.FieldSelector fieldSelector)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareStringQuery(String fieldName, String constraintValue, ValueFactory<String> valueFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<String> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.
    `CompareStringQuery(String fieldName, String constraintValue, ValueFactory<String> valueFactory, ValueFactory<String> stringFactory, CompareQuery.Evaluator<String> evaluator, CaseOperations.CaseOperation caseOperation)` Construct a `Query` implementation that scores nodes according to the supplied comparator.

  - ### Uses of ValueFactory in org.modeshape.jcr.value

    Subinterfaces of ValueFactory in org.modeshape.jcr.value
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `BinaryFactory` A factory for creating `BinaryValue` instances.
    `interface` | `DateTimeFactory` A factory for creating `date-time instants`.
    `interface` | `NameFactory` A factory for creating `names`.
    `interface` | `PathFactory` A factory for creating `paths`.
    `interface` | `ReferenceFactory` A factory for creating `references`.
    `interface` | `StringFactory`
    `interface` | `UriFactory`
    `interface` | `UuidFactory` A factory for creating `UUID instances`.

    Fields in org.modeshape.jcr.value declared as ValueFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected ValueFactory<String>` | ValueTypeSystem.`stringValueFactory`
    `protected ValueFactory<T>` | ValueTypeSystem.Factory.`valueFactory`

    Methods in org.modeshape.jcr.value that return ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `ValueFactory<Boolean>` | ValueFactories.`getBooleanFactory()` Get the value factory for `boolean` properties.
    `ValueFactory<BigDecimal>` | ValueFactories.`getDecimalFactory()` Get the value factory for `decimal` properties.
    `ValueFactory<Double>` | ValueFactories.`getDoubleFactory()` Get the value factory for `double` properties.
    `ValueFactory<Long>` | ValueFactories.`getLongFactory()` Get the value factory for `long` properties.
    `ValueFactory<Object>` | ValueFactories.`getObjectFactory()` Get the value factory for `object` properties.
    `protected static ValueFactory<String>` | ValueComparators.`getStringValueFactory()`
    `ValueFactory<?>` | ValueFactories.`getValueFactory(Object prototype)` Get the value factory that is best able to create values with the most natural type given by the supplied value.
    `ValueFactory<?>` | ValueFactories.`getValueFactory(PropertyType type)` Get the value factory that creates values of the supplied `type`.
    `ValueFactory<T>` | ValueFactory.`with(ValueFactories valueFactories)` Return a potentially new copy of this factory that uses the supplied ValueFactories object.

    Methods in org.modeshape.jcr.value with parameters of type ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `<T> T[]` | Property.`getValuesAsArray(ValueFactory<T> valueFactory)` Convert the values of this property to whatever type the given value factory is used to create.

    Constructors in org.modeshape.jcr.value with parameters of type ValueFactory
    Constructor and Description
    `ValueTypeSystem.Factory(ValueFactory<T> valueFactory)`

  - ### Uses of ValueFactory in org.modeshape.jcr.value.basic

    Classes in org.modeshape.jcr.value.basic that implement ValueFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractValueFactory<T>` Abstract `ValueFactory`.
    `class` | `BooleanValueFactory` The standard `ValueFactory` for `PropertyType.BOOLEAN` values.
    `class` | `DecimalValueFactory` The standard `ValueFactory` for `PropertyType.DECIMAL` values.
    `class` | `DoubleValueFactory` The standard `ValueFactory` for `PropertyType.DOUBLE` values.
    `class` | `JodaDateTimeValueFactory` The standard `ValueFactory` for `PropertyType.DATE` values.
    `class` | `LongValueFactory` The standard `ValueFactory` for `PropertyType.LONG` values.
    `class` | `NameValueFactory` The standard `ValueFactory` for `PropertyType.NAME` values.
    `class` | `NodeIdentifierReferenceFactory` A custom ReferenceValueFactory specialization that knows about a particular workspace, used to handle conversion from `Node.getIdentifier()` strings, including those that are local (e.g., not `foreign`) and thus don't have the source part and workspace part.
    `class` | `ObjectValueFactory` The standard `ValueFactory` for `PropertyType.OBJECT` values.
    `class` | `PathValueFactory` The standard `ValueFactory` for `PropertyType.NAME` values.
    `class` | `ReferenceValueFactory` The standard `ValueFactory` for `PropertyType.REFERENCE` values.
    `class` | `StringValueFactory` The standard `ValueFactory` for `PropertyType.STRING` values.
    `class` | `UriValueFactory` The standard `ValueFactory` for `PropertyType.URI` values.
    `class` | `UuidValueFactory` The standard `ValueFactory` for `PropertyType.URI` values.

    Methods in org.modeshape.jcr.value.basic that return ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected ValueFactory<BinaryValue>` | ObjectValueFactory.`getBinaryValueFactory()`
    `protected ValueFactory<Name>` | PathValueFactory.`getNameValueFactory()`
    `protected ValueFactory<String>` | AbstractValueFactory.`getStringValueFactory()`
    `ValueFactory<?>` | AbstractValueFactories.`getValueFactory(Object prototype)`
    `ValueFactory<?>` | AbstractValueFactories.`getValueFactory(PropertyType type)`
    `ValueFactory<?>` | AbstractValueFactories.ValueFactoryIterator.`next()`
    `ValueFactory<Object>` | ObjectValueFactory.`with(ValueFactories valueFactories)`
    `ValueFactory<Long>` | LongValueFactory.`with(ValueFactories valueFactories)`
    `ValueFactory<Double>` | DoubleValueFactory.`with(ValueFactories valueFactories)`
    `ValueFactory<BigDecimal>` | DecimalValueFactory.`with(ValueFactories valueFactories)`

    Methods in org.modeshape.jcr.value.basic that return types with arguments of type ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `Iterator<ValueFactory<?>>` | AbstractValueFactories.`iterator()` This implementation always iterates over the instances return by the `get*Factory()` methods.

    Methods in org.modeshape.jcr.value.basic with parameters of type ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `<T> T[]` | BasicProperty.`getValuesAsArray(ValueFactory<T> valueFactory)`

    Constructors in org.modeshape.jcr.value.basic with parameters of type ValueFactory
    Constructor and Description
    `AbstractValueFactory.ConvertingIterator(Iterator<?> delegate, ValueFactory<ValueType> factory)`

  - ### Uses of ValueFactory in org.modeshape.jcr.value.binary

    Classes in org.modeshape.jcr.value.binary that implement ValueFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BinaryStoreValueFactory` An abstract `BinaryFactory` implementation that contains many general methods that are likely to be appropriate for many concrete implementations.

    Methods in org.modeshape.jcr.value.binary that return ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected ValueFactory<String>` | BinaryStoreValueFactory.`getStringValueFactory()`

    Constructors in org.modeshape.jcr.value.binary with parameters of type ValueFactory
    Constructor and Description
    `BinaryStoreValueFactory(BinaryStore store, TextDecoder decoder, ValueFactories factories, ValueFactory<String> stringFactory)` Create a factory instance that finds persisted binary values in the supplied store, and that uses the supplied decoder and string value factory to convert string values into binary values.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.