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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.mayhoo.kanji.xml.JisType
      extended bycom.mayhoo.kanji.xml.Sjis
All Implemented Interfaces:
java.io.Serializable

public class Sjis
extends JisType
implements java.io.Serializable

The Shift JIS code whioch is only applicable for the JIS X 0208-1990 set of characters. It is given in hex and decimal.

Version:
$Revision: 1.1 $ $Date: 2002/04/30 06:44:34 $

Field Summary
 
Fields inherited from class com.mayhoo.kanji.xml.JisType
 
Constructor Summary
Sjis()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static Sjis unmarshal(java.io.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

Sjis

public Sjis()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class JisType

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Specified by:
marshal in class JisType

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

unmarshal

public static Sjis 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 JisType