java.lang.Object
com.mayhoo.kanji.xml.StrokeType
com.mayhoo.kanji.xml.Stroke
- All Implemented Interfaces:
- java.io.Serializable
- public class Stroke
- extends StrokeType
- 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 $
| Fields inherited from class com.mayhoo.kanji.xml.StrokeType |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stroke
public Stroke()
isValid
public boolean isValid()
- Overrides:
isValid in class StrokeType
marshal
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal in class StrokeType
marshal
public void marshal(org.xml.sax.DocumentHandler handler)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal in class StrokeType
unmarshal
public static Stroke unmarshal(java.io.Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
validate
public void validate()
throws org.exolab.castor.xml.ValidationException
- Overrides:
validate in class StrokeType