热汗舞蹈 v1.24.1.0版本的 MD5 值为:f1dc6ef07903515a73f51f41f372123e
以下内容为反编译后的 e.java 源代码,内容仅作参考
package z;
import ch.qos.logback.core.joran.spi.JoranException;
import java.io.EOFException;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
import org.xml.sax.SAXNotSupportedException;
import org.xml.sax.SAXParseException;
import org.xml.sax.helpers.DefaultHandler;
import org.xmlpull.v1.sax2.Driver;
public class e extends DefaultHandler implements k0.d {
public final k0.f f39188a;
public Locator f39190c;
public List<d> f39189b = new ArrayList();
public a0.d f39191d = new a0.d();
public e(q.d dVar) {
this.f39188a = new k0.f(dVar, this);
}
public void a(String str, Throwable th) {
this.f39188a.c(str, th);
}
@Override
public void addError(String str) {
this.f39188a.addError(str);
}
@Override
public void addError(String str, Throwable th) {
this.f39188a.addError(str, th);
}
public final Driver c() throws JoranException {
try {
Driver driver = new Driver();
try {
driver.setFeature("http://xml.org/sax/features/validation", false);
} catch (SAXNotSupportedException unused) {
}
driver.setFeature("http://xml.org/sax/features/namespaces", true);
return driver;
} catch (Exception e10) {
addError("Parser configuration error occurred", e10);
throw new JoranException("Parser configuration error occurred", e10);
}
}
@Override
public void characters(char[] cArr, int i10, int i11) {
String str = new String(cArr, i10, i11);
d d10 = d();
if (d10 instanceof a) {
((a) d10).d(str);
} else if (k(str)) {
} else {
this.f39189b.add(new a(str, e()));
}
}
public d d() {
if (this.f39189b.isEmpty()) {
return null;
}
return this.f39189b.get(this.f39189b.size() - 1);
}
public Locator e() {
return this.f39190c;
}
@Override
public void endElement(String str, String str2, String str3) {
if (str3 == null || str3.length() == 0) {
str3 = str2;
}
this.f39189b.add(new b(str, str2, str3, e()));
this.f39191d.f();
}
@Override
public void error(SAXParseException sAXParseException) throws SAXException {
addError("XML_PARSING - Parsing error on line " + sAXParseException.getLineNumber() + " and column " + sAXParseException.getColumnNumber(), sAXParseException);
}
public List<d> f() {
return this.f39189b;
}
@Override
public void fatalError(SAXParseException sAXParseException) throws SAXException {
addError("XML_PARSING - Parsing fatal error on line " + sAXParseException.getLineNumber() + " and column " + sAXParseException.getColumnNumber(), sAXParseException);
}
public String g(String str, String str2) {
return (str == null || str.length() < 1) ? str2 : str;
}
public final void i(String str, Throwable th) throws JoranException {
addError(str, th);
throw new JoranException(str, th);
}
public boolean k(String str) {
return str.trim().length() == 0;
}
public List<d> l(InputSource inputSource) throws JoranException {
String str;
Driver c10 = c();
try {
c10.setContentHandler(this);
c10.setErrorHandler(this);
c10.parse(inputSource);
return this.f39189b;
} catch (EOFException e10) {
i(e10.getLocalizedMessage(), new SAXParseException(e10.getLocalizedMessage(), this.f39190c, e10));
throw new IllegalStateException("This point can never be reached");
} catch (IOException e11) {
e = e11;
str = "I/O error occurred while parsing xml file";
i(str, e);
throw new IllegalStateException("This point can never be reached");
} catch (SAXException e12) {
throw new JoranException("Problem parsing XML document. See previously reported errors.", e12);
} catch (Exception e13) {
e = e13;
str = "Unexpected exception while parsing XML document.";
i(str, e);
throw new IllegalStateException("This point can never be reached");
}
}
public final void m(InputStream inputStream) throws JoranException {
l(new InputSource(inputStream));
}
@Override
public void setContext(q.d dVar) {
this.f39188a.setContext(dVar);
}
@Override
public void setDocumentLocator(Locator locator) {
this.f39190c = locator;
}
@Override
public void startDocument() {
}
@Override
public void startElement(String str, String str2, String str3, Attributes attributes) {
String str4 = (str3 == null || str3.length() == 0) ? str2 : str3;
this.f39191d.g(g(str2, str4));
this.f39189b.add(new f(this.f39191d.a(), str, str2, str4, attributes, e()));
}
@Override
public void warning(SAXParseException sAXParseException) throws SAXException {
a("XML_PARSING - Parsing warning on line " + sAXParseException.getLineNumber() + " and column " + sAXParseException.getColumnNumber(), sAXParseException);
}
}