public abstract class AbstractReferenceFinderImpl
extends org.xml.sax.helpers.XMLFilterImpl
This implementation is a base implementation for typical case where we just need to look for a particular attribute which contains an URL to another schema file.
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractReferenceFinderImpl(DOMForest _parent) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.lang.String |
findExternalResource(java.lang.String nsURI,
java.lang.String localName,
org.xml.sax.Attributes atts) |
IF the given element contains a reference to an external resource,
return its URL.
|
void |
setDocumentLocator(org.xml.sax.Locator locator) |
|
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected final DOMForest parent
protected AbstractReferenceFinderImpl(DOMForest _parent)
protected abstract java.lang.String findExternalResource(java.lang.String nsURI,
java.lang.String localName,
org.xml.sax.Attributes atts)
nsURI - Namespace URI of the current elementlocalName - Local name of the current elementpublic void startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws org.xml.sax.SAXException
startElement in class org.xml.sax.helpers.XMLFilterImplorg.xml.sax.SAXExceptionpublic void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator in class org.xml.sax.helpers.XMLFilterImplCopyright © 2017 Oracle Corporation. All rights reserved.