Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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