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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.mayhoo.kanji.xml.StrokeType
      extended bycom.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 $

Field Summary
 
Fields inherited from class com.mayhoo.kanji.xml.StrokeType
 
Constructor Summary
Stroke()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static Stroke unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class com.mayhoo.kanji.xml.StrokeType
deleteContent, deleteMiscount, getContent, getMiscount, hasContent, hasMiscount, setContent, setMiscount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stroke

public Stroke()
Method Detail

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