public abstract class AbstractXMLEncoder extends Object implements XMLEncoder
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AMP |
protected static String |
CR |
protected static String |
GREATER |
protected static String |
LESS |
protected static String |
LF |
protected static String |
QUOTE |
protected static String |
TAB |
| Constructor and Description |
|---|
AbstractXMLEncoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode(String xmlString)
Encode a string
|
abstract String |
getEncoding()
gets the encoding supported by this encoder
|
protected StringBuffer |
getInitialByteArray(String aXmlString,
int pos) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteEncodedprotected static final String AMP
protected static final String QUOTE
protected static final String LESS
protected static final String GREATER
protected static final String LF
protected static final String CR
protected static final String TAB
public abstract String getEncoding()
getEncoding in interface XMLEncoderpublic String encode(String xmlString)
encode in interface XMLEncoderxmlString - string to be encodedprotected StringBuffer getInitialByteArray(String aXmlString, int pos)
Copyright © The Apache Software Foundation. All Rights Reserved.