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

All Superinterfaces:
Verifier
All Known Implementing Classes:
CompiledEncoder, DefaultEncoder, HTMLEncoder, XHTMLEncoder, XMLEncoder

public interface Encoder
extends Verifier

Version:
CVS $Id: Encoder.java 433543 2006-08-22 06:22:54Z crossley $
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

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-2007 The Apache Software Foundation. All Rights Reserved.