com.ibm.text
Class JamoHangulTransliterator

java.lang.Object
  |
  +--com.ibm.text.Transliterator
        |
        +--com.ibm.text.JamoHangulTransliterator

public class JamoHangulTransliterator
extends Transliterator

A transliterator that converts Jamo to Hangul

Copyright © IBM Corporation 1999. All rights reserved.

Author:
Mark Davis

Inner classes inherited from class com.ibm.text.Transliterator
Transliterator.Position
 
Fields inherited from class com.ibm.text.Transliterator
FORWARD, REVERSE
 
Constructor Summary
JamoHangulTransliterator()
          Constructs a transliterator.
 
Method Summary
static char composeHangul(char last, char ch, int[] count)
          Return composed character (if it is a modern jamo) last otherwise.
protected  void handleTransliterate(Replaceable text, Transliterator.Position offsets, boolean incremental)
          Implements Transliterator.handleTransliterate(com.ibm.text.Replaceable, com.ibm.text.Transliterator.Position, boolean).
 
Methods inherited from class com.ibm.text.Transliterator
filteredCharAt, finishTransliteration, getAvailableIDs, getDisplayName, getDisplayName, getFilter, getID, getInstance, getInstance, getInverse, getMaximumContextLength, registerClass, setFilter, setMaximumContextLength, transliterate, transliterate, transliterate, transliterate, transliterate, transliterate, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JamoHangulTransliterator

public JamoHangulTransliterator()
Constructs a transliterator.
Method Detail

handleTransliterate

protected void handleTransliterate(Replaceable text,
                                   Transliterator.Position offsets,
                                   boolean incremental)
Implements Transliterator.handleTransliterate(com.ibm.text.Replaceable, com.ibm.text.Transliterator.Position, boolean).
Overrides:
handleTransliterate in class Transliterator
Following copied from class: com.ibm.text.Transliterator
Parameters:
text - the buffer holding transliterated and untransliterated text
pos - the start and limit of the text, the position of the cursor, and the start and limit of transliteration.
incremental - if true, assume more text may be coming after pos.contextLimit. Otherwise, assume the text is complete.
See Also:
Transliterator.transliterate(com.ibm.text.Replaceable, int, int)

composeHangul

public static char composeHangul(char last,
                                 char ch,
                                 int[] count)
Return composed character (if it is a modern jamo) last otherwise. If there is a replacement, returns count[0] = 2 if ch was used, 1 otherwise


Copyright (c) 1998-2000 IBM Corporation and others.