Package | Description |
---|---|
com.ctc.wstx.exc |
Package that contains all exceptions Woodstox readers and writers throw.
|
com.ctc.wstx.io |
Low-level classes that are used to abstract most details of stream I/O
access from actual parsing classes.
|
com.ctc.wstx.sr |
This package contains supporting code for handling namespace information;
element stacks that keep track of elements parsed and such.
|
Modifier and Type | Class and Description |
---|---|
class |
WstxEOFException
Exception thrown during parsing, if an unexpected EOF is encountered.
|
class |
WstxIOException
Simple wrapper for
IOException s; needed when StAX does not expose
underlying I/O exceptions via its methods. |
class |
WstxOutputException
Exception class used for notifying about well-formedness errors that
writers would create.
|
class |
WstxParsingException
Intermediate base class for reporting actual Wstx parsing problems.
|
class |
WstxUnexpectedCharException
Generic exception type that indicates that tokenizer/parser encountered
unexpected (but not necessarily invalid per se) character; character that
is not legal in current context.
|
Modifier and Type | Method and Description |
---|---|
protected int |
StreamBootstrapper.checkKeyword(String exp) |
protected int |
ReaderBootstrapper.checkKeyword(String exp) |
protected abstract int |
InputBootstrapper.checkKeyword(String exp) |
protected int |
StreamBootstrapper.checkMbKeyword(String expected) |
protected int |
StreamBootstrapper.checkSbKeyword(String expected) |
protected int |
StreamBootstrapper.checkTranslatedKeyword(String expected) |
protected int |
StreamBootstrapper.getNext() |
protected int |
ReaderBootstrapper.getNext() |
protected abstract int |
InputBootstrapper.getNext() |
protected int |
StreamBootstrapper.getNextAfterWs(boolean reqWs) |
protected int |
ReaderBootstrapper.getNextAfterWs(boolean reqWs) |
protected abstract int |
InputBootstrapper.getNextAfterWs(boolean reqWs) |
protected boolean |
StreamBootstrapper.hasXmlDecl() |
protected void |
StreamBootstrapper.loadMore() |
protected void |
ReaderBootstrapper.loadMore() |
protected byte |
StreamBootstrapper.nextByte() |
protected char |
ReaderBootstrapper.nextChar() |
protected int |
StreamBootstrapper.nextMultiByte() |
protected int |
StreamBootstrapper.nextTranslated() |
protected int |
StreamBootstrapper.readQuotedValue(char[] kw,
int quoteChar) |
protected int |
ReaderBootstrapper.readQuotedValue(char[] kw,
int quoteChar) |
protected abstract int |
InputBootstrapper.readQuotedValue(char[] kw,
int quoteChar) |
protected void |
InputBootstrapper.readXmlDecl(boolean isMainDoc,
int xmlVersion) |
protected void |
InputBootstrapper.reportNull() |
protected void |
InputBootstrapper.reportUnexpectedChar(int i,
String msg) |
protected void |
InputBootstrapper.reportXmlProblem(String msg) |
protected void |
StreamBootstrapper.resolveStreamEncoding()
Method called to try to figure out physical encoding the underlying
input stream uses.
|
protected void |
ReaderBootstrapper.skipCRLF(char lf) |
protected void |
StreamBootstrapper.skipMbLF(int lf) |
protected int |
StreamBootstrapper.skipMbWs() |
protected void |
StreamBootstrapper.skipSbLF(byte lfByte) |
protected int |
StreamBootstrapper.skipSbWs() |
protected void |
StreamBootstrapper.skipTranslatedLF(int lf) |
protected int |
StreamBootstrapper.skipTranslatedWs() |
protected String |
StreamBootstrapper.verifyXmlEncoding(String enc) |
Modifier and Type | Method and Description |
---|---|
protected WstxException |
StreamScanner.constructFromIOE(IOException ioe)
Construct and return a
XMLStreamException to throw
as a result of a failed Typed Access operation (but one not
caused by a Well-Formedness Constraint or Validation Constraint
problem) |
protected WstxException |
StreamScanner.constructNullCharException() |
protected WstxException |
StreamScanner.constructWfcException(String msg) |
protected WstxException |
StreamScanner.throwInvalidSpace(int i,
boolean deferErrors) |
WstxException |
StreamScanner.throwWfcException(String msg,
boolean deferErrors) |
Modifier and Type | Method and Description |
---|---|
protected void |
StreamScanner.throwFromIOE(IOException ioe) |
protected void |
StreamScanner.throwFromStrE(XMLStreamException strex) |
protected void |
StreamScanner.throwInvalidSpace(int i) |
protected WstxException |
StreamScanner.throwInvalidSpace(int i,
boolean deferErrors) |
protected void |
StreamScanner.throwNullChar() |
protected void |
StreamScanner.throwUnexpectedChar(int i,
String msg) |
protected void |
StreamScanner.throwUnexpectedEOB(String msg)
Similar to
StreamScanner.throwUnexpectedEOF(java.lang.String) , but only indicates ending
of an input block. |
protected void |
BasicStreamReader.throwUnexpectedEOF()
Method called when we get an EOF within content tree
|
protected void |
StreamScanner.throwUnexpectedEOF(String msg) |
WstxException |
StreamScanner.throwWfcException(String msg,
boolean deferErrors) |
Copyright © 2018 FasterXML. All rights reserved.