public abstract class javax.xml.xpath.XPathFactory
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.xml.xpath.XPathFactory
super_class: java.lang.Object
{
public static final java.lang.String DEFAULT_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "javax.xml.xpath.XPathFactory"
public static final java.lang.String DEFAULT_OBJECT_MODEL_URI;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "http://java.sun.com/jaxp/xpath/dom"
private static javax.xml.xpath.SecuritySupport ss;
descriptor: Ljavax/xml/xpath/SecuritySupport;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new javax.xml.xpath.SecuritySupport
dup
invokespecial javax.xml.xpath.SecuritySupport.<init>:()V
putstatic javax.xml.xpath.XPathFactory.ss:Ljavax/xml/xpath/SecuritySupport;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/xml/xpath/XPathFactory;
public static javax.xml.xpath.XPathFactory newDefaultInstance();
descriptor: ()Ljavax/xml/xpath/XPathFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl
dup
invokespecial com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static javax.xml.xpath.XPathFactory newInstance();
descriptor: ()Ljavax/xml/xpath/XPathFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: ldc "http://java.sun.com/jaxp/xpath/dom"
invokestatic javax.xml.xpath.XPathFactory.newInstance:(Ljava/lang/String;)Ljavax/xml/xpath/XPathFactory;
1: areturn
2: StackMap locals:
StackMap stack: javax.xml.xpath.XPathFactoryConfigurationException
astore 0
start local 0 3: new java.lang.RuntimeException
dup
4: new java.lang.StringBuilder
dup
ldc "XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 0
invokevirtual javax.xml.xpath.XPathFactoryConfigurationException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: aload 0
8: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 9 0 e Ljavax/xml/xpath/XPathFactoryConfigurationException;
Exception table:
from to target type
0 1 2 Class javax.xml.xpath.XPathFactoryConfigurationException
public static javax.xml.xpath.XPathFactory newInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/xml/xpath/XPathFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnonnull 4
1: new java.lang.NullPointerException
dup
2: ldc "XPathFactory#newInstance(String uri) cannot be called with uri == null"
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 8
5: new java.lang.IllegalArgumentException
dup
6: ldc "XPathFactory#newInstance(String uri) cannot be called with uri == \"\""
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
getstatic javax.xml.xpath.XPathFactory.ss:Ljavax/xml/xpath/SecuritySupport;
invokevirtual javax.xml.xpath.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 9: aload 1
ifnonnull 11
10: ldc Ljavax/xml/xpath/XPathFactory;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
11: StackMap locals: java.lang.ClassLoader
StackMap stack:
new javax.xml.xpath.XPathFactoryFinder
dup
aload 1
invokespecial javax.xml.xpath.XPathFactoryFinder.<init>:(Ljava/lang/ClassLoader;)V
aload 0
invokevirtual javax.xml.xpath.XPathFactoryFinder.newFactory:(Ljava/lang/String;)Ljavax/xml/xpath/XPathFactory;
astore 2
start local 2 12: aload 2
ifnonnull 18
13: new javax.xml.xpath.XPathFactoryConfigurationException
dup
14: new java.lang.StringBuilder
dup
ldc "No XPathFactory implementation found for the object model: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial javax.xml.xpath.XPathFactoryConfigurationException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: javax.xml.xpath.XPathFactory
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 uri Ljava/lang/String;
9 19 1 classLoader Ljava/lang/ClassLoader;
12 19 2 xpathFactory Ljavax/xml/xpath/XPathFactory;
Exceptions:
throws javax.xml.xpath.XPathFactoryConfigurationException
MethodParameters:
Name Flags
uri final
public static javax.xml.xpath.XPathFactory newInstance(java.lang.String, java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/xpath/XPathFactory;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
astore 3
start local 3 1: aload 0
ifnonnull 5
2: new java.lang.NullPointerException
dup
3: ldc "XPathFactory#newInstance(String uri) cannot be called with uri == null"
4: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
ifne 9
6: new java.lang.IllegalArgumentException
dup
7: ldc "XPathFactory#newInstance(String uri) cannot be called with uri == \"\""
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 11
10: getstatic javax.xml.xpath.XPathFactory.ss:Ljavax/xml/xpath/SecuritySupport;
invokevirtual javax.xml.xpath.SecuritySupport.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 3
11: StackMap locals:
StackMap stack:
new javax.xml.xpath.XPathFactoryFinder
dup
aload 3
invokespecial javax.xml.xpath.XPathFactoryFinder.<init>:(Ljava/lang/ClassLoader;)V
aload 1
invokevirtual javax.xml.xpath.XPathFactoryFinder.createInstance:(Ljava/lang/String;)Ljavax/xml/xpath/XPathFactory;
astore 4
start local 4 12: aload 4
ifnonnull 18
13: new javax.xml.xpath.XPathFactoryConfigurationException
dup
14: new java.lang.StringBuilder
dup
ldc "No XPathFactory implementation found for the object model: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial javax.xml.xpath.XPathFactoryConfigurationException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: javax.xml.xpath.XPathFactory
StackMap stack:
aload 4
aload 0
invokevirtual javax.xml.xpath.XPathFactory.isObjectModelSupported:(Ljava/lang/String;)Z
ifeq 20
19: aload 4
areturn
20: StackMap locals:
StackMap stack:
new javax.xml.xpath.XPathFactoryConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Factory "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " doesn't support given "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: ldc " object model"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: invokespecial javax.xml.xpath.XPathFactoryConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 uri Ljava/lang/String;
0 24 1 factoryClassName Ljava/lang/String;
0 24 2 classLoader Ljava/lang/ClassLoader;
1 24 3 cl Ljava/lang/ClassLoader;
12 24 4 f Ljavax/xml/xpath/XPathFactory;
Exceptions:
throws javax.xml.xpath.XPathFactoryConfigurationException
MethodParameters:
Name Flags
uri
factoryClassName
classLoader
public abstract boolean isObjectModelSupported(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
objectModel
public abstract void setFeature(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws javax.xml.xpath.XPathFactoryConfigurationException
MethodParameters:
Name Flags
name
value
public abstract boolean getFeature(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws javax.xml.xpath.XPathFactoryConfigurationException
MethodParameters:
Name Flags
name
public abstract void setXPathVariableResolver(javax.xml.xpath.XPathVariableResolver);
descriptor: (Ljavax/xml/xpath/XPathVariableResolver;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
resolver
public abstract void setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver);
descriptor: (Ljavax/xml/xpath/XPathFunctionResolver;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
resolver
public abstract javax.xml.xpath.XPath newXPath();
descriptor: ()Ljavax/xml/xpath/XPath;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
}
SourceFile: "XPathFactory.java"