java.lang.Object
com.mayhoo.kanji.xml.TohsakuType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Tohsaku
- public abstract class TohsakuType
- extends java.lang.Object
- implements java.io.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 $
|
Field Summary |
private int |
_book
The book number containing the kanji. |
private int |
_chapter
The chapter in which the kanji is given. |
private boolean |
_has_book
keeps track of state for field: _book |
private boolean |
_has_chapter
keeps track of state for field: _chapter |
private boolean |
_has_index
keeps track of state for field: _index |
private int |
_index
The index number from the order in which the kanji were
given in the chapter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_book
private int _book
- The book number containing the kanji.
_has_book
private boolean _has_book
- keeps track of state for field: _book
_chapter
private int _chapter
- The chapter in which the kanji is given.
_has_chapter
private boolean _has_chapter
- keeps track of state for field: _chapter
_index
private int _index
- The index number from the order in which the kanji were
given in the chapter.
_has_index
private boolean _has_index
- keeps track of state for field: _index
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(java.io.Writer out)
throws 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
setBook
public void setBook(int book)
setChapter
public void setChapter(int chapter)
setIndex
public void setIndex(int index)
validate
public void validate()
throws org.exolab.castor.xml.ValidationException