|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
com.sun.tools.xjc.reader.internalizer.AbstractReferenceFinderImpl
public abstract class AbstractReferenceFinderImpl
XMLFilter that finds references to other schema files from SAX events.
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.
| Field Summary | |
|---|---|
protected DOMForest |
parent
|
| Constructor Summary | |
|---|---|
protected |
AbstractReferenceFinderImpl(DOMForest _parent)
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final DOMForest parent
| Constructor Detail |
|---|
protected AbstractReferenceFinderImpl(DOMForest _parent)
| Method Detail |
|---|
protected abstract String findExternalResource(String nsURI,
String localName,
Attributes atts)
nsURI - Namespace URI of the current elementlocalName - Local name of the current element
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.XMLFilterImplSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class org.xml.sax.helpers.XMLFilterImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||