|
|||||||||
| Home >> All >> com >> mayhoo >> kanji >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mayhoo.kanji.xml
Class KanjiType

java.lang.Objectcom.mayhoo.kanji.xml.KanjiType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Kanji
- public abstract class KanjiType
- extends java.lang.Object
- implements java.io.Serializable
- extends java.lang.Object
Each of the kanji has an element to track its various indices.
- Version:
- $Revision: 1.2 $ $Date: 2002/04/30 06:44:34 $
| Field Summary | |
private int |
_bushu
The radical (Bushu) number. |
private java.lang.String |
_char
The Kanji given as its unicode character. |
private java.util.Vector |
_cornerList
the "Four Corner" code for that kanji. |
private java.util.Vector |
_crossrefList
************************* |
private int |
_deroo
These are the codes developed by Father Joseph De Roo, and published in his book "2001 Kanji" (Bojinsha). |
private int |
_frequency
The frequency-of-use ranking. |
private int |
_gakken
the index number in the Gakken Kanji Dictionary ("A New Dictionary of Kanji Usage"). |
private boolean |
_general
indicates general-use characters outside the Jouyou grades 1-6. |
private int |
_haig
The index number in The New Nelson Japanese-English Character Dictionary, edited by John Haig. |
private int |
_halpern
The index number in the New Japanese-English Character Dictionary, edited by Jack Halpern. |
private int |
_halpern2
The index numbers used by Jack Halpern in his Kanji Learners Dictionary, published by Kodansha in 1999. |
private boolean |
_has_bushu
keeps track of state for field: _bushu |
private boolean |
_has_deroo
keeps track of state for field: _deroo |
private boolean |
_has_frequency
keeps track of state for field: _frequency |
private boolean |
_has_gakken
keeps track of state for field: _gakken |
private boolean |
_has_general
keeps track of state for field: _general |
private boolean |
_has_haig
keeps track of state for field: _haig |
private boolean |
_has_halpern
keeps track of state for field: _halpern |
private boolean |
_has_halpern2
keeps track of state for field: _halpern2 |
private boolean |
_has_heisig
keeps track of state for field: _heisig |
private boolean |
_has_henshall
keeps track of state for field: _henshall |
private boolean |
_has_jinmeiyou
keeps track of state for field: _jinmeiyou |
private boolean |
_has_jouyou
keeps track of state for field: _jouyou |
private boolean |
_has_kask
keeps track of state for field: _kask |
private boolean |
_has_nelson
keeps track of state for field: _nelson |
private boolean |
_has_oneill
keeps track of state for field: _oneill |
private boolean |
_has_radical
keeps track of state for field: _radical |
private boolean |
_has_spahn2
keeps track of state for field: _spahn2 |
private int |
_heisig
The index number used in "Remembering The Kanji" volumes I and III both by James Heisig |
private java.util.Vector |
_heisig2List
The index numbers used in "Remembering The Kanji" volume II by James Heisig |
private int |
_henshall
The index number used in "A Guide To Remembering Japanese Characters" by Kenneth G. |
private java.lang.String |
_henshall2
The phrase used in "A Guide To Remembering Japanese Characters" by Kenneth G. |
private boolean |
_jinmeiyou
Indicates Jinmeiyou ("for use in names") characters |
private Jis208 |
_jis208
The JIS X 0208-1990 code value is given in hex and decimal. |
private Jis212 |
_jis212
The JIS X 0212 code value is given in hex and decimal. |
private int |
_jouyou
The Jouyou grade level. |
private int |
_kask
The index number used on the "Tuttle Kanji Cards" sets I and II both compiled by Alexander Kask. |
private java.util.Vector |
_koreanList
the romanized form of the Korean reading(s) of the kanji. |
private java.util.Vector |
_meaningList
The meaning of the kanji, in various languages. |
private Morohashi |
_morohashi
The index number and volume.page respectively of the kanji in the 13-volume Morohashi "Daikanwajiten. |
private int |
_nelson
The index number in the Modern Reader's Japanese-English Character Dictionary, edited by Andrew Nelson. |
private int |
_oneill
the index numbers used in P.G. |
private java.lang.String |
_oneill2
the index number in "Japanese Names", by P.G. |
private java.util.Vector |
_pinyinList
The "Pinyin" of each kanji, i.e. |
private int |
_radical
The historical or classical radical number, as recorded in the KangXi Zidian This is often the same as the bushu entry. |
private java.util.Vector |
_readingList
The japanese readings, with indications for prefixes/suffixes, its okurigana. |
private Sjis |
_sjis
The Shift JIS code whioch is only applicable for the JIS X 0208-1990 set of characters. |
private java.util.Vector |
_skipList
The SKIP pattern code. |
private java.lang.String |
_spahn
The index codes in the reference book by Spahn and Hadamitzky, The Kanji Dictionary (Tuttle 1996). |
private int |
_spahn2
The index codes in the reference book by Spahn and Hadamitzky, The Kanji and Kana book (Tuttle). |
private java.util.Vector |
_strokeList
The stroke count. |
private Tohsaku |
_tohsaku
The book number, chapter and index within the chapter of the kanji in the 2-volume Yookoso series by Yasuhiko Tohsaku. |
private Unicode |
_unicode
The Unicode code value is given in hex and decimal. |
| Constructor Summary | |
KanjiType()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
_char
private java.lang.String _char
- The Kanji given as its unicode character. You will need a
font that supports unicode to view this attribute.
_unicode
private Unicode _unicode
- The Unicode code
value is given in hex and decimal.
_jis208
private Jis208 _jis208
- The JIS X 0208-1990 code value is given in hex and decimal.
_sjis
private Sjis _sjis
- The Shift JIS code whioch is only applicable for the JIS X
0208-1990 set of characters. It is given in hex and decimal.
_jis212
private Jis212 _jis212
- The JIS X 0212 code value is given in hex and decimal.
_bushu
private int _bushu
- The radical (Bushu) number. There is one per entry. As
far as possible, this is the radical number used in the
Nelson "New Japanese-English Character Dictionary. The
classical or historical radical number may differ from this,
it is present as a separate entry radical.
_has_bushu
private boolean _has_bushu
- keeps track of state for field: _bushu
_radical
private int _radical
- The historical or classical radical number, as recorded
in the KangXi Zidian This is often the same as the bushu
entry. There will be at most one of these.
_has_radical
private boolean _has_radical
- keeps track of state for field: _radical
_frequency
private int _frequency
- The frequency-of-use ranking. At most one per line. The
2,135 most-used characters have a ranking; those characters
that lack this field are not ranked. The frequency is a
number from 1 to 2,135 that expresses the relative frequency
of occurrence of a character in modern Japanese. The data
is based on statistics published by The National Language
Research Institute (Tokyo), interpreted and adapted by Jack
Halpern in a manner to make it useful to the learner.
The data is derived from the New Japanese-English
Character Dictionary (Kenkyusha, Tokyo 1990; NTC,
Chicago 1993).
The commercial utilization of the frequency numbers is
prohibited without written permission from Jack Halpern.
Use by individuals and small groups for reference and
research purposes is permitted, on condition that
acknowledgment of the source and this notice are included.
_has_frequency
private boolean _has_frequency
- keeps track of state for field: _frequency
_jouyou
private int _jouyou
- The Jouyou grade level. indicates Jouyou grades 1-6.
_has_jouyou
private boolean _has_jouyou
- keeps track of state for field: _jouyou
_general
private boolean _general
- indicates general-use characters outside the Jouyou grades
1-6.
_has_general
private boolean _has_general
- keeps track of state for field: _general
_jinmeiyou
private boolean _jinmeiyou
- Indicates Jinmeiyou ("for use in names") characters
_has_jinmeiyou
private boolean _has_jinmeiyou
- keeps track of state for field: _jinmeiyou
_halpern
private int _halpern
- The index number in the New Japanese-English Character
Dictionary, edited by Jack Halpern. At most one allowed
per line. If not preset, the character is not in Halpern.
_has_halpern
private boolean _has_halpern
- keeps track of state for field: _halpern
_nelson
private int _nelson
- The index number in the Modern Reader's Japanese-English
Character Dictionary, edited by Andrew Nelson. At most one
allowed per line. If not present, the character is not
in Nelson, or is considered to be a non-standard version,
in which case it may have a cross-reference code defined
within the kanji tags. (Note that many kanji currently used
are what Nelson described as "non-standard" forms or
glyphs.)
_has_nelson
private boolean _has_nelson
- keeps track of state for field: _nelson
_haig
private int _haig
- The index number in The New Nelson Japanese-English
Character Dictionary, edited by John Haig.
_has_haig
private boolean _has_haig
- keeps track of state for field: _haig
_deroo
private int _deroo
- These are the codes developed by Father Joseph De Roo, and
published in his book "2001 Kanji" (Bojinsha).
_has_deroo
private boolean _has_deroo
- keeps track of state for field: _deroo
_halpern2
private int _halpern2
- The index numbers used by Jack Halpern in his Kanji
Learners Dictionary, published by Kodansha in 1999. The
numbers have origianlly been provided by Mr Halpern.
_has_halpern2
private boolean _has_halpern2
- keeps track of state for field: _halpern2
_oneill
private int _oneill
- the index numbers used in P.G. O'Neill's Essential Kanji
(ISBN 0-8348-0222-8). The numbers originally provided by
Glenn Rosenthal.
_has_oneill
private boolean _has_oneill
- keeps track of state for field: _oneill
_skipList
private java.util.Vector _skipList
- The SKIP pattern code. The code is of the form
"
- - ". The System of Kanji Indexing by Patterns (SKIP) is a scheme for the classification and rapid retrieval of Chinese characters on the basis of geometrical patterns. Developed by Jack Halpern, it first appeared in the New Japanese-English Character Dictionary (Kenkyusha, Tokyo 1990; NTC, Chicago 1993).
_strokeList
private java.util.Vector _strokeList
- The stroke count. There is at least one per kanji. If
more than one, one is considered the accepted count, while
others common miscounts and marked as such.
_spahn
private java.lang.String _spahn
- The index codes in the reference book by Spahn and
Hadamitzky, The Kanji Dictionary (Tuttle 1996). They are in
the form nxnn.n, e.g. 3k11.2, where the kanji has 3
strokes in the identifying radical, it is radical "k" in the
S&H classification system, there are 11 other strokes, and
it is the 2nd kanji in the 3k11 sequence. Where the JIS X
0208 glyph is the second kanji for a particular descriptor
code, it has a "-2" appended to the code.
_spahn2
private int _spahn2
- The index codes in the reference book by Spahn and
Hadamitzky, The Kanji and Kana book (Tuttle). This is the
number of the 1,945 kanji referenced in that book.
_has_spahn2
private boolean _has_spahn2
- keeps track of state for field: _spahn2
_cornerList
private java.util.Vector _cornerList
- the "Four Corner" code for that kanji. This is a code
invented by Wang Chen in 1928, it has since then been widely
used for dictionaries in China and Japan. In some cases
there are two of these codes, as it is can be little
ambiguous, and Morohashi has some kanji coded differently
from their traditional Chinese codes. (Warning from the
original kanjidic: Christian Wittern, who passed on these
codes, comments that they are in need of proof-reading and
thus users are advised to be cautious using the codes for
serious scholarship.
_morohashi
private Morohashi _morohashi
- The index number and volume.page respectively of the
kanji in the 13-volume Morohashi "Daikanwajiten.
_tohsaku
private Tohsaku _tohsaku
- The book number, chapter and index within the chapter of
the kanji in the 2-volume Yookoso series by Yasuhiko
Tohsaku.
_henshall
private int _henshall
- The index number used in "A Guide To Remembering Japanese
Characters" by Kenneth G. Henshall. There are 1945 kanji
with these numbers (i.e. the Jouyou subset.)
_has_henshall
private boolean _has_henshall
- keeps track of state for field: _henshall
_henshall2
private java.lang.String _henshall2
- The phrase used in "A Guide To Remembering Japanese
Characters" by Kenneth G. Henshall. There are 1945 kanji
with these phrases (i.e. the Jouyou subset.)
_gakken
private int _gakken
- the index number in the Gakken Kanji Dictionary ("A
New Dictionary of Kanji Usage"). Some of the numbers
relate to the list at the back of the book, jouyou
kanji not contained in the dictionary, and various
historical tables at the end.
_has_gakken
private boolean _has_gakken
- keeps track of state for field: _gakken
_heisig
private int _heisig
- The index number used in "Remembering The Kanji" volumes I
and III both by James Heisig
_has_heisig
private boolean _has_heisig
- keeps track of state for field: _heisig
_heisig2List
private java.util.Vector _heisig2List
- The index numbers used in "Remembering The Kanji" volume
II by James Heisig
_kask
private int _kask
- The index number used on the "Tuttle Kanji Cards" sets I
and II both compiled by Alexander Kask.
_has_kask
private boolean _has_kask
- keeps track of state for field: _kask
_oneill2
private java.lang.String _oneill2
- the index number in "Japanese Names", by P.G. O'Neill.
(Weatherhill, 1972) (A warning: This is a string becuase
some of the numbers end with 'A'. This is how they appear in
the book; it is not a problem with the file.)
_koreanList
private java.util.Vector _koreanList
- the romanized form of the Korean reading(s) of the kanji.
Most of these kanji have one Korean reading, a few have two
or more. The readings are in the (Republic of Korea)
Ministry of Education style of romanization.
_pinyinList
private java.util.Vector _pinyinList
- The "Pinyin" of each kanji, i.e. the (Mandarin or Beijing)
Chinese romanization. About 6,000 of the kanji have these.
Obviously most of the native Japanese kokuji do not have
Pinyin, however at least one does as it was taken into
Chinese at a later date.
_crossrefList
private java.util.Vector _crossrefList
- *************************
_readingList
private java.util.Vector _readingList
- The japanese readings, with indications for
prefixes/suffixes, its okurigana. ON-yomi are in katakana
and KUN-yomi are in hiragana. There may be several classes
of reading fields, with special classes marked as such. The
current classes, are: - special "nanori" (i.e. name)
readings, - a radical, and the radical name is not already a
reading.
_meaningList
private java.util.Vector _meaningList
- The meaning of the kanji, in various languages. Currently
since the file was derived from the Kanjidic file only
english is given.
| Constructor Detail |
KanjiType
public KanjiType()
| Method Detail |
addCorner
public void addCorner(java.lang.String vCorner) throws java.lang.IndexOutOfBoundsException
addCorner
public void addCorner(int index,
java.lang.String vCorner)
throws java.lang.IndexOutOfBoundsException
addCrossref
public void addCrossref(Crossref vCrossref) throws java.lang.IndexOutOfBoundsException
addCrossref
public void addCrossref(int index,
Crossref vCrossref)
throws java.lang.IndexOutOfBoundsException
addHeisig2
public void addHeisig2(int vHeisig2)
throws java.lang.IndexOutOfBoundsException
addHeisig2
public void addHeisig2(int index,
int vHeisig2)
throws java.lang.IndexOutOfBoundsException
addKorean
public void addKorean(java.lang.String vKorean) throws java.lang.IndexOutOfBoundsException
addKorean
public void addKorean(int index,
java.lang.String vKorean)
throws java.lang.IndexOutOfBoundsException
addMeaning
public void addMeaning(Meaning vMeaning) throws java.lang.IndexOutOfBoundsException
addMeaning
public void addMeaning(int index,
Meaning vMeaning)
throws java.lang.IndexOutOfBoundsException
addPinyin
public void addPinyin(java.lang.String vPinyin) throws java.lang.IndexOutOfBoundsException
addPinyin
public void addPinyin(int index,
java.lang.String vPinyin)
throws java.lang.IndexOutOfBoundsException
addReading
public void addReading(Reading vReading) throws java.lang.IndexOutOfBoundsException
addReading
public void addReading(int index,
Reading vReading)
throws java.lang.IndexOutOfBoundsException
addSkip
public void addSkip(java.lang.String vSkip) throws java.lang.IndexOutOfBoundsException
addSkip
public void addSkip(int index,
java.lang.String vSkip)
throws java.lang.IndexOutOfBoundsException
addStroke
public void addStroke(Stroke vStroke) throws java.lang.IndexOutOfBoundsException
addStroke
public void addStroke(int index,
Stroke vStroke)
throws java.lang.IndexOutOfBoundsException
deleteDeroo
public void deleteDeroo()
deleteFrequency
public void deleteFrequency()
deleteGakken
public void deleteGakken()
deleteGeneral
public void deleteGeneral()
deleteHaig
public void deleteHaig()
deleteHalpern
public void deleteHalpern()
deleteHalpern2
public void deleteHalpern2()
deleteHeisig
public void deleteHeisig()
deleteHenshall
public void deleteHenshall()
deleteJinmeiyou
public void deleteJinmeiyou()
deleteJouyou
public void deleteJouyou()
deleteKask
public void deleteKask()
deleteNelson
public void deleteNelson()
deleteOneill
public void deleteOneill()
deleteRadical
public void deleteRadical()
deleteSpahn2
public void deleteSpahn2()
enumerateCorner
public java.util.Enumeration enumerateCorner()
enumerateCrossref
public java.util.Enumeration enumerateCrossref()
enumerateHeisig2
public java.util.Enumeration enumerateHeisig2()
enumerateKorean
public java.util.Enumeration enumerateKorean()
enumerateMeaning
public java.util.Enumeration enumerateMeaning()
enumeratePinyin
public java.util.Enumeration enumeratePinyin()
enumerateReading
public java.util.Enumeration enumerateReading()
enumerateSkip
public java.util.Enumeration enumerateSkip()
enumerateStroke
public java.util.Enumeration enumerateStroke()
getBushu
public int getBushu()
getChar
public java.lang.String getChar()
getCorner
public java.lang.String getCorner(int index) throws java.lang.IndexOutOfBoundsException
getCorner
public java.lang.String[] getCorner()
getCornerCount
public int getCornerCount()
getCrossref
public Crossref getCrossref(int index) throws java.lang.IndexOutOfBoundsException
getCrossref
public Crossref[] getCrossref()
getCrossrefCount
public int getCrossrefCount()
getDeroo
public int getDeroo()
JAVADOC
com.mayhoo.kanji.xml.KanjiType