public class XTalkToSAX
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INITIAL_BUF_SIZE |
Constructor and Description |
---|
XTalkToSAX() |
XTalkToSAX(int bufSize) |
Modifier and Type | Method and Description |
---|---|
int |
bufferSize()
Initially, the XTalkToSAX processor creates a byte buffer and char buffer of size
INITIAL_BUF_SIZE.
|
void |
parse(java.io.InputStream is,
org.xml.sax.ContentHandler handler)
Parse one document off of the incoming XTalk stream into SAX events.
|
void |
resizeBuffers(int toSize)
Resets buffers to their initial size...
|
public static final int INITIAL_BUF_SIZE
public int bufferSize()
public void resizeBuffers(int toSize)
public void parse(java.io.InputStream is, org.xml.sax.ContentHandler handler) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
- if underlying IOException from the stream or if XTalk format is invalid.org.xml.sax.SAXException
- if SAXException thrown by the handlerCopyright © 2013. All Rights Reserved.