|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ctc.wstx.dtd.DTDReaderProxy
Interface that defines functionality for Objects that act as DTD reader proxies. Proxy approach is just used to allow code insulation; it would have been possible to use factory/instance approach too, but this way we end up with few more classes.
| Constructor Summary | |
DTDReaderProxy()
|
|
| Method Summary | |
abstract DTDSubset |
readExternalSubset(StreamScanner master,
WstxInputSource src,
ReaderConfig cfg,
DTDSubset intSubset)
Method called to read in the external subset definition. |
abstract DTDSubset |
readInternalSubset(StreamScanner master,
WstxInputSource input,
ReaderConfig cfg)
Method called to read in the internal subset definition. |
abstract 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 |
| Constructor Detail |
public DTDReaderProxy()
| Method Detail |
public abstract DTDSubset readInternalSubset(StreamScanner master,
WstxInputSource input,
ReaderConfig cfg)
throws java.io.IOException,
javax.xml.stream.XMLStreamException
java.io.IOException
javax.xml.stream.XMLStreamException
public abstract DTDSubset readExternalSubset(StreamScanner master,
WstxInputSource src,
ReaderConfig cfg,
DTDSubset intSubset)
throws java.io.IOException,
javax.xml.stream.XMLStreamException
java.io.IOException
javax.xml.stream.XMLStreamException
public abstract 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.
java.io.IOException
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||