com.ctc.wstx.io
Class TextEscaper

java.lang.Object
  extended by com.ctc.wstx.io.TextEscaper

public final class TextEscaper
extends Object


Method Summary
static void outputDTDText(Writer w, char[] ch, int offset, int len)
          Quoting method used when outputting content that will be part of DTD (internal/external subset).
static void writeEscapedAttrValue(Writer w, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

writeEscapedAttrValue

public static void writeEscapedAttrValue(Writer w,
                                         String value)
                                  throws IOException
Throws:
IOException

outputDTDText

public static void outputDTDText(Writer w,
                                 char[] ch,
                                 int offset,
                                 int len)
                          throws IOException
Quoting method used when outputting content that will be part of DTD (internal/external subset). Additional quoting is needed for percentage char, which signals parameter entities.

Throws:
IOException


Copyright © 2011 Codehaus. All Rights Reserved.