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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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-2010 The Apache Software Foundation. All Rights Reserved.