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 |
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. |
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
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 ReferenceFactory getSimpleReferenceFactory()
ValueFactories
reference
properties.getSimpleReferenceFactory
in interface ValueFactories
public StringFactory getStringFactory()
ValueFactories
string
properties.getStringFactory
in interface ValueFactories
public UriFactory getUriFactory()
ValueFactories
URI
properties.getUriFactory
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 valuespublic ValueFactory<?> getValueFactory(Object prototype)
ValueFactories
getValueFactory
in interface ValueFactories
prototype
- the value that should be used to determine the best value factoryCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.