|
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 null
public 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 null
public StandardValueFactories(StandardValueFactories factories,
BinaryStore store)
| Method Detail |
|---|
public TypeSystem getTypeSystem()
ValueFactories
public NamespaceRegistry getNamespaceRegistry()
public BinaryFactory getBinaryFactory()
ValueFactoriesbinary properties.
public ValueFactory<Boolean> getBooleanFactory()
ValueFactoriesboolean properties.
public DateTimeFactory getDateFactory()
ValueFactoriesdate properties.
public ValueFactory<BigDecimal> getDecimalFactory()
ValueFactoriesdecimal properties.
public ValueFactory<Double> getDoubleFactory()
ValueFactoriesdouble properties.
public ValueFactory<Long> getLongFactory()
ValueFactorieslong properties.
public NameFactory getNameFactory()
ValueFactoriesname properties.
public PathFactory getPathFactory()
ValueFactoriespath properties.
public ReferenceFactory getReferenceFactory()
ValueFactoriesreference properties.
public ReferenceFactory getWeakReferenceFactory()
ValueFactoriesreference properties.
public ValueFactory<String> getStringFactory()
ValueFactoriesstring properties.
public ValueFactory<URI> getUriFactory()
ValueFactoriesURI properties.
public UuidFactory getUuidFactory()
ValueFactoriesUUID properties.
public ValueFactory<Object> getObjectFactory()
ValueFactoriesobject properties.
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||