Class BuckwalterEncoder

  extended by org.jqurantree.arabic.encoding.ArabicEncoderBase
      extended by org.jqurantree.arabic.encoding.buckwalter.BuckwalterEncoder
All Implemented Interfaces:

public class BuckwalterEncoder
extends ArabicEncoderBase

Supports encoding ArabicText into Buckwalter transliteration. This class is used by the ArabicText.toBuckwalter() method.

Buckwalter transliteration uses ASCII characters to represent Arabic orthography. As there is a one-to-one correspondence with Unicode, the encoding scheme is reversible. JQuranTree uses a superset of Buckwalter transliteration. There are 4 non-arabic characters in the original encoding scheme with are not found in the Quranic text: P (Peh), J (Tcheh), V (Veh) and G (Gaf). The combination character Alif + Maddah (|) is also not used in Tanzil XML. These characters are not implemented by this encoder. Likewise, 14 Quranic symbols do not feature in the original scheme. The encoder assigns these to ASCII punctuation marks.

Kais Dukes

Field Summary
Fields inherited from class org.jqurantree.arabic.encoding.ArabicEncoderBase
Constructor Summary
          Creates a new Buckwalter 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 BuckwalterEncoder()
Creates a new Buckwalter encoder.

Copyright© Kais Dukes, 2009. All Rights Reserved.