com.sun.tools.internal.xjc.reader.xmlschema.parser
static final class: XMLSchemaInternalizationLogic.ReferenceFinder [javadoc |
source]
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
com.sun.tools.internal.xjc.reader.internalizer.AbstractReferenceFinderImpl
com.sun.tools.internal.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder
All Implemented Interfaces:
ContentHandler, DTDHandler, ErrorHandler, XMLFilter, EntityResolver
This filter looks for <xs:import> and <xs:include>
and parses those documents referenced by them.
| Method from com.sun.tools.internal.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder Summary: |
|---|
|
findExternalResource |
| Methods from 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, setDocumentLocator, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Method from com.sun.tools.internal.xjc.reader.xmlschema.parser.XMLSchemaInternalizationLogic$ReferenceFinder Detail: |
protected String findExternalResource(String nsURI,
String localName,
Attributes atts) {
if( WellKnownNamespace.XML_SCHEMA.equals(nsURI)
&& ("import".equals(localName) || "include".equals(localName) ) )
return atts.getValue("schemaLocation");
else
return null;
}
|