org.apache.yoko.orb.OB
Class CodeConverterBase

java.lang.Object
  extended by org.apache.yoko.orb.OB.CodeConverterBase

public abstract class CodeConverterBase
extends Object


Field Summary
protected  CodeSetInfo from_
           
protected  CodeSetInfo to_
           
 
Method Summary
abstract  boolean conversionRequired()
           
abstract  char convert(char value)
           
 boolean equals(Object obj)
           
 CodeSetInfo getFrom()
           
 CodeSetInfo getTo()
           
 int hashCode()
           
 char read_char(InputStream in)
           
 int read_count_wchar(char v)
           
 char read_wchar(InputStream in, int len)
           
 boolean readerRequired()
           
 void set_reader_flags(int flags)
           
 void set_writer_flags(int flags)
           
 void write_char(OutputStream out, char v)
           
 int write_count_wchar(char v)
           
 void write_wchar(OutputStream out, char v)
           
 boolean writerRequired()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

from_

protected CodeSetInfo from_

to_

protected CodeSetInfo to_
Method Detail

equals

public final boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

read_char

public final char read_char(InputStream in)
                     throws DATA_CONVERSION
Throws:
DATA_CONVERSION

read_wchar

public char read_wchar(InputStream in,
                       int len)
                throws DATA_CONVERSION
Throws:
DATA_CONVERSION

write_char

public void write_char(OutputStream out,
                       char v)
                throws DATA_CONVERSION
Throws:
DATA_CONVERSION

write_wchar

public void write_wchar(OutputStream out,
                        char v)
                 throws DATA_CONVERSION
Throws:
DATA_CONVERSION

read_count_wchar

public int read_count_wchar(char v)

write_count_wchar

public int write_count_wchar(char v)

readerRequired

public final boolean readerRequired()

writerRequired

public final boolean writerRequired()

getFrom

public final CodeSetInfo getFrom()

getTo

public final CodeSetInfo getTo()

set_reader_flags

public final void set_reader_flags(int flags)

set_writer_flags

public final void set_writer_flags(int flags)

conversionRequired

public abstract boolean conversionRequired()

convert

public abstract char convert(char value)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.