public class ClasspathResolver extends Object implements EntityResolver, LSResourceResolver
classpath:
and be followed by either an
absolute or relative classpath. Relative classpaths are relative to this class.
This resolver will not attempt to resolve any other URIs.修飾子とタイプ | クラスと説明 |
---|---|
protected class |
ClasspathResolver.LSInputImpl
Implementation of DOM 3
LSInput . |
修飾子とタイプ | フィールドと説明 |
---|---|
static String |
CLASSPATH_URI_SCHEME
UR scheme for classpath locations.
|
コンストラクタと説明 |
---|
ClasspathResolver() |
修飾子とタイプ | メソッドと説明 |
---|---|
InputSource |
resolveEntity(String publicId,
String systemId) |
protected InputStream |
resolver(String publicId,
String systemId)
Resolves an id against the classpath.
|
LSInput |
resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI) |
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity
インタフェース内 EntityResolver
SAXException
IOException
public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)
resolveResource
インタフェース内 LSResourceResolver
protected InputStream resolver(String publicId, String systemId)
publicId
- resources public IDsystemId
- resources system IDCopyright © 2012. All Rights Reserved.