Fork of the Fernflower decompiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fernflower/testData/obfuscated/a1.java

91 lines
2.2 KiB

import java.util.ArrayList;
import java.util.List;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
public class a1 implements a0 {
private Node a;
private static final XPathFactory b = XPathFactory.newInstance();
public a1(Node var1) {
this.a = var1;
}
public a0 a(String var1) throws XPathExpressionException {
Node var2 = (Node)b.newXPath().compile(var1).evaluate(this.a, XPathConstants.NODE);
try {
if (var2 == null) {
return null;
}
} catch (XPathExpressionException var3) {
throw var3;
}
return new a1(var2);
}
public List<a0> b(String var1) throws XPathExpressionException {
int var5 = bc.e;
NodeList var2 = (NodeList)b.newXPath().compile(var1).evaluate(this.a, XPathConstants.NODESET);
ArrayList var3 = new ArrayList(var2.getLength());
int var4 = 0;
ArrayList var10000;
while(true) {
if (var4 < var2.getLength()) {
try {
var10000 = var3;
if (var5 != 0) {
break;
}
var3.add(new a1(var2.item(var4)));
++var4;
if (var5 == 0) {
continue;
}
} catch (XPathExpressionException var7) {
throw var7;
}
int var6 = ap.c;
++var6;
ap.c = var6;
}
var10000 = var3;
break;
}
return var10000;
}
public a0[] c(String var1) throws XPathExpressionException {
List var2 = this.b(var1);
return (a0[])var2.toArray(new a0[var2.size()]);
}
public String d(String param1) throws XPathExpressionException {
// $FF: Couldn't be decompiled
}
public boolean f(String param1) throws XPathExpressionException {
// $FF: Couldn't be decompiled
}
public String a() {
return this.a.getNodeName();
}
public String toString() {
return this.a();
}
public o e(String var1) throws XPathExpressionException {
return o.b((Object)this.d(var1));
}
}