|
ModeShape Distribution 3.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.jcr.ExecutionContext.ContextFactories
protected final class ExecutionContext.ContextFactories
Nested Class Summary | |
---|---|
protected class |
ExecutionContext.ContextFactories.ValueFactoryIterator
|
Constructor Summary | |
---|---|
protected |
ExecutionContext.ContextFactories()
|
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. |
StringFactory |
getStringFactory()
Get the value factory for string properties. |
TypeSystem |
getTypeSystem()
Get the type system associated with these factories. |
UriFactory |
getUriFactory()
Get the value factory for URI properties. |
UuidFactory |
getUuidFactory()
Get the value factory for UUID properties. |
ValueFactory<?> |
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<?> |
getValueFactory(PropertyType type)
Get the value factory that creates values of the supplied type . |
ReferenceFactory |
getWeakReferenceFactory()
Get the value factory for reference properties. |
Iterator<ValueFactory<?>> |
iterator()
This implementation always iterates over the instances return by the get*Factory() methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ExecutionContext.ContextFactories()
Method Detail |
---|
public TypeSystem getTypeSystem()
ValueFactories
getTypeSystem
in interface ValueFactories
public NamespaceRegistry getNamespaceRegistry()
public BinaryFactory getBinaryFactory()
ValueFactories
binary
properties.
getBinaryFactory
in interface ValueFactories
public ValueFactory<Boolean> getBooleanFactory()
ValueFactories
boolean
properties.
getBooleanFactory
in interface ValueFactories
public DateTimeFactory getDateFactory()
ValueFactories
date
properties.
getDateFactory
in interface ValueFactories
public ValueFactory<BigDecimal> getDecimalFactory()
ValueFactories
decimal
properties.
getDecimalFactory
in interface ValueFactories
public ValueFactory<Double> getDoubleFactory()
ValueFactories
double
properties.
getDoubleFactory
in interface ValueFactories
public ValueFactory<Long> getLongFactory()
ValueFactories
long
properties.
getLongFactory
in interface ValueFactories
public NameFactory getNameFactory()
ValueFactories
name
properties.
getNameFactory
in interface NameFactory.Holder
getNameFactory
in interface ValueFactories
public PathFactory getPathFactory()
ValueFactories
path
properties.
getPathFactory
in interface ValueFactories
public ReferenceFactory getReferenceFactory()
ValueFactories
reference
properties.
getReferenceFactory
in interface ValueFactories
public ReferenceFactory getWeakReferenceFactory()
ValueFactories
reference
properties.
getWeakReferenceFactory
in interface ValueFactories
public StringFactory getStringFactory()
ValueFactories
string
properties.
getStringFactory
in interface ValueFactories
public UriFactory getUriFactory()
ValueFactories
URI
properties.
getUriFactory
in interface ValueFactories
public UuidFactory getUuidFactory()
ValueFactories
UUID
properties.
getUuidFactory
in interface ValueFactories
public ValueFactory<Object> getObjectFactory()
ValueFactories
object
properties.
getObjectFactory
in interface ValueFactories
public Iterator<ValueFactory<?>> iterator()
This implementation always iterates over the instances return by the get*Factory()
methods.
iterator
in interface Iterable<ValueFactory<?>>
public ValueFactory<?> getValueFactory(PropertyType type)
ValueFactories
type
.
getValueFactory
in interface ValueFactories
type
- the type for the values
public ValueFactory<?> getValueFactory(Object prototype)
ValueFactories
getValueFactory
in interface ValueFactories
prototype
- the value that should be used to determine the best value factory
|
ModeShape Distribution 3.2.0.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |