| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | mIsExternal
True, when reading external subset, false when reading internal subset. |
| Access | Constructor and Description |
|---|---|
| private | MinimalDTDReader(WstxInputSource input, ReaderConfig cfg)
Constructor used for reading/skipping internal subset. |
| protected | MinimalDTDReader(WstxInputSource input, ReaderConfig cfg, boolean isExt)
Common initialization part of int/ext subset constructors. |
| Modifier and Type | Method and Description |
|---|---|
| protected char | |
| protected char | |
| protected EntityDecl | findEntity(String
Identifier of the entity to find id, Object Optional argument passed from caller; needed by DTD
reader. arg)Implements abstract com. Abstract method for sub-classes to implement, for finding a declared general or parsed entity. |
| public EntityDecl | findEntity(String entName)
Method that may need to be called by attribute default value validation code, during parsing.... |
| protected String | |
| public final Location | getLocation()
Implements abstract com. Implements com. What DTD reader returns doesn't really matter, so let's just return perceived start location (different from what stream readers actually do) |
| protected char | |
| protected char | |
| protected void | handleIncompleteEntityProblem(WstxInputSource closing)
Implements abstract com. Since improper entity/PE nesting is VC, not WFC, let's not react to this failure at all when only skipping the DTD subset. |
| protected void | handleUndeclaredEntity(String id)
Implements abstract com. This is a VC, not WFC, nothing to do when skipping through DTD in non-supporting mode. |
| protected void | |
| protected void | |
| private void | |
| private void | |
| public static void | skipInternalSubset(WstxInputData
Link back to the input buffer shared with the owning
stream reader. srcData, WstxInputSource input, ReaderConfig cfg)Method that just skims through structure of internal subset, but without doing any sort of validation, or parsing of contents. |
| protected void | skipInternalSubset()
Method that will skip through internal DTD subset, without doing any parsing, except for trying to match end of subset properly. |
| private void | |
| private void | |
| protected void | |
| protected void |
| mIsExternal | back to summary |
|---|---|
| pack-priv final boolean mIsExternal True, when reading external subset, false when reading internal subset. | |
| MinimalDTDReader | back to summary |
|---|---|
| private MinimalDTDReader(WstxInputSource input, ReaderConfig cfg) Constructor used for reading/skipping internal subset. | |
| MinimalDTDReader | back to summary |
|---|---|
| protected MinimalDTDReader(WstxInputSource input, ReaderConfig cfg, boolean isExt) Common initialization part of int/ext subset constructors. | |
| dtdNextChar | back to summary |
|---|---|
| protected char dtdNextChar() throws XMLStreamException | |
| dtdNextFromCurr | back to summary |
|---|---|
| protected char dtdNextFromCurr() throws XMLStreamException | |
| findEntity | back to summary |
|---|---|
| protected EntityDecl findEntity(String id, Object arg) Implements abstract com. Doc from com. Abstract method for sub-classes to implement, for finding a declared general or parsed entity. | |
| findEntity | back to summary |
|---|---|
| public EntityDecl findEntity(String entName) Method that may need to be called by attribute default value validation code, during parsing.... 03-Dec-2004, TSa: This is not particularly elegant: should be able to pass the information some other way. But for now it works and is necessary. | |
| getErrorMsg | back to summary |
|---|---|
| protected String getErrorMsg() | |
| getLocation | back to summary |
|---|---|
| public final Location getLocation() Implements abstract com. Implements com. What DTD reader returns doesn't really matter, so let's just return perceived start location (different from what stream readers actually do)
| |
| getNextSkippingPEs | back to summary |
|---|---|
| protected char getNextSkippingPEs() throws XMLStreamException | |
| handleExpandedSurrogate | back to summary |
|---|---|
| protected char handleExpandedSurrogate(char first, char second) | |
| handleIncompleteEntityProblem | back to summary |
|---|---|
| protected void handleIncompleteEntityProblem(WstxInputSource closing) throws XMLStreamException Implements abstract com. Since improper entity/PE nesting is VC, not WFC, let's not react to this failure at all when only skipping the DTD subset.
| |
| handleUndeclaredEntity | back to summary |
|---|---|
| protected void handleUndeclaredEntity(String id) throws XMLStreamException Implements abstract com. This is a VC, not WFC, nothing to do when skipping through DTD in non-supporting mode.
| |
| skipComment | back to summary |
|---|---|
| protected void skipComment() throws XMLStreamException | |
| skipCommentContent | back to summary |
|---|---|
| protected void skipCommentContent() throws XMLStreamException | |
| skipDeclaration | back to summary |
|---|---|
| private void skipDeclaration(char c) throws XMLStreamException | |
| skipDTDName | back to summary |
|---|---|
| private void skipDTDName() throws XMLStreamException | |
| skipInternalSubset | back to summary |
|---|---|
| public static void skipInternalSubset(WstxInputData srcData, WstxInputSource input, ReaderConfig cfg) throws XMLStreamException Method that just skims through structure of internal subset, but without doing any sort of validation, or parsing of contents. Method may still throw an exception, if skipping causes EOF or there's an I/O problem.
| |
| skipInternalSubset | back to summary |
|---|---|
| protected void skipInternalSubset() throws XMLStreamException Method that will skip through internal DTD subset, without doing any parsing, except for trying to match end of subset properly. | |
| skipLiteral | back to summary |
|---|---|
| private void skipLiteral(char quoteChar) throws XMLStreamException | |
| skipPE | back to summary |
|---|---|
| private void skipPE() throws XMLStreamException | |
| skipPI | back to summary |
|---|---|
| protected void skipPI() throws XMLStreamException | |
| throwIllegalCall | back to summary |
|---|---|
| protected void throwIllegalCall() throws Error | |