public class com.sun.tools.doclets.internal.toolkit.builders.LayoutParser extends org.xml.sax.helpers.DefaultHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.doclets.internal.toolkit.builders.LayoutParser
super_class: org.xml.sax.helpers.DefaultHandler
{
private java.util.Map<java.lang.String, com.sun.tools.doclets.internal.toolkit.builders.XMLNode> xmlElementsMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;>;
private com.sun.tools.doclets.internal.toolkit.builders.XMLNode currentNode;
descriptor: Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
flags: (0x0002) ACC_PRIVATE
private final com.sun.tools.doclets.internal.toolkit.Configuration configuration;
descriptor: Lcom/sun/tools/doclets/internal/toolkit/Configuration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String currentRoot;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean isParsing;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private void <init>(com.sun.tools.doclets.internal.toolkit.Configuration);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.xml.sax.helpers.DefaultHandler.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.xmlElementsMap:Ljava/util/Map;
2: aload 0
aload 1
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/doclets/internal/toolkit/builders/LayoutParser;
0 4 1 configuration Lcom/sun/tools/doclets/internal/toolkit/Configuration;
MethodParameters:
Name Flags
configuration
public static com.sun.tools.doclets.internal.toolkit.builders.LayoutParser getInstance(com.sun.tools.doclets.internal.toolkit.Configuration);
descriptor: (Lcom/sun/tools/doclets/internal/toolkit/Configuration;)Lcom/sun/tools/doclets/internal/toolkit/builders/LayoutParser;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.sun.tools.doclets.internal.toolkit.builders.LayoutParser
dup
aload 0
invokespecial com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.<init>:(Lcom/sun/tools/doclets/internal/toolkit/Configuration;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configuration Lcom/sun/tools/doclets/internal/toolkit/Configuration;
MethodParameters:
Name Flags
configuration
public com.sun.tools.doclets.internal.toolkit.builders.XMLNode parseXML(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.xmlElementsMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.xmlElementsMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.doclets.internal.toolkit.builders.XMLNode
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentRoot:Ljava/lang/String;
3: aload 0
iconst_0
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.isParsing:Z
4: invokestatic javax.xml.parsers.SAXParserFactory.newInstance:()Ljavax/xml/parsers/SAXParserFactory;
astore 2
start local 2 5: aload 2
invokevirtual javax.xml.parsers.SAXParserFactory.newSAXParser:()Ljavax/xml/parsers/SAXParser;
astore 3
start local 3 6: aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.configuration:Lcom/sun/tools/doclets/internal/toolkit/Configuration;
invokevirtual com.sun.tools.doclets.internal.toolkit.Configuration.getBuilderXML:()Ljava/io/InputStream;
astore 4
start local 4 7: aload 3
aload 4
aload 0
invokevirtual javax.xml.parsers.SAXParser.parse:(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V
8: aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.xmlElementsMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.doclets.internal.toolkit.builders.XMLNode
9: areturn
end local 4 end local 3 end local 2 10: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 11: aload 2
invokevirtual java.lang.Throwable.printStackTrace:()V
12: new com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
dup
aload 2
invokespecial com.sun.tools.doclets.internal.toolkit.util.DocletAbortException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/tools/doclets/internal/toolkit/builders/LayoutParser;
0 13 1 root Ljava/lang/String;
5 10 2 factory Ljavax/xml/parsers/SAXParserFactory;
6 10 3 saxParser Ljavax/xml/parsers/SAXParser;
7 10 4 in Ljava/io/InputStream;
11 13 2 t Ljava/lang/Throwable;
Exception table:
from to target type
2 9 10 Class java.lang.Throwable
MethodParameters:
Name Flags
root
public void startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
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
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.isParsing:Z
ifne 1
aload 3
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentRoot:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.isParsing:Z
2: aload 0
new com.sun.tools.doclets.internal.toolkit.builders.XMLNode
dup
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentNode:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
aload 3
invokespecial com.sun.tools.doclets.internal.toolkit.builders.XMLNode.<init>:(Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;Ljava/lang/String;)V
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentNode:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
3: iconst_0
istore 5
start local 5 4: goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentNode:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
getfield com.sun.tools.doclets.internal.toolkit.builders.XMLNode.attrs:Ljava/util/Map;
aload 4
iload 5
invokeinterface org.xml.sax.Attributes.getLocalName:(I)Ljava/lang/String;
aload 4
iload 5
invokeinterface org.xml.sax.Attributes.getValue:(I)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
aload 4
invokeinterface org.xml.sax.Attributes.getLength:()I
if_icmplt 5
end local 5 8: aload 3
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentRoot:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.xmlElementsMap:Ljava/util/Map;
aload 3
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentNode:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals:
StackMap stack:
return
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 Lcom/sun/tools/doclets/internal/toolkit/builders/LayoutParser;
0 11 1 namespaceURI Ljava/lang/String;
0 11 2 sName Ljava/lang/String;
0 11 3 qName Ljava/lang/String;
0 11 4 attrs Lorg/xml/sax/Attributes;
4 8 5 i I
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
sName
qName
attrs
public void endElement(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.isParsing:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentNode:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
getfield com.sun.tools.doclets.internal.toolkit.builders.XMLNode.parent:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentNode:Lcom/sun/tools/doclets/internal/toolkit/builders/XMLNode;
3: aload 0
aload 3
aload 0
getfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.currentRoot:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack: com.sun.tools.doclets.internal.toolkit.builders.LayoutParser
4: iconst_1
StackMap locals: com.sun.tools.doclets.internal.toolkit.builders.LayoutParser java.lang.String java.lang.String java.lang.String
StackMap stack: com.sun.tools.doclets.internal.toolkit.builders.LayoutParser int
5: putfield com.sun.tools.doclets.internal.toolkit.builders.LayoutParser.isParsing:Z
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/doclets/internal/toolkit/builders/LayoutParser;
0 7 1 namespaceURI Ljava/lang/String;
0 7 2 sName Ljava/lang/String;
0 7 3 qName Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
sName
qName
}
SourceFile: "LayoutParser.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()