Class Instantiator<T>

java.lang.Object
net.sf.saxon.trans.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
  • Constructor Details

  • Method Details

    • 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