org.apache.commons.scxml
Interface PathResolver

All Known Implementing Classes:
ServletContextResolver, URLResolver

public interface PathResolver

Interface for a component that may be used by the SCXML engines to resolve context sensitive paths.


Method Summary
 PathResolver getResolver(String ctxPath)
          Get a PathResolver rooted at this context sensitive path.
 String resolvePath(String ctxPath)
          Resolve this context sensitive path to an absolute URL.
 

Method Detail

resolvePath

String resolvePath(String ctxPath)
Resolve this context sensitive path to an absolute URL.

Parameters:
ctxPath - Context sensitive path, can be a relative URL
Returns:
Resolved path (an absolute URL) or null

getResolver

PathResolver getResolver(String ctxPath)
Get a PathResolver rooted at this context sensitive path.

Parameters:
ctxPath - Context sensitive path, can be a relative URL
Returns:
Returns a new resolver rooted at ctxPath


Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.