public abstract class TrackingHandler extends DefaultHandler
| Constructor and Description |
|---|
TrackingHandler(URL file) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
exists(URL url) |
protected URL |
getFile() |
String |
getLineNumberString() |
protected Locator |
getLocator() |
InputSource |
resolveEntity(String publicId,
String systemId)
Try and find the DTD by going up the directory chain a few times
|
void |
setDocumentLocator(Locator locator)
Receives the locator for SAX parsing events
|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningpublic TrackingHandler(URL file)
public String getLineNumberString()
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerprotected Locator getLocator()
protected URL getFile()
public static boolean exists(URL url)
public InputSource resolveEntity(String publicId, String systemId)
resolveEntity in interface EntityResolverresolveEntity in class DefaultHandlerCopyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.