Package com.saxonica.xsltextn
Interface ExtensionElementFactory
-
- All Known Implementing Classes:
IXSLElementFactory
,Saxon6ElementFactory
,SaxonElementFactory
,SaxonElementFactoryEE
,SQLElementFactory
public interface ExtensionElementFactory
Interface ExtensionElementFactory.A "Factory" for user-defined nodes in the stylesheet tree.
(Actually, it's not strictly a factory: it doesn't create the nodes, it merely identifies what class they should be.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<? extends StyleElement>
getExtensionClass(java.lang.String localname)
Identify the class to be used for stylesheet elements with a given local name.
-
-
-
Method Detail
-
getExtensionClass
java.lang.Class<? extends StyleElement> getExtensionClass(java.lang.String localname)
Identify the class to be used for stylesheet elements with a given local name. The returned class must extendStyleElement
, and it must have a zero-argument public constructor.- Parameters:
localname
- the local name of the element- Returns:
- null if the local name is not a recognised element type in this namespace.
-
-