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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.mayhoo.kanji.xml.StrokeType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Stroke

public abstract class StrokeType
extends java.lang.Object
implements java.io.Serializable

The stroke count. There is at least one per kanji. If more than one, one is considered the accepted count, while others common miscounts and marked as such.

Version:
$Revision: 1.2 $ $Date: 2002/04/30 06:44:34 $

Field Summary
private  int _content
          internal content storage
private  boolean _has_content
          keeps track of state for field: _content
private  boolean _has_miscount
          keeps track of state for field: _miscount
private  boolean _miscount
          If more than one, one is considered the accepted count, while others common miscounts and marked as such.
 
Constructor Summary
StrokeType()
           
 
Method Summary
 void deleteContent()
           
 void deleteMiscount()
           
 int getContent()
           
 boolean getMiscount()
           
 boolean hasContent()
           
 boolean hasMiscount()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 void setContent(int content)
           
 void setMiscount(boolean miscount)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_content

private int _content
internal content storage


_has_content

private boolean _has_content
keeps track of state for field: _content


_miscount

private boolean _miscount
If more than one, one is considered the accepted count, while others common miscounts and marked as such.


_has_miscount

private boolean _has_miscount
keeps track of state for field: _miscount

Constructor Detail

StrokeType

public StrokeType()
Method Detail

deleteContent

public void deleteContent()

deleteMiscount

public void deleteMiscount()

getContent

public int getContent()

getMiscount

public boolean getMiscount()

hasContent

public boolean hasContent()

hasMiscount

public boolean hasMiscount()

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

setContent

public void setContent(int content)

setMiscount

public void setMiscount(boolean miscount)

validate

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