public class org.apache.xpath.SourceTreeManager
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.xpath.SourceTreeManager
super_class: java.lang.Object
{
private java.util.Vector m_sourceTree;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
javax.xml.transform.URIResolver m_uriResolver;
descriptor: Ljavax/xml/transform/URIResolver;
flags: (0x0000)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/xpath/SourceTreeManager;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/SourceTreeManager;
public void setURIResolver(javax.xml.transform.URIResolver);
descriptor: (Ljavax/xml/transform/URIResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.xpath.SourceTreeManager.m_uriResolver:Ljavax/xml/transform/URIResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/xpath/SourceTreeManager;
0 2 1 resolver Ljavax/xml/transform/URIResolver;
MethodParameters:
Name Flags
resolver
public javax.xml.transform.URIResolver getURIResolver();
descriptor: ()Ljavax/xml/transform/URIResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.xpath.SourceTreeManager.m_uriResolver:Ljavax/xml/transform/URIResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/xpath/SourceTreeManager;
public java.lang.String findURIFromDoc(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
iload 3
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.SourceTree
astore 4
start local 4 4: iload 1
aload 4
getfield org.apache.xpath.SourceTree.m_root:I
if_icmpne 6
5: aload 4
getfield org.apache.xpath.SourceTree.m_url:Ljava/lang/String;
areturn
end local 4 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 3
end local 3 8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/xpath/SourceTreeManager;
0 9 1 owner I
1 9 2 n I
2 8 3 i I
4 6 4 sTree Lorg/apache/xpath/SourceTree;
MethodParameters:
Name Flags
owner
public javax.xml.transform.Source resolveURI(java.lang.String, java.lang.String, javax.xml.transform.SourceLocator);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)Ljavax/xml/transform/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield org.apache.xpath.SourceTreeManager.m_uriResolver:Ljavax/xml/transform/URIResolver;
ifnull 3
2: aload 0
getfield org.apache.xpath.SourceTreeManager.m_uriResolver:Ljavax/xml/transform/URIResolver;
aload 2
aload 1
invokeinterface javax.xml.transform.URIResolver.resolve:(Ljava/lang/String;Ljava/lang/String;)Ljavax/xml/transform/Source;
astore 4
3: StackMap locals: javax.xml.transform.Source
StackMap stack:
aload 4
ifnonnull 6
4: aload 2
aload 1
invokestatic org.apache.xml.utils.SystemIDResolver.getAbsoluteURI:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 5: new javax.xml.transform.stream.StreamSource
dup
aload 5
invokespecial javax.xml.transform.stream.StreamSource.<init>:(Ljava/lang/String;)V
astore 4
end local 5 6: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/xpath/SourceTreeManager;
0 7 1 base Ljava/lang/String;
0 7 2 urlString Ljava/lang/String;
0 7 3 locator Ljavax/xml/transform/SourceLocator;
1 7 4 source Ljavax/xml/transform/Source;
5 6 5 uri Ljava/lang/String;
Exceptions:
throws javax.xml.transform.TransformerException, java.io.IOException
MethodParameters:
Name Flags
base
urlString
locator
public void removeDocumentFromCache(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_m1
iload 1
if_icmpne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 2
start local 2 3: goto 9
4: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.SourceTree
astore 3
start local 3 5: aload 3
ifnull 8
aload 3
getfield org.apache.xpath.SourceTree.m_root:I
iload 1
if_icmpne 8
6: aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
iload 2
invokevirtual java.util.Vector.removeElementAt:(I)V
7: return
end local 3 8: StackMap locals:
StackMap stack:
iinc 2 -1
StackMap locals:
StackMap stack:
9: iload 2
ifge 4
end local 2 10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/xpath/SourceTreeManager;
0 11 1 n I
3 10 2 i I
5 8 3 st Lorg/apache/xpath/SourceTree;
MethodParameters:
Name Flags
n
public void putDocumentInCache(int, javax.xml.transform.Source);
descriptor: (ILjavax/xml/transform/Source;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.apache.xpath.SourceTreeManager.getNode:(Ljavax/xml/transform/Source;)I
istore 3
start local 3 1: iconst_m1
iload 3
if_icmpeq 9
2: iload 3
iload 1
if_icmpeq 8
3: new java.lang.RuntimeException
dup
4: new java.lang.StringBuilder
dup
ldc "Programmer's Error! putDocumentInCache found reparse of doc: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 2
invokeinterface javax.xml.transform.Source.getSystemId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: int
StackMap stack:
return
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.xml.transform.Source.getSystemId:()Ljava/lang/String;
ifnull 11
10: aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
new org.apache.xpath.SourceTree
dup
iload 1
aload 2
invokeinterface javax.xml.transform.Source.getSystemId:()Ljava/lang/String;
invokespecial org.apache.xpath.SourceTree.<init>:(ILjava/lang/String;)V
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/xpath/SourceTreeManager;
0 12 1 n I
0 12 2 source Ljavax/xml/transform/Source;
1 12 3 cachedNode I
MethodParameters:
Name Flags
n
source
public int getNode(javax.xml.transform.Source);
descriptor: (Ljavax/xml/transform/Source;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.xml.transform.Source.getSystemId:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_m1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.xpath.SourceTreeManager.m_sourceTree:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.apache.xpath.SourceTree
astore 5
start local 5 7: aload 2
aload 5
getfield org.apache.xpath.SourceTree.m_url:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 5
getfield org.apache.xpath.SourceTree.m_root:I
ireturn
end local 5 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 3
if_icmplt 6
end local 4 11: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/xpath/SourceTreeManager;
0 12 1 source Ljavax/xml/transform/Source;
1 12 2 url Ljava/lang/String;
4 12 3 n I
5 11 4 i I
7 9 5 sTree Lorg/apache/xpath/SourceTree;
MethodParameters:
Name Flags
source
public int getSourceTree(java.lang.String, java.lang.String, javax.xml.transform.SourceLocator, org.apache.xpath.XPathContext);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.apache.xpath.SourceTreeManager.resolveURI:(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/transform/SourceLocator;)Ljavax/xml/transform/Source;
astore 5
start local 5 1: aload 0
aload 5
aload 3
aload 4
invokevirtual org.apache.xpath.SourceTreeManager.getSourceTree:(Ljavax/xml/transform/Source;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/XPathContext;)I
2: ireturn
end local 5 3: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 4: new javax.xml.transform.TransformerException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 3
aload 5
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/xpath/SourceTreeManager;
0 5 1 base Ljava/lang/String;
0 5 2 urlString Ljava/lang/String;
0 5 3 locator Ljavax/xml/transform/SourceLocator;
0 5 4 xctxt Lorg/apache/xpath/XPathContext;
1 3 5 source Ljavax/xml/transform/Source;
4 5 5 ioe Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
base
urlString
locator
xctxt
public int getSourceTree(javax.xml.transform.Source, javax.xml.transform.SourceLocator, org.apache.xpath.XPathContext);
descriptor: (Ljavax/xml/transform/Source;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual org.apache.xpath.SourceTreeManager.getNode:(Ljavax/xml/transform/Source;)I
istore 4
start local 4 1: iconst_m1
iload 4
if_icmpeq 3
2: iload 4
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.apache.xpath.SourceTreeManager.parseToNode:(Ljavax/xml/transform/Source;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/XPathContext;)I
istore 4
4: iconst_m1
iload 4
if_icmpeq 6
5: aload 0
iload 4
aload 1
invokevirtual org.apache.xpath.SourceTreeManager.putDocumentInCache:(ILjavax/xml/transform/Source;)V
6: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/xpath/SourceTreeManager;
0 7 1 source Ljavax/xml/transform/Source;
0 7 2 locator Ljavax/xml/transform/SourceLocator;
0 7 3 xctxt Lorg/apache/xpath/XPathContext;
1 7 4 n I
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
source
locator
xctxt
public int parseToNode(javax.xml.transform.Source, javax.xml.transform.SourceLocator, org.apache.xpath.XPathContext);
descriptor: (Ljavax/xml/transform/Source;Ljavax/xml/transform/SourceLocator;Lorg/apache/xpath/XPathContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.apache.xpath.XPathContext.getOwnerObject:()Ljava/lang/Object;
astore 4
start local 4 1: aload 4
ifnull 6
aload 4
instanceof org.apache.xml.dtm.DTMWSFilter
ifeq 6
2: aload 3
aload 1
iconst_0
3: aload 4
checkcast org.apache.xml.dtm.DTMWSFilter
iconst_0
iconst_1
4: invokevirtual org.apache.xpath.XPathContext.getDTM:(Ljavax/xml/transform/Source;ZLorg/apache/xml/dtm/DTMWSFilter;ZZ)Lorg/apache/xml/dtm/DTM;
astore 5
start local 5 5: goto 7
end local 5 6: StackMap locals: java.lang.Object
StackMap stack:
aload 3
aload 1
iconst_0
aconst_null
iconst_0
iconst_1
invokevirtual org.apache.xpath.XPathContext.getDTM:(Ljavax/xml/transform/Source;ZLorg/apache/xml/dtm/DTMWSFilter;ZZ)Lorg/apache/xml/dtm/DTM;
astore 5
start local 5 7: StackMap locals: org.apache.xml.dtm.DTM
StackMap stack:
aload 5
invokeinterface org.apache.xml.dtm.DTM.getDocument:()I
8: ireturn
end local 5 end local 4 9: StackMap locals: org.apache.xpath.SourceTreeManager javax.xml.transform.Source javax.xml.transform.SourceLocator org.apache.xpath.XPathContext
StackMap stack: java.lang.Exception
astore 4
start local 4 10: new javax.xml.transform.TransformerException
dup
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aload 2
aload 4
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/xpath/SourceTreeManager;
0 11 1 source Ljavax/xml/transform/Source;
0 11 2 locator Ljavax/xml/transform/SourceLocator;
0 11 3 xctxt Lorg/apache/xpath/XPathContext;
1 9 4 xowner Ljava/lang/Object;
5 6 5 dtm Lorg/apache/xml/dtm/DTM;
7 9 5 dtm Lorg/apache/xml/dtm/DTM;
10 11 4 e Ljava/lang/Exception;
Exception table:
from to target type
0 8 9 Class java.lang.Exception
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
source
locator
xctxt
public static org.xml.sax.XMLReader getXMLReader(javax.xml.transform.Source, javax.xml.transform.SourceLocator);
descriptor: (Ljavax/xml/transform/Source;Ljavax/xml/transform/SourceLocator;)Lorg/xml/sax/XMLReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
instanceof javax.xml.transform.sax.SAXSource
ifeq 2
1: aload 0
checkcast javax.xml.transform.sax.SAXSource
invokevirtual javax.xml.transform.sax.SAXSource.getXMLReader:()Lorg/xml/sax/XMLReader;
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: org.xml.sax.XMLReader
astore 2
start local 2 4: aload 2
ifnonnull 20
5: invokestatic javax.xml.parsers.SAXParserFactory.newInstance:()Ljavax/xml/parsers/SAXParserFactory;
6: astore 3
start local 3 7: aload 3
iconst_1
invokevirtual javax.xml.parsers.SAXParserFactory.setNamespaceAware:(Z)V
8: aload 3
invokevirtual javax.xml.parsers.SAXParserFactory.newSAXParser:()Ljavax/xml/parsers/SAXParser;
9: astore 4
start local 4 10: aload 4
invokevirtual javax.xml.parsers.SAXParser.getXMLReader:()Lorg/xml/sax/XMLReader;
astore 2
end local 4 end local 3 11: goto 18
StackMap locals: javax.xml.transform.Source javax.xml.transform.SourceLocator org.xml.sax.XMLReader
StackMap stack: javax.xml.parsers.ParserConfigurationException
12: astore 3
start local 3 13: new org.xml.sax.SAXException
dup
aload 3
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 14: StackMap locals:
StackMap stack: javax.xml.parsers.FactoryConfigurationError
astore 3
start local 3 15: new org.xml.sax.SAXException
dup
aload 3
invokevirtual javax.xml.parsers.FactoryConfigurationError.toString:()Ljava/lang/String;
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/String;)V
athrow
end local 3 16: StackMap locals:
StackMap stack: java.lang.NoSuchMethodError
pop
goto 18
17: StackMap locals:
StackMap stack: java.lang.AbstractMethodError
pop
18: StackMap locals:
StackMap stack:
aload 2
ifnonnull 20
19: invokestatic org.xml.sax.helpers.XMLReaderFactory.createXMLReader:()Lorg/xml/sax/XMLReader;
astore 2
20: StackMap locals:
StackMap stack:
aload 2
ldc "http://xml.org/sax/features/namespace-prefixes"
21: iconst_1
22: invokeinterface org.xml.sax.XMLReader.setFeature:(Ljava/lang/String;Z)V
23: goto 25
24: StackMap locals:
StackMap stack: org.xml.sax.SAXException
pop
25: StackMap locals:
StackMap stack:
aload 2
26: areturn
end local 2 27: StackMap locals: javax.xml.transform.Source javax.xml.transform.SourceLocator
StackMap stack: org.xml.sax.SAXException
astore 2
start local 2 28: new javax.xml.transform.TransformerException
dup
aload 2
invokevirtual org.xml.sax.SAXException.getMessage:()Ljava/lang/String;
aload 1
aload 2
invokespecial javax.xml.transform.TransformerException.<init>:(Ljava/lang/String;Ljavax/xml/transform/SourceLocator;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 inputSource Ljavax/xml/transform/Source;
0 29 1 locator Ljavax/xml/transform/SourceLocator;
4 27 2 reader Lorg/xml/sax/XMLReader;
7 11 3 factory Ljavax/xml/parsers/SAXParserFactory;
10 11 4 jaxpParser Ljavax/xml/parsers/SAXParser;
13 14 3 ex Ljavax/xml/parsers/ParserConfigurationException;
15 16 3 ex1 Ljavax/xml/parsers/FactoryConfigurationError;
28 29 2 se Lorg/xml/sax/SAXException;
Exception table:
from to target type
5 11 12 Class javax.xml.parsers.ParserConfigurationException
5 11 14 Class javax.xml.parsers.FactoryConfigurationError
5 11 16 Class java.lang.NoSuchMethodError
5 11 17 Class java.lang.AbstractMethodError
20 23 24 Class org.xml.sax.SAXException
0 26 27 Class org.xml.sax.SAXException
Exceptions:
throws javax.xml.transform.TransformerException
MethodParameters:
Name Flags
inputSource
locator
}
SourceFile: "SourceTreeManager.java"