X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Forg%2Fxml%2Fsax%2Fhelpers%2FParserFactory.js;fp=site%2Fswingjs%2Fj2s%2Forg%2Fxml%2Fsax%2Fhelpers%2FParserFactory.js;h=acad95f02a537ff06a9fd29c5ffaeef73d0fcfd8;hp=0572fd8eba96dcfae7455c2247b422cab70a3c65;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/org/xml/sax/helpers/ParserFactory.js b/site/swingjs/j2s/org/xml/sax/helpers/ParserFactory.js index 0572fd8..acad95f 100644 --- a/site/swingjs/j2s/org/xml/sax/helpers/ParserFactory.js +++ b/site/swingjs/j2s/org/xml/sax/helpers/ParserFactory.js @@ -1,16 +1,16 @@ -Clazz.declarePackage ("org.xml.sax.helpers"); -Clazz.load (null, "org.xml.sax.helpers.ParserFactory", ["java.lang.NullPointerException", "org.xml.sax.helpers.NewInstance"], function () { -c$ = Clazz.declareType (org.xml.sax.helpers, "ParserFactory"); -c$.makeParser = Clazz.defineMethod (c$, "makeParser", -function () { -var className = System.getProperty ("org.xml.sax.parser"); -if (className == null) { -throw new NullPointerException ("No value for sax.parser property"); -} else { -return org.xml.sax.helpers.ParserFactory.makeParser (className); -}}); -c$.makeParser = Clazz.defineMethod (c$, "makeParser", -function (className) { -return org.xml.sax.helpers.NewInstance.newInstance (org.xml.sax.helpers.NewInstance.getClassLoader (), className); -}, "~S"); -}); +Clazz.declarePackage ("org.xml.sax.helpers"); +Clazz.load (null, "org.xml.sax.helpers.ParserFactory", ["java.lang.NullPointerException", "org.xml.sax.helpers.NewInstance"], function () { +c$ = Clazz.declareType (org.xml.sax.helpers, "ParserFactory"); +c$.makeParser = Clazz.defineMethod (c$, "makeParser", +function () { +var className = System.getProperty ("org.xml.sax.parser"); +if (className == null) { +throw new NullPointerException ("No value for sax.parser property"); +} else { +return org.xml.sax.helpers.ParserFactory.makeParser (className); +}}); +c$.makeParser = Clazz.defineMethod (c$, "makeParser", +function (className) { +return org.xml.sax.helpers.NewInstance.newInstance (org.xml.sax.helpers.NewInstance.getClassLoader (), className); +}, "~S"); +});