com.mayhoo.kanji.xml
Class StrokeType

java.lang.Object
  |
  +--com.mayhoo.kanji.xml.StrokeType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Stroke

public abstract class StrokeType
extends Object
implements 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 $
See Also:
Serialized Form

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(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
 

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(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(int content)
Parameters:
content -

setMiscount

public void setMiscount(boolean miscount)
Parameters:
miscount -

validate

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