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

## com.sun.xml.txw2.output
Class DumbEscapeHandler

    java.lang.Object
      com.sun.xml.txw2.output.DumbEscapeHandler

All Implemented Interfaces:
  CharacterEscapeHandler

    public class DumbEscapeHandler

extends java.lang.Object
implements CharacterEscapeHandler

Escape everything above the US-ASCII code range. A fallback position. Works with any JDK, any encoding.

Since:
  1.0.1
Author:
  Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Field Summary
`static CharacterEscapeHandler` | `theInstance`

Method Summary
`void` | `escape(char[] ch, int start, int length, boolean isAttVal, java.io.Writer out)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### theInstance

    public static final CharacterEscapeHandler theInstance

Method Detail

### escape

    public void escape(char[] ch,
                       int start,
                       int length,
                       boolean isAttVal,
                       java.io.Writer out)
                throws java.io.IOException

  Specified by:
    `escape` in interface `CharacterEscapeHandler`
  Parameters:
    `ch` - The array of characters.
    `start` - The starting position.
    `length` - The number of characters to use.
    `isAttVal` - true if this is an attribute value literal.
  Throws:
    `java.io.IOException`

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