org.thdl.tib.text.tshegbar
Class TshegBar

java.lang.Object
  |
  +--org.thdl.tib.text.tshegbar.TshegBar
All Implemented Interfaces:
UnicodeReadyThunk
Direct Known Subclasses:
LegalTshegBar

public abstract class TshegBar
extends Object
implements UnicodeReadyThunk

A TshegBar (pronounced tsek bar) is roughly a Tibetan syllable. In truth, it is the stuff between two tseks.

First, some terminology.

(Note: The string "\u0F68\u0F7E\u0F7C" seems to equal "\u0F00", though the Unicode standard does not indicate that it is so. This code treats it that way.)

This class allows for invalid tsheg bars, like those containing more than one prefix, more than two suffixes, an invalid postsuffix (secondary suffix), more than one consonant stack (excluding the special case of what we call in THDL Extended Wylie "'i", which is technically a consonant stack but is used in Tibetan like a suffix).

.

Subclasses exist for valid, grammatically correct tsheg bars, and for invalid tsheg bars. Note that correctness is at the tsheg bar level only; it may be grammatically incorrect to concatenate two valid tsheg bars. Some subclasses can be represented in Unicode, but others contain nonstandard glyphs/characters and cannot be.

Author:
David Chandler

Constructor Summary
TshegBar()
           
 
Method Summary
 boolean isTibetan()
          Returns true, as we consider a transliteration in the Tibetan alphabet of a non-Tibetan language, say Chinese, as being Tibetan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.thdl.tib.text.tshegbar.UnicodeReadyThunk
getUnicodeRepresentation, hasUnicodeRepresentation
 

Constructor Detail

TshegBar

public TshegBar()
Method Detail

isTibetan

public boolean isTibetan()
Returns true, as we consider a transliteration in the Tibetan alphabet of a non-Tibetan language, say Chinese, as being Tibetan.

Specified by:
isTibetan in interface UnicodeReadyThunk
Returns:
true


These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo