net.darkmist.alib.escape
Interface Escaper

All Known Implementing Classes:
CSS, Escaper.Abstract, HTML, HTMLAttribute, JS, URL, XML, XMLAttribute

public interface Escaper


Nested Class Summary
static class Escaper.Abstract
           
 
Method Summary
 Appendable escape(Appendable appendable, char[] chars)
           
 Appendable escape(Appendable appendable, char[] chars, int off, int len)
           
 Appendable escape(Appendable appendable, CharSequence str)
           
 Appendable escape(Appendable appendable, CharSequence str, int start, int end)
           
 Appendable escape(Appendable appendable, int ch)
           
 Appendable escape(Appendable appendable, String str)
           
 Appendable escape(Appendable appendable, String str, int off, int len)
           
 String escape(int ch)
           
 String escape(String str)
           
 StringBuffer escape(StringBuffer sb, char[] chars)
           
 StringBuffer escape(StringBuffer sb, char[] chars, int off, int len)
           
 StringBuffer escape(StringBuffer sb, CharSequence str)
           
 StringBuffer escape(StringBuffer sb, CharSequence str, int off, int len)
           
 StringBuffer escape(StringBuffer sb, int ch)
           
 StringBuffer escape(StringBuffer sb, String str)
           
 StringBuffer escape(StringBuffer sb, String str, int off, int len)
           
 StringBuilder escape(StringBuilder sb, char[] chars)
           
 StringBuilder escape(StringBuilder sb, char[] chars, int off, int len)
           
 StringBuilder escape(StringBuilder sb, CharSequence str)
           
 StringBuilder escape(StringBuilder sb, CharSequence str, int off, int len)
           
 StringBuilder escape(StringBuilder sb, int ch)
           
 StringBuilder escape(StringBuilder sb, String str)
           
 StringBuilder escape(StringBuilder sb, String str, int off, int len)
           
 Writer escape(Writer out)
          Wrap a writer escaping all output
 

Method Detail

escape

String escape(int ch)

escape

String escape(String str)

escape

StringBuilder escape(StringBuilder sb,
                     int ch)

escape

StringBuilder escape(StringBuilder sb,
                     String str)

escape

StringBuilder escape(StringBuilder sb,
                     String str,
                     int off,
                     int len)

escape

StringBuilder escape(StringBuilder sb,
                     CharSequence str)

escape

StringBuilder escape(StringBuilder sb,
                     CharSequence str,
                     int off,
                     int len)

escape

StringBuilder escape(StringBuilder sb,
                     char[] chars)

escape

StringBuilder escape(StringBuilder sb,
                     char[] chars,
                     int off,
                     int len)

escape

StringBuffer escape(StringBuffer sb,
                    int ch)

escape

StringBuffer escape(StringBuffer sb,
                    String str)

escape

StringBuffer escape(StringBuffer sb,
                    String str,
                    int off,
                    int len)

escape

StringBuffer escape(StringBuffer sb,
                    CharSequence str)

escape

StringBuffer escape(StringBuffer sb,
                    CharSequence str,
                    int off,
                    int len)

escape

StringBuffer escape(StringBuffer sb,
                    char[] chars)

escape

StringBuffer escape(StringBuffer sb,
                    char[] chars,
                    int off,
                    int len)

escape

Appendable escape(Appendable appendable,
                  int ch)
                  throws IOException
Throws:
IOException

escape

Appendable escape(Appendable appendable,
                  String str)
                  throws IOException
Throws:
IOException

escape

Appendable escape(Appendable appendable,
                  String str,
                  int off,
                  int len)
                  throws IOException
Throws:
IOException

escape

Appendable escape(Appendable appendable,
                  CharSequence str)
                  throws IOException
Throws:
IOException

escape

Appendable escape(Appendable appendable,
                  CharSequence str,
                  int start,
                  int end)
                  throws IOException
Throws:
IOException

escape

Appendable escape(Appendable appendable,
                  char[] chars)
                  throws IOException
Throws:
IOException

escape

Appendable escape(Appendable appendable,
                  char[] chars,
                  int off,
                  int len)
                  throws IOException
Throws:
IOException

escape

Writer escape(Writer out)
Wrap a writer escaping all output

Parameters:
out - The writer to wrap.
Returns:
A writer that escapes all output and then writes it to out.


Copyright © 2012. All Rights Reserved.