Class Instantiator<T>

  • All Implemented Interfaces:
    Maker<T>

    public class Instantiator<T>
    extends Object
    implements Maker<T>
    Interface representing a factory class for instantiating instances of a specific class
    • Method Detail

      • make

        public T make()
               throws XPathException
        Obtain an instance of type T, either by making a new instance or by reusing an existing instance
        Specified by:
        make in interface Maker<T>
        Throws:
        XPathException - if the attempt fails