public abstract class AbstractReferenceFinderImpl extends 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 and Description |
---|---|
protected |
AbstractReferenceFinderImpl(DOMForest _parent) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
findExternalResource(String nsURI,
String localName,
Attributes atts)
IF the given element contains a reference to an external resource,
return its URL.
|
void |
setDocumentLocator(Locator locator) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
characters, 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, warning
protected final DOMForest parent
protected AbstractReferenceFinderImpl(DOMForest _parent)
protected abstract String findExternalResource(String nsURI, String localName, Attributes atts)
nsURI
- Namespace URI of the current elementlocalName
- Local name of the current elementpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class XMLFilterImpl
SAXException
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class XMLFilterImpl
Copyright © 2019 JBoss by Red Hat. All rights reserved.