com.mayhoo.kanji.xml
Class Stroke
java.lang.Object
|
+--com.mayhoo.kanji.xml.StrokeType
|
+--com.mayhoo.kanji.xml.Stroke
- All Implemented Interfaces:
- Serializable
- public class Stroke
- extends StrokeType
- 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
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(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal
in class StrokeType
- Parameters:
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
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
- Parameters:
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
unmarshal
public static com.mayhoo.kanji.xml.Stroke unmarshal(Reader reader)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Parameters:
reader
-
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
org.exolab.castor.xml.ValidationException