org.apache.axis.components.encoding

Class XMLEncoderFactory


public class XMLEncoderFactory
extends java.lang.Object

Factory for XMLEncoder
Authors:
Jens Schumann
Davanum Srinivas

Field Summary

static String
DEFAULT_ENCODING
static String
ENCODING_UTF_16
static String
ENCODING_UTF_8
protected static Log
log

Method Summary

static XMLEncoder
getDefaultEncoder()
Returns the default encoder
static XMLEncoder
getEncoder(String encoding)
Returns the requested encoder

Field Details

DEFAULT_ENCODING

public static final String DEFAULT_ENCODING

ENCODING_UTF_16

public static final String ENCODING_UTF_16

ENCODING_UTF_8

public static final String ENCODING_UTF_8

log

protected static Log log

Method Details

getDefaultEncoder

public static XMLEncoder getDefaultEncoder()
Returns the default encoder
Returns:

getEncoder

public static XMLEncoder getEncoder(String encoding)
            throws UnsupportedEncodingException
Returns the requested encoder
Parameters:
encoding -
Returns:

Copyright © 2005 Apache Web Services Project. All Rights Reserved.