com.mayhoo.kanji.xml
Class ReadingType
java.lang.Object
|
+--com.mayhoo.kanji.xml.ReadingType
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Reading
- public abstract class ReadingType
- extends Object
- implements 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 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadingType
public ReadingType()
deleteNanori
public void deleteNanori()
deletePrefix
public void deletePrefix()
deleteRadical
public void deleteRadical()
deleteSuffix
public void deleteSuffix()
getContent
public String getContent()
getNanori
public boolean getNanori()
getOkurigana
public String getOkurigana()
getPrefix
public boolean getPrefix()
getRadical
public boolean getRadical()
getRomaji
public String getRomaji()
getSuffix
public boolean getSuffix()
getType
public com.mayhoo.kanji.xml.types.TypeType getType()
hasNanori
public boolean hasNanori()
hasPrefix
public boolean hasPrefix()
hasRadical
public boolean hasRadical()
hasSuffix
public boolean hasSuffix()
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
-
setNanori
public void setNanori(boolean nanori)
- Parameters:
nanori
-
setOkurigana
public void setOkurigana(String okurigana)
- Parameters:
okurigana
-
setPrefix
public void setPrefix(boolean prefix)
- Parameters:
prefix
-
setRadical
public void setRadical(boolean radical)
- Parameters:
radical
-
setRomaji
public void setRomaji(String romaji)
- Parameters:
romaji
-
setSuffix
public void setSuffix(boolean suffix)
- Parameters:
suffix
-
setType
public void setType(com.mayhoo.kanji.xml.types.TypeType type)
- Parameters:
type
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException