com.mayhoo.kanji.xml
Class Meaning

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

public class Meaning
extends MeaningType
implements Serializable

The meaning of the kanji, in various languages. Currently since the file was derived from the Kanjidic file only english is given.

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

Constructor Summary
Meaning()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(Writer out)
           
static com.mayhoo.kanji.xml.Meaning unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class com.mayhoo.kanji.xml.MeaningType
getContent, getLang, setContent, setLang
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Meaning

public Meaning()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class MeaningType

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Specified by:
marshal in class MeaningType
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 MeaningType
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

unmarshal

public static com.mayhoo.kanji.xml.Meaning 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 MeaningType
org.exolab.castor.xml.ValidationException