Class SQLElementFactory

java.lang.Object
net.sf.saxon.option.sql.SQLElementFactory
All Implemented Interfaces:
ExtensionElementFactory

public class SQLElementFactory extends 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.

  • Constructor Details

    • SQLElementFactory

      public SQLElementFactory()
  • Method Details

    • getExtensionClass

      public Class<? extends StyleElement> 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
      Parameters:
      localname - the local name of the element
      Returns:
      null if the local name is not a recognised element type in this namespace.