|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.property.basic.AbstractValueFactories org.jboss.dna.graph.property.basic.StandardValueFactories
@Immutable public class StandardValueFactories
The standard set of value factories
.
Constructor Summary | |
---|---|
StandardValueFactories(NamespaceRegistry namespaceRegistry)
Create a standard set of value factories, using the default decoder . |
|
StandardValueFactories(NamespaceRegistry namespaceRegistry,
TextDecoder decoder,
TextEncoder encoder,
ValueFactory<?>... extraFactories)
Create a standard set of value factories, using the supplied encoder/decoder. |
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. |
ValueFactory<Reference> |
getReferenceFactory()
Get the value factory for reference properties. |
ValueFactory<String> |
getStringFactory()
Get the value factory for string properties. |
TextDecoder |
getTextDecoder()
|
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. |
Methods inherited from class org.jboss.dna.graph.property.basic.AbstractValueFactories |
---|
getValueFactory, getValueFactory, iterator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardValueFactories(NamespaceRegistry namespaceRegistry)
default decoder
.
namespaceRegistry
- the namespace registry
IllegalArgumentException
- if the namespace registry is nullpublic StandardValueFactories(NamespaceRegistry namespaceRegistry, TextDecoder decoder, TextEncoder encoder, ValueFactory<?>... extraFactories)
namespaceRegistry
- the namespace registrydecoder
- 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 is nullMethod Detail |
---|
public TypeSystem getTypeSystem()
ValueFactories.getTypeSystem()
public TextDecoder getTextDecoder()
public NamespaceRegistry getNamespaceRegistry()
public BinaryFactory getBinaryFactory()
binary
properties.
public ValueFactory<Boolean> getBooleanFactory()
boolean
properties.
public DateTimeFactory getDateFactory()
date
properties.
public ValueFactory<BigDecimal> getDecimalFactory()
decimal
properties.
public ValueFactory<Double> getDoubleFactory()
double
properties.
public ValueFactory<Long> getLongFactory()
long
properties.
public NameFactory getNameFactory()
name
properties.
public PathFactory getPathFactory()
path
properties.
public ValueFactory<Reference> getReferenceFactory()
reference
properties.
public ValueFactory<String> getStringFactory()
string
properties.
public ValueFactory<URI> getUriFactory()
URI
properties.
public UuidFactory getUuidFactory()
UUID
properties.
ValueFactories.getUuidFactory()
public ValueFactory<Object> getObjectFactory()
object
properties.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |