Interface InterpreterFactory

    • Method Detail

      • getMimeTypes

        java.lang.String[] getMimeTypes()
        Returns the mime-types to register this interpereter with.
      • createInterpreter

        Interpreter createInterpreter​(java.net.URL documentURL,
                                      boolean svg12,
                                      ImportInfo imports)
        This method should create an instance of Interpreter interface implementation.
        Parameters:
        documentURL - the url for the document which will be scripted
        svg12 - whether the document is an SVG 1.2 document
        imports - The set of classes/packages to import (if the interpreter supports that), may be null.
      • createInterpreter

        Interpreter createInterpreter​(java.net.URL documentURL,
                                      boolean svg12)
        This method should create an instance of Interpreter interface implementation.
        Parameters:
        documentURL - the url for the document which will be scripted
        svg12 - whether the document is an SVG 1.2 document