Class EncodingInfo
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xml.serialize.EncodingInfo
-
public class EncodingInfo extends Object
Deprecated.This class was deprecated in Xerces 2.9.0. It is recommended that new applications use the DOM Level 3 LSSerializer or JAXP's Transformation API for XML (TrAX) for serializing XML. See the Xerces documentation for more information.This class represents an encoding.- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description EncodingInfo(String ianaName, String javaName, int lastPrintable)
Deprecated.Creates newEncodingInfo
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getIANAName()
Deprecated.Returns a MIME charset name of this encoding.Writer
getWriter(OutputStream output)
Deprecated.Returns a writer for this encoding based on an output stream.boolean
isPrintable(char ch)
Deprecated.Checks whether the specified character is printable or not in this encoding.static void
testJavaEncodingName(String name)
Deprecated.
-
-
-
Method Detail
-
getIANAName
public String getIANAName()
Deprecated.Returns a MIME charset name of this encoding.
-
getWriter
public Writer getWriter(OutputStream output) throws UnsupportedEncodingException
Deprecated.Returns a writer for this encoding based on an output stream.- Returns:
- A suitable writer
- Throws:
UnsupportedEncodingException
- There is no convertor to support this encoding
-
isPrintable
public boolean isPrintable(char ch)
Deprecated.Checks whether the specified character is printable or not in this encoding.- Parameters:
ch
- a code point (0-0x10ffff)
-
testJavaEncodingName
public static void testJavaEncodingName(String name) throws UnsupportedEncodingException
Deprecated.- Throws:
UnsupportedEncodingException
-
-