org.apache.cocoon.components.serializers.encoding
Class DefaultEncoder

java.lang.Object
  extended by org.apache.cocoon.components.serializers.encoding.UnknownCharset
      extended by org.apache.cocoon.components.serializers.encoding.DefaultEncoder
All Implemented Interfaces:
Charset, Encoder, Verifier

public class DefaultEncoder
extends UnknownCharset
implements Encoder

Version:
CVS $Id: DefaultEncoder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Pier Fumagalli, February 2003

Constructor Summary
DefaultEncoder()
          Create a new instance of this DefaultEncoder.
 
Method Summary
 char[] encode(char character)
          Encode the specified character as a sequence of characters.
 
Methods inherited from class org.apache.cocoon.components.serializers.encoding.UnknownCharset
allows, equals, equals, getAliases, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cocoon.components.serializers.encoding.Verifier
allows
 

Constructor Detail

DefaultEncoder

public DefaultEncoder()
Create a new instance of this DefaultEncoder.

Method Detail

encode

public char[] encode(char character)
Encode the specified character as a sequence of characters.

This method will return the same character nested into an array.

Specified by:
encode in interface Encoder


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.