public class OfflineContentHandler extends ContentHandlerDecorator
resolveEntity(String, String)
method to prevent potential
network or other external resources from being accessed by an XML parser.Constructor and Description |
---|
OfflineContentHandler(org.xml.sax.ContentHandler handler) |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Returns an empty stream.
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString
public OfflineContentHandler(org.xml.sax.ContentHandler handler)
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
resolveEntity
in interface org.xml.sax.EntityResolver
resolveEntity
in class org.xml.sax.helpers.DefaultHandler
Copyright © 2010 - 2020 Adobe. All Rights Reserved