X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Forg%2Fxml%2Fsax%2Fext%2FLocator2Impl.js;fp=site%2Fj2s%2Forg%2Fxml%2Fsax%2Fext%2FLocator2Impl.js;h=fb8352102eaa0fa799292140761b04271d526477;hp=cdd333f06268ac2ed67e429ddac807289f68888d;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/org/xml/sax/ext/Locator2Impl.js b/site/j2s/org/xml/sax/ext/Locator2Impl.js index cdd333f..fb83521 100644 --- a/site/j2s/org/xml/sax/ext/Locator2Impl.js +++ b/site/j2s/org/xml/sax/ext/Locator2Impl.js @@ -1,36 +1,36 @@ -Clazz.declarePackage ("org.xml.sax.ext"); -Clazz.load (["org.xml.sax.ext.Locator2", "org.xml.sax.helpers.LocatorImpl"], "org.xml.sax.ext.Locator2Impl", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.encoding = null; -this.version = null; -Clazz.instantialize (this, arguments); -}, org.xml.sax.ext, "Locator2Impl", org.xml.sax.helpers.LocatorImpl, org.xml.sax.ext.Locator2); -Clazz.makeConstructor (c$, -function () { -Clazz.superConstructor (this, org.xml.sax.ext.Locator2Impl, []); -}); -Clazz.makeConstructor (c$, -function (locator) { -Clazz.superConstructor (this, org.xml.sax.ext.Locator2Impl, [locator]); -if (Clazz.instanceOf (locator, org.xml.sax.ext.Locator2)) { -var l2 = locator; -this.version = l2.getXMLVersion (); -this.encoding = l2.getEncoding (); -}}, "org.xml.sax.Locator"); -Clazz.defineMethod (c$, "getXMLVersion", -function () { -return this.version; -}); -Clazz.defineMethod (c$, "getEncoding", -function () { -return this.encoding; -}); -Clazz.defineMethod (c$, "setXMLVersion", -function (version) { -this.version = version; -}, "~S"); -Clazz.defineMethod (c$, "setEncoding", -function (encoding) { -this.encoding = encoding; -}, "~S"); -}); +Clazz.declarePackage ("org.xml.sax.ext"); +Clazz.load (["org.xml.sax.ext.Locator2", "org.xml.sax.helpers.LocatorImpl"], "org.xml.sax.ext.Locator2Impl", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.encoding = null; +this.version = null; +Clazz.instantialize (this, arguments); +}, org.xml.sax.ext, "Locator2Impl", org.xml.sax.helpers.LocatorImpl, org.xml.sax.ext.Locator2); +Clazz.makeConstructor (c$, +function () { +Clazz.superConstructor (this, org.xml.sax.ext.Locator2Impl, []); +}); +Clazz.makeConstructor (c$, +function (locator) { +Clazz.superConstructor (this, org.xml.sax.ext.Locator2Impl, [locator]); +if (Clazz.instanceOf (locator, org.xml.sax.ext.Locator2)) { +var l2 = locator; +this.version = l2.getXMLVersion (); +this.encoding = l2.getEncoding (); +}}, "org.xml.sax.Locator"); +Clazz.defineMethod (c$, "getXMLVersion", +function () { +return this.version; +}); +Clazz.defineMethod (c$, "getEncoding", +function () { +return this.encoding; +}); +Clazz.defineMethod (c$, "setXMLVersion", +function (version) { +this.version = version; +}, "~S"); +Clazz.defineMethod (c$, "setEncoding", +function (encoding) { +this.encoding = encoding; +}, "~S"); +});