public class

ReplacingUTF16Encoder

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

Class Overview

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

Summary

[Expand]
Inherited Constants
From class org.apache.axis.components.encoding.AbstractXMLEncoder
Public Constructors
ReplacingUTF16Encoder()
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 ReplacingUTF16Encoder ()

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