java.lang.Object
org.chiba.xml.xforms.connector.AbstractConnector
org.chiba.xml.xforms.connector.file.FileURIResolver
- All Implemented Interfaces:
- org.chiba.xml.xforms.connector.Connector, org.chiba.xml.xforms.connector.URIResolver
- public class FileURIResolver
- extends org.chiba.xml.xforms.connector.AbstractConnector
- implements org.chiba.xml.xforms.connector.URIResolver
This class resolves file URIs. It treats the denoted
file resource as XML and returns the parsed response.
If the specified URI contains a fragment part, the specified element
is looked up via the getElementById. Thus, the parsed
response must have an internal DTD subset specifiyng all ID attribute.
Otherwise the element would not be found.
- Version:
- $Id: FileURIResolver.java,v 1.8 2003/10/01 21:57:47 joernt Exp $
|
Method Summary |
java.lang.Object |
resolve()
Performs link traversal of the file URI and returns the result
as a DOM document. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.chiba.xml.xforms.connector.Connector |
setURI |
LOGGER
private static org.apache.log4j.Category LOGGER
- The logger.
FileURIResolver
public FileURIResolver()
resolve
public java.lang.Object resolve()
throws org.chiba.xml.xforms.exception.XFormsLinkException
- Performs link traversal of the
file URI and returns the result
as a DOM document.
- Specified by:
resolve in interface org.chiba.xml.xforms.connector.URIResolver