|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.apache.batik.bridge.URIResolver
This class is used to resolve the URI that can be found in a SVG document.
| Field Summary | |
|---|---|
protected SVGOMDocument |
document
The reference document. |
protected DocumentLoader |
documentLoader
The document loader. |
protected java.lang.String |
documentURI
The document URI. |
| Constructor Summary | |
|---|---|
URIResolver(SVGDocument doc,
DocumentLoader dl)
Creates a new URI resolver object. |
|
| Method Summary | |
|---|---|
Element |
getElement(java.lang.String uri,
Element ref)
Imports the Element referenced by the given URI on Element ref. |
Node |
getNode(java.lang.String uri,
Element ref)
Imports the Node referenced by the given URI on Element ref. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SVGOMDocument document
protected java.lang.String documentURI
protected DocumentLoader documentLoader
| Constructor Detail |
public URIResolver(SVGDocument doc,
DocumentLoader dl)
doc - The reference document.dl - The document loader.| Method Detail |
public Element getElement(java.lang.String uri,
Element ref)
throws java.net.MalformedURLException,
java.io.IOException
uri - The element URI.ref - The Element in the DOM tree to evaluate uri
from.
java.net.MalformedURLException
java.io.IOException
public Node getNode(java.lang.String uri,
Element ref)
throws java.net.MalformedURLException,
java.io.IOException,
java.lang.SecurityException
uri - The element URI.ref - The Element in the DOM tree to evaluate uri
from.
java.net.MalformedURLException
java.io.IOException
java.lang.SecurityException
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||