com.mayhoo.kanji.xml
Class Kanji

java.lang.Object
  |
  +--com.mayhoo.kanji.xml.KanjiType
        |
        +--com.mayhoo.kanji.xml.Kanji
All Implemented Interfaces:
Serializable

public class Kanji
extends KanjiType
implements Serializable

Each of the kanji has an element to track its various indices.

Version:
$Revision: 1.2 $ $Date: 2002/04/30 06:44:34 $
See Also:
Serialized Form

Constructor Summary
Kanji()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(Writer out)
           
static com.mayhoo.kanji.xml.Kanji unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class com.mayhoo.kanji.xml.KanjiType
addCorner, addCorner, addCrossref, addCrossref, addHeisig2, addHeisig2, addKorean, addKorean, addMeaning, addMeaning, addPinyin, addPinyin, addReading, addReading, addSkip, addSkip, addStroke, addStroke, deleteDeroo, deleteFrequency, deleteGakken, deleteGeneral, deleteHaig, deleteHalpern, deleteHalpern2, deleteHeisig, deleteHenshall, deleteJinmeiyou, deleteJouyou, deleteKask, deleteNelson, deleteOneill, deleteRadical, deleteSpahn2, enumerateCorner, enumerateCrossref, enumerateHeisig2, enumerateKorean, enumerateMeaning, enumeratePinyin, enumerateReading, enumerateSkip, enumerateStroke, getBushu, getChar, getCorner, getCorner, getCornerCount, getCrossref, getCrossref, getCrossrefCount, getDeroo, getFrequency, getGakken, getGeneral, getHaig, getHalpern, getHalpern2, getHeisig, getHeisig2, getHeisig2, getHeisig2Count, getHenshall, getHenshall2, getJinmeiyou, getJis208, getJis212, getJouyou, getKask, getKorean, getKorean, getKoreanCount, getMeaning, getMeaning, getMeaningCount, getMorohashi, getNelson, getOneill, getOneill2, getPinyin, getPinyin, getPinyinCount, getRadical, getReading, getReading, getReadingCount, getSjis, getSkip, getSkip, getSkipCount, getSpahn, getSpahn2, getStroke, getStroke, getStrokeCount, getTohsaku, getUnicode, hasBushu, hasDeroo, hasFrequency, hasGakken, hasGeneral, hasHaig, hasHalpern, hasHalpern2, hasHeisig, hasHenshall, hasJinmeiyou, hasJouyou, hasKask, hasNelson, hasOneill, hasRadical, hasSpahn2, removeAllCorner, removeAllCrossref, removeAllHeisig2, removeAllKorean, removeAllMeaning, removeAllPinyin, removeAllReading, removeAllSkip, removeAllStroke, removeCorner, removeCrossref, removeHeisig2, removeKorean, removeMeaning, removePinyin, removeReading, removeSkip, removeStroke, setBushu, setChar, setCorner, setCorner, setCrossref, setCrossref, setDeroo, setFrequency, setGakken, setGeneral, setHaig, setHalpern, setHalpern2, setHeisig, setHeisig2, setHeisig2, setHenshall, setHenshall2, setJinmeiyou, setJis208, setJis212, setJouyou, setKask, setKorean, setKorean, setMeaning, setMeaning, setMorohashi, setNelson, setOneill, setOneill2, setPinyin, setPinyin, setRadical, setReading, setReading, setSjis, setSkip, setSkip, setSpahn, setSpahn2, setStroke, setStroke, setTohsaku, setUnicode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kanji

public Kanji()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class KanjiType

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Specified by:
marshal in class KanjiType
Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Specified by:
marshal in class KanjiType
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

unmarshal

public static com.mayhoo.kanji.xml.Kanji unmarshal(Reader reader)
                                            throws org.exolab.castor.xml.MarshalException,
                                                   org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class KanjiType
org.exolab.castor.xml.ValidationException