Class AbstractXMLEncoder
java.lang.Object
org.apache.axis.components.encoding.AbstractXMLEncoder
- All Implemented Interfaces:
XMLEncoder
- Direct Known Subclasses:
DefaultXMLEncoder
Abstract class for XML String encoders.
The new encoding mechanism fixes the following bugs/issues:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15133
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15494
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19327
- Author:
- Jens Schumann, Davanum Srinivas
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEncode a stringabstract Stringgets the encoding supported by this encoderprotected StringBuffergetInitialByteArray(String aXmlString, int pos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis.components.encoding.XMLEncoder
writeEncoded
-
Field Details
-
AMP
- See Also:
-
QUOTE
- See Also:
-
LESS
- See Also:
-
GREATER
- See Also:
-
LF
- See Also:
-
CR
- See Also:
-
TAB
- See Also:
-
-
Constructor Details
-
AbstractXMLEncoder
public AbstractXMLEncoder()
-
-
Method Details
-
getEncoding
gets the encoding supported by this encoder- Specified by:
getEncodingin interfaceXMLEncoder- Returns:
- string
-
encode
Encode a string- Specified by:
encodein interfaceXMLEncoder- Parameters:
xmlString- string to be encoded- Returns:
- encoded string
-
getInitialByteArray
-