Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mayhoo.kanji.xml
Class Reading  view Reading download Reading.java

java.lang.Object
  extended bycom.mayhoo.kanji.xml.ReadingType
      extended bycom.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 $

Field Summary
 
Fields inherited from class com.mayhoo.kanji.xml.ReadingType
 
Constructor Summary
Reading()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static Reading unmarshal(java.io.Reader reader)
           
 void validate()
           
 
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
 

Constructor Detail

Reading

public Reading()
Method Detail

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