com.icl.saxon.style

Interface ExtensionElementFactory

public interface ExtensionElementFactory

Interface ExtensionElementFactory.
A "Factory" for used-defined nodes in the stylesheet tree.
(Actually, it's not struictly a factory: it doesn't create the nodes, it merely identifies what class they should be.
Method Summary
ClassgetExtensionClass(String localname)
Identify the class to be used for stylesheet elements with a given local name.

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 com.icl.saxon.style.StyleElement

Returns: null if the local name is not a recognised element type in this namespace.