java.lang.Object
org.chiba.xml.xforms.connector.AbstractConnector
org.chiba.xml.xforms.connector.http.AbstractHTTPConnector
org.chiba.xml.xforms.connector.http.HTTPURIResolver
- All Implemented Interfaces:
- org.chiba.xml.xforms.connector.Connector, org.chiba.xml.xforms.connector.URIResolver
- public class HTTPURIResolver
- extends AbstractHTTPConnector
- implements org.chiba.xml.xforms.connector.URIResolver
This class resolves http URIs. It treats the denoted
http 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: HTTPURIResolver.java,v 1.6 2003/10/01 21:22:13 joernt Exp $
|
Method Summary |
java.lang.Object |
resolve()
Performs link traversal of the http 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.
HTTPURIResolver
public HTTPURIResolver()
resolve
public java.lang.Object resolve()
throws org.chiba.xml.xforms.exception.XFormsLinkException
- Performs link traversal of the
http URI and returns the result
as a DOM document.
- Specified by:
resolve in interface org.chiba.xml.xforms.connector.URIResolver