org.cdlib.xtf.saxonExt
Class Exec

Object
  extended by Exec
All Implemented Interfaces:
ExtensionElementFactory

public class Exec
extends Object
implements ExtensionElementFactory

Front-end to the "Exec" Saxon extension, which allows stylesheets to call command-line programs, with proper error handling, timeouts, and format conversion.

Author:
Martin Haye

Constructor Summary
Exec()
           
 
Method Summary
 Class getExtensionClass(String localname)
          Identify the class to be used for stylesheet elements with a given local name.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exec

public Exec()
Method Detail

getExtensionClass

public Class getExtensionClass(String localname)
Identify the class to be used for stylesheet elements with a given local name. The returned class must extend net.sf.saxon.style.StyleElement

Specified by:
getExtensionClass in interface ExtensionElementFactory
Returns:
null if the local name is not a recognised element type in this namespace.