Class SQLElementFactory

  • All Implemented Interfaces:
    ExtensionElementFactory

    public class SQLElementFactory
    extends java.lang.Object
    implements ExtensionElementFactory
    Class SQLElementFactory. A "Factory" for SQL extension nodes in the stylesheet tree.

    Note: despite its package name, this class is not part of Saxon-HE. Rather, it is part of an open-source plug-in to Saxon-PE and Saxon-EE. This accounts for the reference to code in the com.saxonica package.

    From Saxon 9.2 the standard namespace associated with this extension is "http://saxon.sf.net/sql". However, it can be registered under a different namespace if required.

    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SQLElementFactory

        public SQLElementFactory()
    • Method Detail

      • getExtensionClass

        public 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 extend net.sf.saxon.style.StyleElement
        Specified by:
        getExtensionClass in interface ExtensionElementFactory
        Parameters:
        localname - the local name of the element
        Returns:
        null if the local name is not a recognised element type in this namespace.