public class XMLEncoderFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ENCODING |
static String |
ENCODING_UTF_16 |
static String |
ENCODING_UTF_8 |
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
XMLEncoderFactory() |
Modifier and Type | Method and Description |
---|---|
static XMLEncoder |
getDefaultEncoder()
Returns the default encoder
|
static XMLEncoder |
getEncoder(String encoding)
Returns the requested encoder
|
protected static org.apache.commons.logging.Log log
public static final String ENCODING_UTF_8
public static final String ENCODING_UTF_16
public static final String DEFAULT_ENCODING
public static XMLEncoder getDefaultEncoder()
public static XMLEncoder getEncoder(String encoding) throws UnsupportedEncodingException
encoding
- UnsupportedEncodingException
Copyright © The Apache Software Foundation. All Rights Reserved.