public class

ReplacingUTF8Encoder

extends AbstractXMLEncoder
java.lang.Object
   ↳ org.apache.axis.components.encoding.AbstractXMLEncoder
     ↳ com.atlassian.confluence.rpc.soap.ReplacingUTF8Encoder

Class Overview

UTF-8 Encoder that replaces illegal characters with the Unicode Replacement character "?". Compare with org.apache.axis.components.encoding.UTF8Encoder

Summary

[Expand]
Inherited Constants
From class org.apache.axis.components.encoding.AbstractXMLEncoder
Public Constructors
ReplacingUTF8Encoder()
Public Methods
String getEncoding()
gets the encoding supported by this encoder
void writeEncoded(Writer writer, String xmlString)
write the encoded version of a given string
[Expand]
Inherited Methods
From class org.apache.axis.components.encoding.AbstractXMLEncoder
From class java.lang.Object
From interface org.apache.axis.components.encoding.XMLEncoder

Public Constructors

public ReplacingUTF8Encoder ()

Public Methods

public String getEncoding ()

gets the encoding supported by this encoder

Returns
  • string

public void writeEncoded (Writer writer, String xmlString)

write the encoded version of a given string

Parameters
writer writer to write this string to
xmlString string to be encoded
Throws
IOException