Class TextEscaper

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

public final class TextEscaper extends Object
  • Constructor Details

    • TextEscaper

      private TextEscaper()
  • Method Details

    • 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