public class Resolver extends Object implements EntityResolver2, URIResolver, LSResourceResolver
EntityResolver
,
URIResolver
, and LSResourceResolver
,
based on the Apache catalog resolver.Modifier and Type | Method and Description |
---|---|
InputSource |
getExternalSubset(String name,
String baseURI)
Implementation of
EntityResolver2.getExternalSubset(String, String) |
boolean |
isValidating()
Returns, whether the Resolver should create validating parsers.
|
URL |
resolve(String pResource)
Attempts to resolve the given URI.
|
Source |
resolve(String pHref,
String pBase)
Implementation of
URIResolver.resolve(String, String) . |
InputSource |
resolveEntity(String pPublicId,
String pSystemId)
Implementation of
EntityResolver.resolveEntity(String, String) . |
InputSource |
resolveEntity(String pName,
String pPublicId,
String pBaseURI,
String pSystemId)
Implementation of
EntityResolver2.resolveEntity(String, String, String, String) |
LSInput |
resolveResource(String pType,
String pNamespaceURI,
String pPublicId,
String pSystemId,
String pBaseURI)
Implementation of
LSResourceResolver.resolveResource(String, String, String, String, String) . |
void |
setValidating(boolean pValidating)
Sets, whether the Resolver should create validating parsers.
|
public InputSource resolveEntity(String pPublicId, String pSystemId) throws SAXException, IOException
EntityResolver.resolveEntity(String, String)
.resolveEntity
in interface EntityResolver
SAXException
IOException
public Source resolve(String pHref, String pBase) throws TransformerException
URIResolver.resolve(String, String)
.resolve
in interface URIResolver
TransformerException
public LSInput resolveResource(String pType, String pNamespaceURI, String pPublicId, String pSystemId, String pBaseURI)
LSResourceResolver.resolveResource(String, String, String, String, String)
.resolveResource
in interface LSResourceResolver
public void setValidating(boolean pValidating)
public boolean isValidating()
public InputSource getExternalSubset(String name, String baseURI) throws SAXException, IOException
EntityResolver2.getExternalSubset(String, String)
getExternalSubset
in interface EntityResolver2
SAXException
IOException
public InputSource resolveEntity(String pName, String pPublicId, String pBaseURI, String pSystemId) throws SAXException, IOException
EntityResolver2.resolveEntity(String, String, String, String)
resolveEntity
in interface EntityResolver2
SAXException
IOException
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.