com.mayhoo.kanji.xml
Class Sjis
java.lang.Object
|
+--com.mayhoo.kanji.xml.JisType
|
+--com.mayhoo.kanji.xml.Sjis
- All Implemented Interfaces:
- Serializable
- public class Sjis
- extends JisType
- implements 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 $
- See Also:
- Serialized Form
Constructor Summary |
Sjis()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sjis
public Sjis()
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.Sjis 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