Interface ExtensionElementFactory

    • 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 extend StyleElement, 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.