org.modeshape.common.text
Interface TextDecoder

All Known Implementing Classes:
FilenameEncoder, Jsr283Encoder, NoOpEncoder, QuoteEncoder, UrlEncoder, XmlNameEncoder, XmlValueEncoder

@Immutable
public interface TextDecoder

Interface for components that can decode text. This is the counterpart to TextEncoder.

See Also:
TextEncoder

Method Summary
 String decode(String encodedText)
          Return the decoded version of an encoded string
 

Method Detail

decode

String decode(String encodedText)
Return the decoded version of an encoded string

Parameters:
encodedText - the encoded text
Returns:
the unecoded form of the text, or null if the supplied node name is also null
See Also:
TextEncoder.encode(String)


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