|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ctc.wstx.dtd.DTDReaderProxy
com.ctc.wstx.dtd.MinimalDTDReaderProxy
Proxy implementation that will act as a dummy DTD reader that can only skip internal subset, but not do any actual reading. Used by stream readers that do not need to support actual DTD handling.
| Method Summary | |
static MinimalDTDReaderProxy |
getInstance()
|
DTDSubset |
readExternalSubset(StreamScanner master,
WstxInputSource src,
ReaderConfig cfg,
DTDSubset intSubset)
Method called to read in the external subset definition. |
DTDSubset |
readInternalSubset(StreamScanner master,
WstxInputSource input,
ReaderConfig cfg)
Method called to read in the internal subset definition. |
void |
skipInternalSubset(StreamScanner master,
WstxInputSource input,
ReaderConfig cfg)
Method similar to readInternalSubset(com.ctc.wstx.sr.StreamScanner, com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig), in that it skims
through structure of internal subset, but without doing any sort
of validation, or parsing of contents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static MinimalDTDReaderProxy getInstance()
public DTDSubset readInternalSubset(StreamScanner master,
WstxInputSource input,
ReaderConfig cfg)
throws java.io.IOException,
javax.xml.stream.XMLStreamException
readInternalSubset in class DTDReaderProxyjava.io.IOException
javax.xml.stream.XMLStreamException
public DTDSubset readExternalSubset(StreamScanner master,
WstxInputSource src,
ReaderConfig cfg,
DTDSubset intSubset)
throws java.io.IOException,
javax.xml.stream.XMLStreamException
readExternalSubset in class DTDReaderProxyjava.io.IOException
javax.xml.stream.XMLStreamException
public void skipInternalSubset(StreamScanner master,
WstxInputSource input,
ReaderConfig cfg)
throws java.io.IOException,
javax.xml.stream.XMLStreamException
readInternalSubset(com.ctc.wstx.sr.StreamScanner, com.ctc.wstx.io.WstxInputSource, com.ctc.wstx.api.ReaderConfig), in that it 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 in class DTDReaderProxyjava.io.IOException
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||