Class XMLLib.Factory

java.lang.Object
org.mozilla.javascript.xml.XMLLib.Factory
Enclosing class:
XMLLib

public abstract static class XMLLib.Factory extends Object
An object which specifies an XMLLib implementation to be used at runtime.

This interface should be considered experimental. It may be better (and certainly more flexible) to write an interface that returns an XMLLib object rather than a class name, for example. But that would cause many more ripple effects in the code, all the way back to ScriptRuntime.

  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • create

      public static XMLLib.Factory create(String className)
    • getImplementationClassName

      public abstract String getImplementationClassName()