jd.xml.xslt.result.output
Class ByteOutput

java.lang.Object
  extended byjd.xml.xslt.result.output.ByteOutput
All Implemented Interfaces:
Output
Direct Known Subclasses:
Utf8ByteOutput

public abstract class ByteOutput
extends Object
implements Output


Field Summary
protected  byte[] buffer_
           
protected  int max_
           
protected  int pos_
           
 
Constructor Summary
ByteOutput(OutputStream out)
           
 
Method Summary
 void flush()
           
protected  void flushBuffer()
           
protected  void flushBuffer(int needed)
           
 void printChars(char[] chars, int length)
           
 void printSmallByte(char c)
           
 void printSmallBytes(char c, int count)
           
 void printString(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jd.xml.xslt.result.output.Output
printChar
 

Field Detail

pos_

protected int pos_

buffer_

protected byte[] buffer_

max_

protected int max_
Constructor Detail

ByteOutput

public ByteOutput(OutputStream out)
Method Detail

printSmallByte

public final void printSmallByte(char c)
Specified by:
printSmallByte in interface Output

printSmallBytes

public final void printSmallBytes(char c,
                                  int count)
Specified by:
printSmallBytes in interface Output

printChars

public final void printChars(char[] chars,
                             int length)
Specified by:
printChars in interface Output

printString

public void printString(String s)
Specified by:
printString in interface Output

flushBuffer

protected void flushBuffer(int needed)

flushBuffer

protected void flushBuffer()

flush

public final void flush()
Specified by:
flush in interface Output