java.lang.Object
com.mayhoo.kanji.xml.ReadingType
com.mayhoo.kanji.xml.Reading
- All Implemented Interfaces:
- java.io.Serializable
- public class Reading
- extends ReadingType
- implements java.io.Serializable
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.
- Version:
- $Revision: 1.2 $ $Date: 2002/04/30 06:44:34 $
| Fields inherited from class com.mayhoo.kanji.xml.ReadingType |
|
| Methods inherited from class com.mayhoo.kanji.xml.ReadingType |
deleteNanori, deletePrefix, deleteRadical, deleteSuffix, getContent, getNanori, getOkurigana, getPrefix, getRadical, getRomaji, getSuffix, getType, hasNanori, hasPrefix, hasRadical, hasSuffix, setContent, setNanori, setOkurigana, setPrefix, setRadical, setRomaji, setSuffix, setType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reading
public Reading()
isValid
public boolean isValid()
- Overrides:
isValid in class ReadingType
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal in class ReadingType
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 ReadingType
unmarshal
public static Reading unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate in class ReadingType