com.atlassian.confluence.rpc.soap
Class ReplacingUTF16Encoder
java.lang.Object
org.apache.axis.components.encoding.AbstractXMLEncoder
com.atlassian.confluence.rpc.soap.ReplacingUTF16Encoder
- All Implemented Interfaces:
- org.apache.axis.components.encoding.XMLEncoder
public class ReplacingUTF16Encoder
- extends org.apache.axis.components.encoding.AbstractXMLEncoder
UTF-16 Encoder that replaces illegal characters with the Unicode Replacement character "?".
Compare with UTF16Encoder
- Author:
- Jens Schumann
- See Also:
- encoding.org,
UTF 16 explained
Fields inherited from class org.apache.axis.components.encoding.AbstractXMLEncoder |
AMP, CR, GREATER, LESS, LF, QUOTE, TAB |
Method Summary |
java.lang.String |
getEncoding()
gets the encoding supported by this encoder |
void |
writeEncoded(java.io.Writer writer,
java.lang.String xmlString)
write the encoded version of a given string |
Methods inherited from class org.apache.axis.components.encoding.AbstractXMLEncoder |
encode, getInitialByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplacingUTF16Encoder
public ReplacingUTF16Encoder()
getEncoding
public java.lang.String getEncoding()
- gets the encoding supported by this encoder
- Specified by:
getEncoding
in interface org.apache.axis.components.encoding.XMLEncoder
- Specified by:
getEncoding
in class org.apache.axis.components.encoding.AbstractXMLEncoder
- Returns:
- string
writeEncoded
public void writeEncoded(java.io.Writer writer,
java.lang.String xmlString)
throws java.io.IOException
- write the encoded version of a given string
- Parameters:
writer
- writer to write this string toxmlString
- string to be encoded
- Throws:
java.io.IOException
Copyright © 2003-2010 Atlassian. All Rights Reserved.