echoxul.view.locator
Interface ResourceLocator

All Known Implementing Classes:
DynamicResourceLocator, FileResourceLocator, JavaResourceLocator, ServerResourceLocator

public interface ResourceLocator

Implementations of this interface are responsible for taking a String (path) and returning an InputSource that can be used to load an XML file.

Author:
Terry Laurenzo

Method Summary
 org.xml.sax.InputSource findResource(java.lang.String path)
          Convert a path to an InputSource in an implementation specific way.
 

Method Detail

findResource

public org.xml.sax.InputSource findResource(java.lang.String path)
Convert a path to an InputSource in an implementation specific way. Must return null if the path cannot be resolved by this instance.

Parameters:
path -
Returns:
An InputSource or null if not found.


Copyright © 2004 Terry Laurenzo. All Rights Reserved.