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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.mayhoo.kanji.xml.UnicodeType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Unicode

public abstract class UnicodeType
extends java.lang.Object
implements java.io.Serializable

The Unicode encoding of the kanji. There is exactly one per line.

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

Field Summary
private  int _dec
          The Unicode encoding of the kanji in decimal.
private  boolean _has_dec
          keeps track of state for field: _dec
private  java.lang.String _hex
          The Unicode encoding of the kanji in hex.
 
Constructor Summary
UnicodeType()
           
 
Method Summary
 void deleteDec()
           
 int getDec()
           
 java.lang.String getHex()
           
 boolean hasDec()
           
 boolean isValid()
           
abstract  void marshal(org.xml.sax.DocumentHandler handler)
           
abstract  void marshal(java.io.Writer out)
           
 void setDec(int dec)
           
 void setHex(java.lang.String hex)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_dec

private int _dec
The Unicode encoding of the kanji in decimal.


_has_dec

private boolean _has_dec
keeps track of state for field: _dec


_hex

private java.lang.String _hex
The Unicode encoding of the kanji in hex.

Constructor Detail

UnicodeType

public UnicodeType()
Method Detail

deleteDec

public void deleteDec()

getDec

public int getDec()

getHex

public java.lang.String getHex()

hasDec

public boolean hasDec()

isValid

public boolean isValid()

marshal

public abstract void marshal(java.io.Writer out)
                      throws 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

setDec

public void setDec(int dec)

setHex

public void setHex(java.lang.String hex)

validate

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