org.jqurantree.arabic.encoding.buckwalter
Class BuckwalterEncoder

java.lang.Object
  extended by org.jqurantree.arabic.encoding.ArabicEncoderBase
      extended by org.jqurantree.arabic.encoding.buckwalter.BuckwalterEncoder
All Implemented Interfaces:
ArabicEncoder

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.

Author:
Kais Dukes

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

BuckwalterEncoder

public BuckwalterEncoder()
Creates a new Buckwalter encoder.



Copyright© Kais Dukes, 2009. All Rights Reserved.