protected final class ExecutionContext.ContextFactories extends Object implements ValueFactories
| Modifier and Type | Class and Description |
|---|---|
protected class |
ExecutionContext.ContextFactories.ValueFactoryIterator |
| Modifier | Constructor and Description |
|---|---|
protected |
ExecutionContext.ContextFactories() |
| Modifier and Type | Method and Description |
|---|---|
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. |
ReferenceFactory |
getSimpleReferenceFactory()
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. |
public TypeSystem getTypeSystem()
ValueFactoriesgetTypeSystem in interface ValueFactoriespublic NamespaceRegistry getNamespaceRegistry()
public BinaryFactory getBinaryFactory()
ValueFactoriesbinary properties.getBinaryFactory in interface ValueFactoriespublic ValueFactory<Boolean> getBooleanFactory()
ValueFactoriesboolean properties.getBooleanFactory in interface ValueFactoriespublic DateTimeFactory getDateFactory()
ValueFactoriesdate properties.getDateFactory in interface ValueFactoriespublic ValueFactory<BigDecimal> getDecimalFactory()
ValueFactoriesdecimal properties.getDecimalFactory in interface ValueFactoriespublic ValueFactory<Double> getDoubleFactory()
ValueFactoriesdouble properties.getDoubleFactory in interface ValueFactoriespublic ValueFactory<Long> getLongFactory()
ValueFactorieslong properties.getLongFactory in interface ValueFactoriespublic NameFactory getNameFactory()
ValueFactoriesname properties.getNameFactory in interface NameFactory.HoldergetNameFactory in interface ValueFactoriespublic PathFactory getPathFactory()
ValueFactoriespath properties.getPathFactory in interface ValueFactoriespublic ReferenceFactory getReferenceFactory()
ValueFactoriesreference properties.getReferenceFactory in interface ValueFactoriespublic ReferenceFactory getWeakReferenceFactory()
ValueFactoriesreference properties.getWeakReferenceFactory in interface ValueFactoriespublic ReferenceFactory getSimpleReferenceFactory()
ValueFactoriesreference properties.getSimpleReferenceFactory in interface ValueFactoriespublic StringFactory getStringFactory()
ValueFactoriesstring properties.getStringFactory in interface ValueFactoriespublic UriFactory getUriFactory()
ValueFactoriesURI properties.getUriFactory in interface ValueFactoriespublic UuidFactory getUuidFactory()
ValueFactoriesUUID properties.getUuidFactory in interface ValueFactoriespublic ValueFactory<Object> getObjectFactory()
ValueFactoriesobject properties.getObjectFactory in interface ValueFactoriespublic 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)
ValueFactoriestype.getValueFactory in interface ValueFactoriestype - the type for the valuespublic ValueFactory<?> getValueFactory(Object prototype)
ValueFactoriesgetValueFactory in interface ValueFactoriesprototype - the value that should be used to determine the best value factoryCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.