com.saxonica.ptree
Interface TextMangler

All Known Implementing Classes:
TextObfuscator

public interface TextMangler

Plug-in to mangle (e.g. obfuscate, compress, or encrypt) text before outputting by the PTreeWriter or after reading by the PTreeReader


Method Summary
 CharSequence mangle(CharSequence input)
          Convert a character string into another string without losing information
 CharSequence unmangle(CharSequence input)
          Convert a character string into another string without losing information, reversing the conversion performed by the mangle() method
 

Method Detail

mangle

CharSequence mangle(CharSequence input)
Convert a character string into another string without losing information

Parameters:
input - the character string to be converted
Returns:
the converted string

unmangle

CharSequence unmangle(CharSequence input)
Convert a character string into another string without losing information, reversing the conversion performed by the mangle() method

Parameters:
input - a character string produced by calling mangle()
Returns:
the converted string, the original input to the mangle() method


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.