Class DocBuilderEffigy.Factory

    • Method Detail

      • canCreateBlankEffigy

        public boolean canCreateBlankEffigy()
        Return false, indicating that this effigy factory is not capable of creating an effigy without a URL being specified.
        Overrides:
        canCreateBlankEffigy in class EffigyFactory
        Returns:
        False.
      • createEffigy

        public Effigy createEffigy​(CompositeEntity container,
                                   java.net.URL base,
                                   java.net.URL input)
                            throws java.lang.Exception
        Create a new effigy in the given container.
        Overrides:
        createEffigy in class EffigyFactory
        Parameters:
        container - The container for the effigy.
        base - The base for relative file references, or null if there are no relative file references. This is ignored in this class.
        input - The input URL, which is ignored.
        Returns:
        A new instance of DocBuilderEffigy.
        Throws:
        java.lang.Exception - If the URL cannot be read.