Interface ExtensionElementCreator

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ExtensionElementCreator
    Interface ExtensionElementCreator.

    A Factory for user-defined nodes in the stylesheet tree.

    An instance of this class is registered with the Configuration to process all extension elements in a particular namespace.

    This interface is a replacement for ExtensionElementFactory, which remains available for the time being.

    • Method Detail

      • createExtensionElement

        StyleElement createExtensionElement​(java.lang.String localname)
        Create a StyleElement to be used for stylesheet elements with a given local name.
        Parameters:
        localname - the local name of the element
        Returns:
        null if the local name is not a recognised element type in this namespace.