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 |
Modifier and Type | Field and Description |
---|---|
protected ValueFactory<String> |
CndImporter.stringFactory |
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) |
Modifier and Type | Method and Description |
---|---|
Iterator<ValueFactory<?>> |
ExecutionContext.ContextFactories.iterator()
This implementation always iterates over the instances return by the
get*Factory() methods. |
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.
|
Modifier and Type | Method and Description |
---|---|
ValueFactory<String> |
DocumentTranslator.getStringFactory() |
Modifier and Type | Method and Description |
---|---|
static <T> IndexValues.Converter<T> |
IndexValues.converter(ValueFactory<T> factory) |
static <T> IndexValues.Converter<T> |
IndexValues.converter(ValueFactory<T> factory,
Map<String,Object> variables) |
Constructor and Description |
---|
IndexValues.StandardConverter(ValueFactory<T> factory,
Map<String,Object> variables) |
MapDB.PackedStringKeySerializer(StringFactory stringFactory,
ValueFactory<K> valueFactory) |
MapDB.PackedStringKeySerializer(StringFactory stringFactory,
ValueFactory<K> valueFactory,
Comparator<K> comparator) |
MapDB.ValueSerializer(StringFactory stringFactory,
ValueFactory<V> valueFactory) |
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 |
Modifier and Type | Field and Description |
---|---|
protected ValueFactory<String> |
ValueTypeSystem.stringValueFactory |
protected ValueFactory<T> |
ValueTypeSystem.Factory.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.
|
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.
|
Constructor and Description |
---|
ValueTypeSystem.Factory(ValueFactory<T> valueFactory) |
ValueTypeSystem.NodeKeyTypeFactory(ValueFactory<String> stringFactory) |
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. |
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) |
Modifier and Type | Method and Description |
---|---|
Iterator<ValueFactory<?>> |
AbstractValueFactories.iterator()
This implementation always iterates over the instances return by the
get*Factory() methods. |
Modifier and Type | Method and Description |
---|---|
<T> T[] |
BasicProperty.getValuesAsArray(ValueFactory<T> valueFactory) |
Constructor and Description |
---|
AbstractValueFactory.ConvertingIterator(Iterator<?> delegate,
ValueFactory<ValueType> factory) |
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. |
Modifier and Type | Method and Description |
---|---|
protected ValueFactory<String> |
BinaryStoreValueFactory.getStringValueFactory() |
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.