com.mayhoo.kanji.xml
Class TohsakuType
java.lang.Object
|
+--com.mayhoo.kanji.xml.TohsakuType
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Tohsaku
- public abstract class TohsakuType
- extends Object
- implements Serializable
The book number, chapter and index within the chapter of the
kanji in the 2-volume Yookoso series by Yasuhiko Tohsaku.
- Version:
- $Revision: 1.1 $ $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 |
TohsakuType
public TohsakuType()
deleteBook
public void deleteBook()
deleteChapter
public void deleteChapter()
deleteIndex
public void deleteIndex()
getBook
public int getBook()
getChapter
public int getChapter()
getIndex
public int getIndex()
hasBook
public boolean hasBook()
hasChapter
public boolean hasChapter()
hasIndex
public boolean hasIndex()
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
setBook
public void setBook(int book)
- Parameters:
book
-
setChapter
public void setChapter(int chapter)
- Parameters:
chapter
-
setIndex
public void setIndex(int index)
- Parameters:
index
-
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException