edu.ucsb.nceas.morpho.plugins
Interface XSLTResolverInterface

All Known Implementing Classes:
XSLTResolverPlugin

public interface XSLTResolverInterface

This interface enables access to XSLT stylesheets that are identified by unique String DOCTYPE identifiers.


Method Summary
 java.io.Reader getXSLTStylesheetReader(java.lang.String docID)
          method to return a Reader object, which will provide access to a character-based XSLT stylesheet.
 

Method Detail

getXSLTStylesheetReader

public java.io.Reader getXSLTStylesheetReader(java.lang.String docID)
                                       throws DocumentNotFoundException
method to return a Reader object, which will provide access to a character-based XSLT stylesheet. The stylesheet to be returned is determined based on the unique DOCID String identifier passed to this method. If a stylesheet corresponding to the DOCID cannot be found, a default or generic stylesheet may be returned. If no suitable stylesheet can be returned, a DocumentNotFoundException is thrown

Parameters:
docID - a unique DOCID used to determine what stylesheet to return
Returns:
a Reader for the character-based XSLT stylesheet. If a stylesheet corresponding to the DOCID cannot be found, a default or generic stylesheet may be returned.
Throws:
DocumentNotFoundException - if no suitable stylesheet is available


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.