|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.value.basic.AbstractValueFactories
org.modeshape.jcr.value.basic.StandardValueFactories
@Immutable public class StandardValueFactories
The standard set of value factories
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.modeshape.jcr.value.basic.AbstractValueFactories |
---|
AbstractValueFactories.ValueFactoryIterator |
Constructor Summary | |
---|---|
StandardValueFactories(NamespaceRegistry namespaceRegistry,
BinaryStore binaryStore)
Create a standard set of value factories, using the default decoder . |
|
StandardValueFactories(NamespaceRegistry namespaceRegistry,
BinaryStore binaryStore,
TextDecoder decoder,
TextEncoder encoder,
ValueFactory<?>... extraFactories)
Create a standard set of value factories, using the supplied encoder/decoder. |
|
StandardValueFactories(StandardValueFactories factories,
BinaryStore store)
|
Method Summary | |
---|---|
BinaryFactory |
getBinaryFactory()
Get the value factory for binary properties. |
ValueFactory<Boolean> |
getBooleanFactory()
Get the value factory for boolean properties. |
DateTimeFactory |
getDateFactory()
Get the value factory for date properties. |
ValueFactory<BigDecimal> |
getDecimalFactory()
Get the value factory for decimal properties. |
ValueFactory<Double> |
getDoubleFactory()
Get the value factory for double properties. |
ValueFactory<Long> |
getLongFactory()
Get the value factory for long properties. |
NameFactory |
getNameFactory()
Get the value factory for name properties. |
NamespaceRegistry |
getNamespaceRegistry()
|
ValueFactory<Object> |
getObjectFactory()
Get the value factory for object properties. |
PathFactory |
getPathFactory()
Get the value factory for path properties. |
ReferenceFactory |
getReferenceFactory()
Get the value factory for reference properties. |
ValueFactory<String> |
getStringFactory()
Get the value factory for string properties. |
TypeSystem |
getTypeSystem()
Get the type system associated with these factories. |
ValueFactory<URI> |
getUriFactory()
Get the value factory for URI properties. |
UuidFactory |
getUuidFactory()
Get the value factory for UUID properties. |
ReferenceFactory |
getWeakReferenceFactory()
Get the value factory for reference properties. |
Methods inherited from class org.modeshape.jcr.value.basic.AbstractValueFactories |
---|
getValueFactory, getValueFactory, iterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardValueFactories(NamespaceRegistry namespaceRegistry, BinaryStore binaryStore)
default decoder
.
namespaceRegistry
- the namespace registrybinaryStore
- the binary store
IllegalArgumentException
- if the namespace registry or binary store are nullpublic StandardValueFactories(NamespaceRegistry namespaceRegistry, BinaryStore binaryStore, TextDecoder decoder, TextEncoder encoder, ValueFactory<?>... extraFactories)
namespaceRegistry
- the namespace registrybinaryStore
- the binary storedecoder
- the decoder that should be used; if null, the default decoder
is used.encoder
- the encoder that should be used; if null, the default encoder
is used.extraFactories
- any extra factories that should be used; any factory will override the standard factories based upon
the factory's property type
.
IllegalArgumentException
- if the namespace registry or binary store are nullpublic StandardValueFactories(StandardValueFactories factories, BinaryStore store)
Method Detail |
---|
public TypeSystem getTypeSystem()
ValueFactories
public NamespaceRegistry getNamespaceRegistry()
public BinaryFactory getBinaryFactory()
ValueFactories
binary
properties.
public ValueFactory<Boolean> getBooleanFactory()
ValueFactories
boolean
properties.
public DateTimeFactory getDateFactory()
ValueFactories
date
properties.
public ValueFactory<BigDecimal> getDecimalFactory()
ValueFactories
decimal
properties.
public ValueFactory<Double> getDoubleFactory()
ValueFactories
double
properties.
public ValueFactory<Long> getLongFactory()
ValueFactories
long
properties.
public NameFactory getNameFactory()
ValueFactories
name
properties.
public PathFactory getPathFactory()
ValueFactories
path
properties.
public ReferenceFactory getReferenceFactory()
ValueFactories
reference
properties.
public ReferenceFactory getWeakReferenceFactory()
ValueFactories
reference
properties.
public ValueFactory<String> getStringFactory()
ValueFactories
string
properties.
public ValueFactory<URI> getUriFactory()
ValueFactories
URI
properties.
public UuidFactory getUuidFactory()
ValueFactories
UUID
properties.
public ValueFactory<Object> getObjectFactory()
ValueFactories
object
properties.
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |