|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.parse.ClasspathResolver
public class ClasspathResolver
A entity resolver that resolves an entity's location within the classpath.
Entity URIs must begin with the prefix 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.
| Nested Class Summary | |
|---|---|
protected class |
ClasspathResolver.LSInputImpl
Implementation of DOM 3 LSInput. |
| Field Summary | |
|---|---|
static String |
CLASSPATH_URI_SCHEME
UR scheme for classpath locations. |
private Logger |
log
Class logger. |
| Constructor Summary | |
|---|---|
ClasspathResolver()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String CLASSPATH_URI_SCHEME
private final Logger log
| Constructor Detail |
|---|
public ClasspathResolver()
| Method Detail |
|---|
public InputSource resolveEntity(String publicId,
String systemId)
throws SAXException,
IOException
resolveEntity in interface EntityResolverSAXException
IOException
public LSInput resolveResource(String type,
String namespaceURI,
String publicId,
String systemId,
String baseURI)
resolveResource in interface LSResourceResolver
protected InputStream resolver(String publicId,
String systemId)
publicId - resources public IDsystemId - resources system ID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||