Class UnicodeEncoder

  extended by org.jqurantree.arabic.encoding.ArabicEncoderBase
      extended by org.jqurantree.arabic.encoding.unicode.UnicodeEncoder
All Implemented Interfaces:

public class UnicodeEncoder
extends ArabicEncoderBase

Supports encoding ArabicText into Unicode character data. This class is used by the ArabicText.toUnicode() method.

Unicode is supported to allow the Tanzil XML representation of the Quran to be loaded into the orthography model. Since the Unicode encoder need only support the Uthmani Script, it is sufficient to handle only the characters found within the XML document. Unicode encoding is performed using table lookup. A single ArabicCharacter may be encoded as several Unicode characters, one for the Arabic letter or Quranic symbol, and the others for any attached diacritics.

Kais Dukes

Field Summary
Fields inherited from class org.jqurantree.arabic.encoding.ArabicEncoderBase
Constructor Summary
          Creates a new Unicode encoder.
Method Summary
Methods inherited from class org.jqurantree.arabic.encoding.ArabicEncoderBase
encode, encodeCharacter, writeCharacterSeperator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public UnicodeEncoder()
Creates a new Unicode encoder.

Copyright© Kais Dukes, 2009. All Rights Reserved.