|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface Readable
An interface defining methods to obtain a "readable" string representation.
Method Summary | |
---|---|
String |
getString()
Get the string form of the object. |
String |
getString(NamespaceRegistry namespaceRegistry)
Get the string form of the object, using the supplied namespace registry to convert any namespace URIs to prefixes. |
String |
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 |
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 |
getString(TextEncoder encoder)
Get the encoded string form of the object, using the supplied encoder to encode characters. |
Method Detail |
---|
String getString()
default encoder
is used to encode characters.
getString(TextEncoder)
String getString(TextEncoder encoder)
encoder
- the encoder to use, or null if the default encoder
should be used
getString()
String getString(NamespaceRegistry namespaceRegistry)
default encoder
is used to encode characters.
namespaceRegistry
- the namespace registry that should be used to obtain the prefix for any namespace URIs
IllegalArgumentException
- if the namespace registry is nullgetString(NamespaceRegistry,TextEncoder)
String getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder)
namespaceRegistry
- the namespace registry that should be used to obtain the prefix for the namespace URIsencoder
- the encoder to use, or null if the default encoder
should be used
IllegalArgumentException
- if the namespace registry is nullgetString(NamespaceRegistry)
String getString(NamespaceRegistry namespaceRegistry, TextEncoder encoder, TextEncoder delimiterEncoder)
namespaceRegistry
- the namespace registry that should be used to obtain the prefix for the namespace URIs in the
segment names
encoder
- the encoder to use for encoding the local part and namespace prefix of any names, or null if the
default encoder
should be useddelimiterEncoder
- the encoder to use for encoding the delimiter between the local part and namespace prefix of any
names, or null if the standard delimiter should be used
getString(NamespaceRegistry)
,
getString(NamespaceRegistry, TextEncoder)
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |