Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.chiba.xml.xforms.connector.file
Class FileURIResolver  view FileURIResolver download FileURIResolver.java

java.lang.Object
  extended byorg.chiba.xml.xforms.connector.AbstractConnector
      extended byorg.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 $

Field Summary
private static org.apache.log4j.Category LOGGER
          The logger.
 
Fields inherited from class org.chiba.xml.xforms.connector.AbstractConnector
 
Constructor Summary
FileURIResolver()
           
 
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 org.chiba.xml.xforms.connector.AbstractConnector
getURI, getURIWithoutFragment, setURI
 
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
 

Field Detail

LOGGER

private static org.apache.log4j.Category LOGGER
The logger.

Constructor Detail

FileURIResolver

public FileURIResolver()
Method Detail

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