Package | Description |
---|---|
org.modeshape.common.text |
A set of utilities for working with text.
|
org.modeshape.jcr | |
org.modeshape.jcr.federation.spi |
This package provides a Service Provider Interface (SPI) for connectors to external systems.
|
org.modeshape.jcr.value |
Nodes in a graph contain properties, and this package defines the interfaces, classes and exceptions for
representing and working with properties and their values.
|
org.modeshape.jcr.value.basic |
A set of basic implementations of the various interfaces defined in
org.modeshape.jcr.value . |
org.modeshape.jcr.value.binary | |
org.modeshape.jdbc.delegate | |
org.modeshape.sequencer.xml |
The classes that make up the XML sequencer.
|
Modifier and Type | Class and Description |
---|---|
class |
FilenameEncoder
An encoder useful for converting text to be used within a filename on common file systems and operating systems, including
Linux, OS X, and Windows XP.
|
class |
Jsr283Encoder
Encoder that escapes characters that are not allowed in JCR names.
|
class |
NoOpEncoder
An encoder implementation that does nothing.
|
class |
QuoteEncoder |
class |
UrlEncoder
An encoder useful for converting text to be used within a URL, as defined by Section 2.3 of RFC 2396.
|
class |
XmlNameEncoder
|
class |
XmlValueEncoder
An encoder useful for converting text to be used within XML attribute values.
|
Modifier and Type | Method and Description |
---|---|
TextDecoder |
ExecutionContext.getDecoder()
Get the text decoder for this context.
|
Constructor and Description |
---|
ExecutionContext(SecurityContext securityContext,
NamespaceRegistry namespaceRegistry,
PropertyFactory propertyFactory,
ThreadPoolFactory threadPoolFactory,
BinaryStore binaryStore,
Map<String,String> data,
String processId,
TextDecoder decoder,
TextEncoder encoder,
StringFactory stringFactory,
BinaryFactory binaryFactory,
ValueFactory<Boolean> booleanFactory,
DateTimeFactory dateFactory,
ValueFactory<BigDecimal> decimalFactory,
ValueFactory<Double> doubleFactory,
ValueFactory<Long> longFactory,
NameFactory nameFactory,
PathFactory pathFactory,
ReferenceFactory referenceFactory,
ReferenceFactory weakReferenceFactory,
ReferenceFactory simpleReferenceFactory,
UriFactory uriFactory,
UuidFactory uuidFactory,
ValueFactory<Object> objectFactory)
Create an instance of the execution context by supplying all parameters.
|
Modifier and Type | Method and Description |
---|---|
protected Name |
Connector.nameFrom(String namespaceUri,
String localName,
TextDecoder decoder)
Create a name from the given namespace URI and local name.
|
Modifier and Type | Field and Description |
---|---|
static TextDecoder |
ValueFactory.DEFAULT_DECODER |
static TextDecoder |
Path.DEFAULT_DECODER
The default text decoder to be used when none is otherwise specified.
|
static TextDecoder |
Path.JSR283_DECODER
The text decoder that decodes according to JSR-283.
|
static TextDecoder |
Path.NO_OP_DECODER
The text decoder that does nothing.
|
static TextDecoder |
Path.URL_DECODER
The text decoder that decodes text according to the rules of RFC 2396.
|
Modifier and Type | Method and Description |
---|---|
T[] |
ValueFactory.create(String[] values,
TextDecoder decoder)
Create an array of values from an array of strings, using the supplied decoder.
|
Name |
NameFactory.create(String namespaceUri,
String localName,
TextDecoder decoder)
Create a name from the given namespace URI and local name.
|
T |
ValueFactory.create(String value,
TextDecoder decoder)
Create a value from a string, using the supplied decoder.
|
Path.Segment |
PathFactory.createSegment(String segmentName,
TextDecoder decoder)
Create a path segment given the supplied segment name.
|
Modifier and Type | Field and Description |
---|---|
protected TextDecoder |
AbstractValueFactory.decoder |
Modifier and Type | Method and Description |
---|---|
TextDecoder |
AbstractValueFactory.getDecoder()
Get the text decoder.
|
protected TextDecoder |
AbstractValueFactory.getDecoder(TextDecoder decoder)
Utility method to obtain either the supplied decoder (if not null) or this factory's
decoder . |
Modifier and Type | Method and Description |
---|---|
T[] |
AbstractValueFactory.create(String[] values,
TextDecoder decoder) |
Name |
NameValueFactory.create(String namespaceUri,
String localName,
TextDecoder decoder) |
UUID |
UuidValueFactory.create(String value,
TextDecoder decoder) |
URI |
UriValueFactory.create(String value,
TextDecoder decoder) |
String |
StringValueFactory.create(String value,
TextDecoder decoder) |
Reference |
ReferenceValueFactory.create(String value,
TextDecoder decoder) |
Path |
PathValueFactory.create(String value,
TextDecoder decoder) |
Object |
ObjectValueFactory.create(String value,
TextDecoder decoder) |
Name |
NameValueFactory.create(String value,
TextDecoder decoder) |
Long |
LongValueFactory.create(String value,
TextDecoder decoder) |
DateTime |
JodaDateTimeValueFactory.create(String value,
TextDecoder decoder) |
Double |
DoubleValueFactory.create(String value,
TextDecoder decoder) |
BigDecimal |
DecimalValueFactory.create(String value,
TextDecoder decoder) |
Boolean |
BooleanValueFactory.create(String value,
TextDecoder decoder) |
Path.Segment |
PathValueFactory.createSegment(String segmentName,
TextDecoder decoder) |
protected TextDecoder |
AbstractValueFactory.getDecoder(TextDecoder decoder)
Utility method to obtain either the supplied decoder (if not null) or this factory's
decoder . |
static NodeIdentifierReferenceFactory |
NodeIdentifierReferenceFactory.newInstance(NodeKey rootKey,
TextDecoder decoder,
ValueFactories factories,
boolean weak,
boolean simple) |
static ReferenceValueFactory |
ReferenceValueFactory.newInstance(TextDecoder decoder,
ValueFactories factories,
boolean weak,
boolean simple)
Create a new instance.
|
Constructor and Description |
---|
AbstractValueFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories) |
BooleanValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
DecimalValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
DoubleValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
JodaDateTimeValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
LongValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
NameValueFactory(NamespaceRegistry.Holder namespaceRegistryHolder,
TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
NodeIdentifierReferenceFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories,
boolean weak,
boolean simple,
NodeKey rootKey) |
ObjectValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
PathValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
ReferenceValueFactory(PropertyType type,
TextDecoder decoder,
ValueFactories valueFactories,
boolean weak,
boolean simple) |
StringValueFactory(NamespaceRegistry.Holder namespaceRegistryHolder,
TextDecoder decoder,
TextEncoder encoder) |
StringValueFactory(TextDecoder decoder,
TextEncoder encoder) |
UriValueFactory(NamespaceRegistry.Holder namespaceRegistryHolder,
TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
UuidValueFactory(TextDecoder decoder,
ValueFactories factories)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
BinaryValue |
BinaryStoreValueFactory.create(String value,
TextDecoder decoder) |
Constructor and Description |
---|
BinaryStoreValueFactory(BinaryStore store,
TextDecoder decoder,
ValueFactories factories,
ValueFactory<String> stringFactory)
Create a factory instance that finds persisted binary values in the supplied store, and that uses the supplied decoder and
string value factory to convert string values into binary values.
|
Modifier and Type | Field and Description |
---|---|
static TextDecoder |
ConnectionInfo.URL_DECODER |
Modifier and Type | Field and Description |
---|---|
protected TextDecoder |
XmlSequencerHandler.decoder
The TextDecoder that is used to decode the names.
|
static TextDecoder |
XmlSequencerHandler.DEFAULT_DECODER
Decoder for XML names, to turn '_xHHHH_' sequences in the XML element and attribute names into the corresponding UTF-16
characters.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.