Class Saxon6ElementFactory

  • All Implemented Interfaces:
    ExtensionElementFactory

    public class Saxon6ElementFactory
    extends java.lang.Object
    implements ExtensionElementFactory
    A Factory for the old saxon:output extension instruction (in the old Saxon6 namespace) for the benefit of people running the docbook stylesheets.
    • 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

      • Saxon6ElementFactory

        public Saxon6ElementFactory()
    • 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.