com.mayhoo.kanji.xml
Class MeaningType

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

public abstract class MeaningType
extends Object
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
MeaningType()
           
 
Method Summary
 String getContent()
           
 com.mayhoo.kanji.xml.types.LangType getLang()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(Writer out)
           
 void setContent(String content)
           
 void setLang(com.mayhoo.kanji.xml.types.LangType lang)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeaningType

public MeaningType()
Method Detail

getContent

public String getContent()

getLang

public com.mayhoo.kanji.xml.types.LangType getLang()

isValid

public boolean isValid()

marshal

public abstract void marshal(Writer out)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public abstract void marshal(org.xml.sax.DocumentHandler handler)
                      throws org.exolab.castor.xml.MarshalException,
                             org.exolab.castor.xml.ValidationException
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setContent

public void setContent(String content)
Parameters:
content -

setLang

public void setLang(com.mayhoo.kanji.xml.types.LangType lang)
Parameters:
lang -

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException