## Uses of Interface
org.modeshape.common.text.TextEncoder

- Packages that use TextEncoder
  Package | Description
  --- | ---
  org.modeshape.common.text | A set of utilities for working with text.
  org.modeshape.jcr |
  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`.

- - ### Uses of TextEncoder in org.modeshape.common.text

    Classes in org.modeshape.common.text that implement TextEncoder
    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` | `SecureHashTextEncoder` A text encoder that performs a secure hash of the input text and returns that hash as the encoded text.
    `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` An `encoder` and `decoder` for XML element and attribute names.
    `class` | `XmlValueEncoder` An encoder useful for converting text to be used within XML attribute values.

  - ### Uses of TextEncoder in org.modeshape.jcr

    Constructors in org.modeshape.jcr with parameters of type TextEncoder
    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.

  - ### Uses of TextEncoder in org.modeshape.jcr.value

    Fields in org.modeshape.jcr.value declared as TextEncoder
    Modifier and Type | Field and Description
    --- | ---
    `static TextEncoder` | ValueFactory.`DEFAULT_ENCODER`
    `static TextEncoder` | Path.`DEFAULT_ENCODER` The default text encoder to be used when none is otherwise specified.
    `static TextEncoder` | Path.`JSR283_ENCODER` The text encoder that encodes according to JSR-283.
    `static TextEncoder` | Path.`NO_OP_ENCODER` The text encoder that does nothing.
    `static TextEncoder` | Path.`URL_ENCODER` The text encoder that encodes text according to the rules of RFC 2396.

    Methods in org.modeshape.jcr.value with parameters of type TextEncoder
    Modifier and Type | Method and Description
    --- | ---
    `String` | Readable.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)` Get the encoded string form of the object, using the supplied namespace registry to convert the any namespace URIs to prefixes.
    `String` | Readable.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)` Get the encoded string form of the object, using the supplied namespace registry to convert the names' namespace URIs to prefixes and the supplied encoder to encode characters, and using the second delimiter to encode (or convert) the delimiter used between the namespace prefix and the local part of any names.
    `String` | Reference.`getString(TextEncoder encoder)` Get the encoded string form of the Reference, using the supplied encoder to encode characters in the reference.
    `String` | Readable.`getString(TextEncoder encoder)` Get the encoded string form of the object, using the supplied encoder to encode characters.

  - ### Uses of TextEncoder in org.modeshape.jcr.value.basic

    Methods in org.modeshape.jcr.value.basic that return TextEncoder
    Modifier and Type | Method and Description
    --- | ---
    `TextEncoder` | StringValueFactory.`getEncoder()`

    Methods in org.modeshape.jcr.value.basic with parameters of type TextEncoder
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | AbstractPath.`doGetString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)` Method that creates the string representation.
    `String` | RootPath.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)`
    `String` | IdentifierPath.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)`
    `String` | BasicProperty.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)`
    `String` | BasicPathSegment.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)`
    `String` | BasicName.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)`
    `String` | AbstractPath.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)`
    `String` | RootPath.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | IdentifierPathSegment.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | IdentifierPath.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | BasicProperty.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | BasicPathSegment.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | BasicName.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | AbstractPath.`getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)`
    `String` | UuidReference.`getString(TextEncoder encoder)`
    `String` | StringReference.`getString(TextEncoder encoder)`
    `String` | RootPath.`getString(TextEncoder encoder)`
    `String` | NodeKeyReference.`getString(TextEncoder encoder)`
    `String` | IdentifierPathSegment.`getString(TextEncoder encoder)`
    `String` | IdentifierPath.`getString(TextEncoder encoder)`
    `String` | BasicProperty.`getString(TextEncoder encoder)`
    `String` | BasicPathSegment.`getString(TextEncoder encoder)`
    `String` | BasicName.`getString(TextEncoder encoder)`
    `String` | AbstractPath.`getString(TextEncoder encoder)`

    Constructors in org.modeshape.jcr.value.basic with parameters of type TextEncoder
    Constructor and Description
    `StringValueFactory(NamespaceRegistry.Holder namespaceRegistryHolder, TextDecoder decoder, TextEncoder encoder)`
    `StringValueFactory(TextDecoder decoder, TextEncoder encoder)`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.