org.enhydra.xml.io
Interface URLRewriter


public interface URLRewriter

Interface for a URL rewritting object that can be supplied by as part of the OutputOptions. The rewriteURL function is called on the value of each attribute that can has been defined as taking a URL.


Method Summary
 String rewriteURL(String urlAttrValue)
          Rewrite a URL.
 

Method Detail

rewriteURL

public String rewriteURL(String urlAttrValue)
Rewrite a URL. This is called on every attribute that may contain a URL. This method must either be reentrant or synchronized (generally not a good idea).
Parameters:
urlAttrValue - The value of the URL attribute
Returns:
The updated or unchanged URL.
See Also:
DocumentInfo, OutputOptions


Copyright © 1999-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.