public final class BranchingReaderSource extends ReaderSource
Currently this Reader is only used as the main-level Reader, to allow for branching of internal DTD subset to a text buffer if necessary.
mBuffer, mInputLenmParent| Constructor and Description |
|---|
BranchingReaderSource(ReaderConfig cfg,
java.lang.String pubId,
java.lang.String sysId,
java.net.URL src,
java.io.Reader r,
boolean realClose) |
| Modifier and Type | Method and Description |
|---|---|
void |
endBranch(int endOffset)
Currently this input source does not implement branching
|
int |
readInto(WstxInputData reader)
Method called to read at least one more char from input source, and
update input data appropriately.
|
boolean |
readMore(WstxInputData reader,
int minAmount)
Method called by reader when it has to have at least specified number
of consequtive input characters in its buffer, and it currently does
not have.
|
void |
startBranch(TextBuffer tb,
int startOffset,
boolean convertLFs) |
close, closeCompletely, doInitInputLocation, fromInternalEntity, setInputOffsetsgetLocation, getLocation, getPublicId, getSource, getSystemId, restoreContext, saveContextgetEntityId, getParent, getScopeId, initInputLocation, isOrIsExpandedFrom, toStringpublic BranchingReaderSource(ReaderConfig cfg, java.lang.String pubId, java.lang.String sysId, java.net.URL src, java.io.Reader r, boolean realClose)
public int readInto(WstxInputData reader) throws java.io.IOException
WstxInputSourcereadInto in class ReaderSourcejava.io.IOExceptionpublic boolean readMore(WstxInputData reader, int minAmount) throws java.io.IOException
WstxInputSourcereadMore in class ReaderSourcejava.io.IOExceptionpublic void startBranch(TextBuffer tb, int startOffset, boolean convertLFs)
public void endBranch(int endOffset)