com.mayhoo.kanji.xml
Class Unicode
java.lang.Object
|
+--com.mayhoo.kanji.xml.UnicodeType
|
+--com.mayhoo.kanji.xml.Unicode
- All Implemented Interfaces:
- Serializable
- public class Unicode
- extends UnicodeType
- implements Serializable
The Unicode code value
is given in hex and decimal.
- Version:
- $Revision: 1.2 $ $Date: 2002/04/30 06:44:34 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Unicode
public Unicode()
isValid
public boolean isValid()
- Overrides:
isValid
in class UnicodeType
marshal
public void marshal(Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
- Specified by:
marshal
in class UnicodeType
- 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 UnicodeType
- Parameters:
handler
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
unmarshal
public static com.mayhoo.kanji.xml.Unicode 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 UnicodeType
org.exolab.castor.xml.ValidationException