## 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.index.local |
  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, 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, 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, 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, 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, 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.index.local

    Fields in org.modeshape.jcr.index.local declared as ValueFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected ValueFactory<T>` | IndexChangeAdapters.AbstractPropertyChangeAdapter.`valueFactory`

    Methods in org.modeshape.jcr.index.local with parameters of type ValueFactory
    Modifier and Type | Method and Description
    --- | ---
    `static <T> IndexValues.Converter<T>` | IndexValues.`converter(ValueFactory<T> factory)`
    `static <T> IndexChangeAdapter` | IndexChangeAdapters.`forMultiValuedProperty(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> factory, org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)` Create an `IndexChangeAdapter` implementation that handles a multi-valued property.
    `static <T> IndexChangeAdapter` | IndexChangeAdapters.`forSingleValuedProperty(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> factory, org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)` Create an `IndexChangeAdapter` implementation that handles a single-valued property.
    `static <T> IndexChangeAdapter` | IndexChangeAdapters.`forUniqueValuedProperty(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> factory, org.modeshape.jcr.index.local.LocalUniqueIndex<T> index)` Create an `IndexChangeAdapter` implementation that handles a unique-valued property, where every property value is unique across all nodes.

    Constructors in org.modeshape.jcr.index.local with parameters of type ValueFactory
    Constructor and Description
    `IndexChangeAdapters.AbstractPropertyChangeAdapter(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> valueFactory)`
    `IndexChangeAdapters.MultiValuedPropertyChangeAdapter(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> valueFactory, org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)`
    `IndexChangeAdapters.PropertyChangeAdapter(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> valueFactory, org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)`
    `IndexChangeAdapters.SingleValuedPropertyChangeAdapter(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> valueFactory, org.modeshape.jcr.index.local.LocalDuplicateIndex<T> index)`
    `IndexChangeAdapters.UniquePropertyChangeAdapter(ExecutionContext context, ChangeSetAdapter.NodeTypePredicate matcher, String workspaceName, Name propertyName, ValueFactory<T> valueFactory, org.modeshape.jcr.index.local.LocalUniqueIndex<T> index)`
    `IndexValues.StandardConverter(ValueFactory<T> factory)`

  - ### 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`

    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)`
    `ValueTypeSystem.NodeKeyTypeFactory(ValueFactory<String> stringFactory)`

  - ### 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.

    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.