Class JaclInterpreterFactory

  • All Implemented Interfaces:
    InterpreterFactory

    public class JaclInterpreterFactory
    extends java.lang.Object
    implements InterpreterFactory
    Allows to create instances of JaclInterpreter class.
    Version:
    $Id: JaclInterpreterFactory.java 1808872 2017-09-19 12:23:20Z ssteiner $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] JACL_MIMETYPES
      The MIME types that jacl can handle.
    • Constructor Summary

      Constructors 
      Constructor Description
      JaclInterpreterFactory()
      Builds a JaclInterpreterFactory.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Interpreter createInterpreter​(java.net.URL documentURL, boolean svg12)
      Creates an instance of JaclInterpreter class.
      Interpreter createInterpreter​(java.net.URL documentURL, boolean svg12, ImportInfo imports)
      Creates an instance of JaclInterpreter class.
      java.lang.String[] getMimeTypes()
      Returns the mime-types to register this interpereter with.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • JACL_MIMETYPES

        public static final java.lang.String[] JACL_MIMETYPES
        The MIME types that jacl can handle.
    • Constructor Detail

      • JaclInterpreterFactory

        public JaclInterpreterFactory()
        Builds a JaclInterpreterFactory.
    • Method Detail

      • getMimeTypes

        public java.lang.String[] getMimeTypes()
        Returns the mime-types to register this interpereter with.
        Specified by:
        getMimeTypes in interface InterpreterFactory
      • createInterpreter

        public Interpreter createInterpreter​(java.net.URL documentURL,
                                             boolean svg12)
        Creates an instance of JaclInterpreter class.
        Specified by:
        createInterpreter in interface InterpreterFactory
        Parameters:
        documentURL - the url for the document which will be scripted
        svg12 - whether the document is an SVG 1.2 document
      • createInterpreter

        public Interpreter createInterpreter​(java.net.URL documentURL,
                                             boolean svg12,
                                             ImportInfo imports)
        Creates an instance of JaclInterpreter class.
        Specified by:
        createInterpreter in interface InterpreterFactory
        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.