Initial commit
This commit is contained in:
2272
sources/org/xmlpull/mxp1/MXParser.java
Normal file
2272
sources/org/xmlpull/mxp1/MXParser.java
Normal file
File diff suppressed because it is too large
Load Diff
100
sources/org/xmlpull/v1/XmlPullParser.java
Normal file
100
sources/org/xmlpull/v1/XmlPullParser.java
Normal file
@@ -0,0 +1,100 @@
|
||||
package org.xmlpull.v1;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public interface XmlPullParser {
|
||||
public static final int CDSECT = 5;
|
||||
public static final int COMMENT = 9;
|
||||
public static final int DOCDECL = 10;
|
||||
public static final int END_DOCUMENT = 1;
|
||||
public static final int END_TAG = 3;
|
||||
public static final int ENTITY_REF = 6;
|
||||
public static final String FEATURE_PROCESS_DOCDECL = "http://xmlpull.org/v1/doc/features.html#process-docdecl";
|
||||
public static final String FEATURE_PROCESS_NAMESPACES = "http://xmlpull.org/v1/doc/features.html#process-namespaces";
|
||||
public static final String FEATURE_REPORT_NAMESPACE_ATTRIBUTES = "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes";
|
||||
public static final String FEATURE_VALIDATION = "http://xmlpull.org/v1/doc/features.html#validation";
|
||||
public static final int IGNORABLE_WHITESPACE = 7;
|
||||
public static final String NO_NAMESPACE = "";
|
||||
public static final int PROCESSING_INSTRUCTION = 8;
|
||||
public static final int START_DOCUMENT = 0;
|
||||
public static final int START_TAG = 2;
|
||||
public static final int TEXT = 4;
|
||||
public static final String[] TYPES = {"START_DOCUMENT", "END_DOCUMENT", "START_TAG", "END_TAG", "TEXT", "CDSECT", "ENTITY_REF", "IGNORABLE_WHITESPACE", "PROCESSING_INSTRUCTION", "COMMENT", "DOCDECL"};
|
||||
|
||||
void defineEntityReplacementText(String str, String str2) throws XmlPullParserException;
|
||||
|
||||
int getAttributeCount();
|
||||
|
||||
String getAttributeName(int i);
|
||||
|
||||
String getAttributeNamespace(int i);
|
||||
|
||||
String getAttributePrefix(int i);
|
||||
|
||||
String getAttributeType(int i);
|
||||
|
||||
String getAttributeValue(int i);
|
||||
|
||||
String getAttributeValue(String str, String str2);
|
||||
|
||||
int getColumnNumber();
|
||||
|
||||
int getDepth();
|
||||
|
||||
int getEventType() throws XmlPullParserException;
|
||||
|
||||
boolean getFeature(String str);
|
||||
|
||||
String getInputEncoding();
|
||||
|
||||
int getLineNumber();
|
||||
|
||||
String getName();
|
||||
|
||||
String getNamespace();
|
||||
|
||||
String getNamespace(String str);
|
||||
|
||||
int getNamespaceCount(int i) throws XmlPullParserException;
|
||||
|
||||
String getNamespacePrefix(int i) throws XmlPullParserException;
|
||||
|
||||
String getNamespaceUri(int i) throws XmlPullParserException;
|
||||
|
||||
String getPositionDescription();
|
||||
|
||||
String getPrefix();
|
||||
|
||||
Object getProperty(String str);
|
||||
|
||||
String getText();
|
||||
|
||||
char[] getTextCharacters(int[] iArr);
|
||||
|
||||
boolean isAttributeDefault(int i);
|
||||
|
||||
boolean isEmptyElementTag() throws XmlPullParserException;
|
||||
|
||||
boolean isWhitespace() throws XmlPullParserException;
|
||||
|
||||
int next() throws XmlPullParserException, IOException;
|
||||
|
||||
int nextTag() throws XmlPullParserException, IOException;
|
||||
|
||||
String nextText() throws XmlPullParserException, IOException;
|
||||
|
||||
int nextToken() throws XmlPullParserException, IOException;
|
||||
|
||||
void require(int i, String str, String str2) throws XmlPullParserException, IOException;
|
||||
|
||||
void setFeature(String str, boolean z) throws XmlPullParserException;
|
||||
|
||||
void setInput(InputStream inputStream, String str) throws XmlPullParserException;
|
||||
|
||||
void setInput(Reader reader) throws XmlPullParserException;
|
||||
|
||||
void setProperty(String str, Object obj) throws XmlPullParserException;
|
||||
}
|
110
sources/org/xmlpull/v1/XmlPullParserException.java
Normal file
110
sources/org/xmlpull/v1/XmlPullParserException.java
Normal file
@@ -0,0 +1,110 @@
|
||||
package org.xmlpull.v1;
|
||||
|
||||
import java.io.PrintStream;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class XmlPullParserException extends Exception {
|
||||
protected int column;
|
||||
protected Throwable detail;
|
||||
protected int row;
|
||||
|
||||
public XmlPullParserException(String str) {
|
||||
super(str);
|
||||
this.row = -1;
|
||||
this.column = -1;
|
||||
}
|
||||
|
||||
public int getColumnNumber() {
|
||||
return this.column;
|
||||
}
|
||||
|
||||
public Throwable getDetail() {
|
||||
return this.detail;
|
||||
}
|
||||
|
||||
public int getLineNumber() {
|
||||
return this.row;
|
||||
}
|
||||
|
||||
@Override // java.lang.Throwable
|
||||
public void printStackTrace() {
|
||||
if (this.detail == null) {
|
||||
super.printStackTrace();
|
||||
return;
|
||||
}
|
||||
synchronized (System.err) {
|
||||
PrintStream printStream = System.err;
|
||||
StringBuffer stringBuffer = new StringBuffer();
|
||||
stringBuffer.append(super.getMessage());
|
||||
stringBuffer.append("; nested exception is:");
|
||||
printStream.println(stringBuffer.toString());
|
||||
this.detail.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
/* JADX WARN: Illegal instructions before constructor call */
|
||||
/*
|
||||
Code decompiled incorrectly, please refer to instructions dump.
|
||||
To view partially-correct code enable 'Show inconsistent code' option in preferences
|
||||
*/
|
||||
public XmlPullParserException(java.lang.String r4, org.xmlpull.v1.XmlPullParser r5, java.lang.Throwable r6) {
|
||||
/*
|
||||
r3 = this;
|
||||
java.lang.StringBuffer r0 = new java.lang.StringBuffer
|
||||
r0.<init>()
|
||||
java.lang.String r1 = ""
|
||||
if (r4 != 0) goto Lb
|
||||
r4 = r1
|
||||
goto L1c
|
||||
Lb:
|
||||
java.lang.StringBuffer r2 = new java.lang.StringBuffer
|
||||
r2.<init>()
|
||||
r2.append(r4)
|
||||
java.lang.String r4 = " "
|
||||
r2.append(r4)
|
||||
java.lang.String r4 = r2.toString()
|
||||
L1c:
|
||||
r0.append(r4)
|
||||
if (r5 != 0) goto L23
|
||||
r4 = r1
|
||||
goto L3d
|
||||
L23:
|
||||
java.lang.StringBuffer r4 = new java.lang.StringBuffer
|
||||
r4.<init>()
|
||||
java.lang.String r2 = "(position:"
|
||||
r4.append(r2)
|
||||
java.lang.String r2 = r5.getPositionDescription()
|
||||
r4.append(r2)
|
||||
java.lang.String r2 = ") "
|
||||
r4.append(r2)
|
||||
java.lang.String r4 = r4.toString()
|
||||
L3d:
|
||||
r0.append(r4)
|
||||
if (r6 != 0) goto L43
|
||||
goto L54
|
||||
L43:
|
||||
java.lang.StringBuffer r4 = new java.lang.StringBuffer
|
||||
r4.<init>()
|
||||
java.lang.String r1 = "caused by: "
|
||||
r4.append(r1)
|
||||
r4.append(r6)
|
||||
java.lang.String r1 = r4.toString()
|
||||
L54:
|
||||
r0.append(r1)
|
||||
java.lang.String r4 = r0.toString()
|
||||
r3.<init>(r4)
|
||||
r4 = -1
|
||||
r3.row = r4
|
||||
r3.column = r4
|
||||
if (r5 == 0) goto L71
|
||||
int r4 = r5.getLineNumber()
|
||||
r3.row = r4
|
||||
int r4 = r5.getColumnNumber()
|
||||
r3.column = r4
|
||||
L71:
|
||||
r3.detail = r6
|
||||
return
|
||||
*/
|
||||
throw new UnsupportedOperationException("Method not decompiled: org.xmlpull.v1.XmlPullParserException.<init>(java.lang.String, org.xmlpull.v1.XmlPullParser, java.lang.Throwable):void");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user