Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mayhoo.kanji.xml
Class TohsakuType  view TohsakuType download TohsakuType.java

java.lang.Object
  extended bycom.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.
 
Constructor Summary
TohsakuType()
           
 
Method Summary
 void deleteBook()
           
 void deleteChapter()
           
 void deleteIndex()
           
 int getBook()
           
 int getChapter()
           
 int getIndex()
           
 boolean hasBook()
           
 boolean hasChapter()
           
 boolean hasIndex()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 void setBook(int book)
           
 void setChapter(int chapter)
           
 void setIndex(int index)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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

Constructor Detail

TohsakuType

public TohsakuType()
Method Detail

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