com.mayhoo.kanji.xml
Class Jis

java.lang.Object
  |
  +--com.mayhoo.kanji.xml.JisType
        |
        +--com.mayhoo.kanji.xml.Jis
All Implemented Interfaces:
Serializable

public class Jis
extends JisType
implements Serializable

The JIS X 0208-1990 code value is given in hex and decimal.

Version:
$Revision: 1.1 $ $Date: 2002/04/20 17:43:41 $
See Also:
Serialized Form

Constructor Summary
Jis()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(Writer out)
           
static com.mayhoo.kanji.xml.Jis unmarshal(Reader reader)
           
 void validate()
           
 
Methods inherited from class com.mayhoo.kanji.xml.JisType
deleteDec, getDec, getHex, hasDec, setDec, setHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jis

public Jis()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class JisType

marshal

public void marshal(Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Specified by:
marshal in class JisType
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 JisType
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

unmarshal

public static com.mayhoo.kanji.xml.Jis 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 JisType
org.exolab.castor.xml.ValidationException