|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.util.uri.CommonURIResolver
public class CommonURIResolver
A URI Resolver which supports pluggable entities via the Service
mechanism.
This resolver will try all resolvers registered as an URIResolver
class. For proper operation, the registers URIResolvers must return null if
they cannot handle the given URI and fail fast.
Constructor Summary | |
---|---|
CommonURIResolver()
Creates a new CommonURIResolver. |
Method Summary | |
---|---|
static CommonURIResolver |
getDefaultURIResolver()
Retrieve the default resolver instance. |
void |
register(javax.xml.transform.URIResolver uriResolver)
Register a given URIResolver while the software is running. |
javax.xml.transform.Source |
resolve(java.lang.String href,
java.lang.String base)
|
void |
unregister(javax.xml.transform.URIResolver uriResolver)
Unregister a given URIResolver while the software is running. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonURIResolver()
getDefaultURIResolver()
Method Detail |
---|
public static CommonURIResolver getDefaultURIResolver()
public javax.xml.transform.Source resolve(java.lang.String href, java.lang.String base)
resolve
in interface javax.xml.transform.URIResolver
public void register(javax.xml.transform.URIResolver uriResolver)
URIResolver
while the software is running.
uriResolver
- the resolver to register.public void unregister(javax.xml.transform.URIResolver uriResolver)
URIResolver
while the software is running.
uriResolver
- the resolver to unregister.
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |