private static class DbfFactory.FacesEntityResolver
extends org.xml.sax.helpers.DefaultHandler
implements org.w3c.dom.ls.LSResourceResolver
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[][] |
DTD_SCHEMA_INFO
Contains associations between grammar name and the physical
resource.
|
private java.util.HashMap<java.lang.String,java.lang.String> |
entities
Contains mapping between grammar name and the local URL to the
physical resource.
|
Constructor and Description |
---|
FacesEntityResolver() |
Modifier and Type | Method and Description |
---|---|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolves the physical resource using the last segment of
the
systemId
(e.g. |
org.w3c.dom.ls.LSInput |
resolveResource(java.lang.String type,
java.lang.String namespaceURI,
java.lang.String publicId,
java.lang.String systemId,
java.lang.String baseURI) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
private static final java.lang.String[][] DTD_SCHEMA_INFO
Contains associations between grammar name and the physical resource.
private java.util.HashMap<java.lang.String,java.lang.String> entities
Contains mapping between grammar name and the local URL to the physical resource.
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
Resolves the physical resource using the last segment of
the systemId
(e.g. http://java.sun.com/dtds/web-facesconfig_1_1.dtd,
the last segment would be web-facesconfig_1_1.dtd). If a mapping
cannot be found for the segment, then defer to the
DefaultHandler
for resolution.
resolveEntity
in interface org.xml.sax.EntityResolver
resolveEntity
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public org.w3c.dom.ls.LSInput resolveResource(java.lang.String type, java.lang.String namespaceURI, java.lang.String publicId, java.lang.String systemId, java.lang.String baseURI)
resolveResource
in interface org.w3c.dom.ls.LSResourceResolver
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.