Class XMLEncoderFactory
- java.lang.Object
-
- org.apache.axis.components.encoding.XMLEncoderFactory
-
public class XMLEncoderFactory extends java.lang.Object
Factory for XMLEncoder- Author:
- Jens Schumann, Davanum Srinivas
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_ENCODING
static java.lang.String
ENCODING_UTF_16
static java.lang.String
ENCODING_UTF_8
protected static org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Constructor Description XMLEncoderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static XMLEncoder
getDefaultEncoder()
Returns the default encoderstatic XMLEncoder
getEncoder(java.lang.String encoding)
Returns the requested encoder
-
-
-
Field Detail
-
log
protected static org.apache.commons.logging.Log log
-
ENCODING_UTF_8
public static final java.lang.String ENCODING_UTF_8
- See Also:
- Constant Field Values
-
ENCODING_UTF_16
public static final java.lang.String ENCODING_UTF_16
- See Also:
- Constant Field Values
-
DEFAULT_ENCODING
public static final java.lang.String DEFAULT_ENCODING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDefaultEncoder
public static XMLEncoder getDefaultEncoder()
Returns the default encoder- Returns:
-
getEncoder
public static XMLEncoder getEncoder(java.lang.String encoding) throws java.io.UnsupportedEncodingException
Returns the requested encoder- Parameters:
encoding
-- Returns:
- Throws:
java.io.UnsupportedEncodingException
-
-