com.mayhoo.kanji.xml
Class JisType

java.lang.Object
  |
  +--com.mayhoo.kanji.xml.JisType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Jis, Jis208, Jis212, Sjis

public abstract class JisType
extends Object
implements Serializable

The JIS encoding from the JIS X 0212-1990 set.

Version:
$Revision: 1.2 $ $Date: 2002/04/30 06:44:34 $
See Also:
Serialized Form

Constructor Summary
JisType()
           
 
Method Summary
 void deleteDec()
           
 int getDec()
           
 String getHex()
           
 boolean hasDec()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(Writer out)
           
 void setDec(int dec)
           
 void setHex(String hex)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JisType

public JisType()
Method Detail

deleteDec

public void deleteDec()

getDec

public int getDec()

getHex

public String getHex()

hasDec

public boolean hasDec()

isValid

public boolean isValid()

marshal

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

setDec

public void setDec(int dec)
Parameters:
dec -

setHex

public void setHex(String hex)
Parameters:
hex -

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException