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:
$Id: Encoder.java 587752 2007-10-24 02:47:02Z vgritsenko $

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