org.apache.cocoon.components.serializers.encoding
Interface Encoder

All Superinterfaces:
Verifier
All Known Implementing Classes:
CompiledEncoder, DefaultEncoder

public interface Encoder
extends Verifier

Version:
CVS $Id: Encoder.java 30941 2004-07-29 19:56:58Z vgritsenko $
Author:
Pier Fumagalli, February 2003

Method Summary
 char[] encode(char character)
          Encode the specified character as a sequence of characters.
 
Methods inherited from interface org.apache.cocoon.components.serializers.encoding.Verifier
allows
 

Method Detail

encode

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

For example, in XML, the character "&" can be encoded as "&", or the Unicode "?" character can be encoded as "į"



Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.