org.apache.ws.jaxme.xs.util

Class DTDParser.StringBufferReader

public static class DTDParser.StringBufferReader extends Reader

This class is similar to a StringReader, except that it allows to extend the input dynamically.
Method Summary
voidappend(String pString)
Appends the given string to the input.
voidclose()
intread(char[] pBuffer, int pOffset, int pLen)
StringrequestInput()
Invoked, if the internal buffer is empty.

Method Detail

append

public void append(String pString)
Appends the given string to the input.

close

public void close()

read

public int read(char[] pBuffer, int pOffset, int pLen)

requestInput

public String requestInput()
Invoked, if the internal buffer is empty. Subclasses may override this to query for more input.