java.lang.Object
com.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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_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
StrokeType
public StrokeType()
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