public class org.apache.commons.configuration.XMLConfiguration extends org.apache.commons.configuration.AbstractHierarchicalFileConfiguration implements org.xml.sax.EntityResolver, org.apache.commons.configuration.resolver.EntityRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.configuration.XMLConfiguration
super_class: org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2453781111653383552
private static final java.lang.String DEFAULT_ROOT_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "configuration"
private static final java.lang.String ATTR_SPACE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "xml:space"
private static final java.lang.String VALUE_PRESERVE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "preserve"
private static final char ATTR_VALUE_DELIMITER;
descriptor: C
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 124
private static final java.lang.String JAXP_SCHEMA_LANGUAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http://java.sun.com/xml/jaxp/properties/schemaLanguage"
private static final java.lang.String W3C_XML_SCHEMA;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "http://www.w3.org/2001/XMLSchema"
private org.w3c.dom.Document document;
descriptor: Lorg/w3c/dom/Document;
flags: (0x0002) ACC_PRIVATE
private java.lang.String rootElementName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String publicID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String systemID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.xml.parsers.DocumentBuilder documentBuilder;
descriptor: Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0002) ACC_PRIVATE
private boolean validating;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean schemaValidation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean attributeSplittingDisabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.xml.sax.EntityResolver entityResolver;
descriptor: Lorg/xml/sax/EntityResolver;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>:()V
1: aload 0
new org.apache.commons.configuration.resolver.DefaultEntityResolver
dup
invokespecial org.apache.commons.configuration.resolver.DefaultEntityResolver.<init>:()V
putfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
2: aload 0
ldc Lorg/apache/commons/configuration/XMLConfiguration;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setLogger:(Lorg/apache/commons/logging/Log;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void <init>(org.apache.commons.configuration.HierarchicalConfiguration);
descriptor: (Lorg/apache/commons/configuration/HierarchicalConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>:(Lorg/apache/commons/configuration/HierarchicalConfiguration;)V
1: aload 0
new org.apache.commons.configuration.resolver.DefaultEntityResolver
dup
invokespecial org.apache.commons.configuration.resolver.DefaultEntityResolver.<init>:()V
putfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
2: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootNode:()Lorg/apache/commons/configuration/tree/ConfigurationNode;
invokestatic org.apache.commons.configuration.XMLConfiguration.clearReferences:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
3: aload 0
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootNode:()Lorg/apache/commons/configuration/tree/ConfigurationNode;
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getName:()Ljava/lang/String;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setRootElementName:(Ljava/lang/String;)V
4: aload 0
ldc Lorg/apache/commons/configuration/XMLConfiguration;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setLogger:(Lorg/apache/commons/logging/Log;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 6 1 c Lorg/apache/commons/configuration/HierarchicalConfiguration;
MethodParameters:
Name Flags
c
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>:(Ljava/lang/String;)V
1: aload 0
new org.apache.commons.configuration.resolver.DefaultEntityResolver
dup
invokespecial org.apache.commons.configuration.resolver.DefaultEntityResolver.<init>:()V
putfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
2: aload 0
ldc Lorg/apache/commons/configuration/XMLConfiguration;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setLogger:(Lorg/apache/commons/logging/Log;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 4 1 fileName Ljava/lang/String;
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
fileName
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>:(Ljava/io/File;)V
1: aload 0
new org.apache.commons.configuration.resolver.DefaultEntityResolver
dup
invokespecial org.apache.commons.configuration.resolver.DefaultEntityResolver.<init>:()V
putfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
2: aload 0
ldc Lorg/apache/commons/configuration/XMLConfiguration;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setLogger:(Lorg/apache/commons/logging/Log;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 4 1 file Ljava/io/File;
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
file
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.<init>:(Ljava/net/URL;)V
1: aload 0
new org.apache.commons.configuration.resolver.DefaultEntityResolver
dup
invokespecial org.apache.commons.configuration.resolver.DefaultEntityResolver.<init>:()V
putfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
2: aload 0
ldc Lorg/apache/commons/configuration/XMLConfiguration;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setLogger:(Lorg/apache/commons/logging/Log;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 4 1 url Ljava/net/URL;
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
url
public java.lang.String getRootElementName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getDocument:()Lorg/w3c/dom/Document;
ifnonnull 4
1: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.rootElementName:Ljava/lang/String;
ifnonnull 2
ldc "configuration"
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.rootElementName:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getDocument:()Lorg/w3c/dom/Document;
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getNodeName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setRootElementName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getDocument:()Lorg/w3c/dom/Document;
ifnull 2
1: new java.lang.UnsupportedOperationException
dup
ldc "The name of the root element cannot be changed when loaded from an XML document!"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.commons.configuration.XMLConfiguration.rootElementName:Ljava/lang/String;
3: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootNode:()Lorg/apache/commons/configuration/tree/ConfigurationNode;
aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.setName:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public javax.xml.parsers.DocumentBuilder getDocumentBuilder();
descriptor: ()Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setDocumentBuilder(javax.xml.parsers.DocumentBuilder);
descriptor: (Ljavax/xml/parsers/DocumentBuilder;)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.commons.configuration.XMLConfiguration.documentBuilder:Ljavax/xml/parsers/DocumentBuilder;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 documentBuilder Ljavax/xml/parsers/DocumentBuilder;
MethodParameters:
Name Flags
documentBuilder
public java.lang.String getPublicID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.publicID:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setPublicID(java.lang.String);
descriptor: (Ljava/lang/String;)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.commons.configuration.XMLConfiguration.publicID:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 publicID Ljava/lang/String;
MethodParameters:
Name Flags
publicID
public java.lang.String getSystemID();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.systemID:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setSystemID(java.lang.String);
descriptor: (Ljava/lang/String;)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.commons.configuration.XMLConfiguration.systemID:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 systemID Ljava/lang/String;
MethodParameters:
Name Flags
systemID
public boolean isValidating();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.validating:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setValidating(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.schemaValidation:Z
ifne 2
1: aload 0
iload 1
putfield org.apache.commons.configuration.XMLConfiguration.validating:Z
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 3 1 validating Z
MethodParameters:
Name Flags
validating
public boolean isSchemaValidation();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.schemaValidation:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setSchemaValidation(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.commons.configuration.XMLConfiguration.schemaValidation:Z
1: iload 1
ifeq 3
2: aload 0
iconst_1
putfield org.apache.commons.configuration.XMLConfiguration.validating:Z
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 4 1 schemaValidation Z
MethodParameters:
Name Flags
schemaValidation
public void setEntityResolver(org.xml.sax.EntityResolver);
descriptor: (Lorg/xml/sax/EntityResolver;)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.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 resolver Lorg/xml/sax/EntityResolver;
MethodParameters:
Name Flags
resolver
public org.xml.sax.EntityResolver getEntityResolver();
descriptor: ()Lorg/xml/sax/EntityResolver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public boolean isAttributeSplittingDisabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.attributeSplittingDisabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void setAttributeSplittingDisabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.commons.configuration.XMLConfiguration.attributeSplittingDisabled:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 attributeSplittingDisabled Z
MethodParameters:
Name Flags
attributeSplittingDisabled
public org.w3c.dom.Document getDocument();
descriptor: ()Lorg/w3c/dom/Document;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.clear:()V
1: aload 0
new org.apache.commons.configuration.HierarchicalConfiguration$Node
dup
invokespecial org.apache.commons.configuration.HierarchicalConfiguration$Node.<init>:()V
invokevirtual org.apache.commons.configuration.XMLConfiguration.setRoot:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)V
2: aload 0
aconst_null
putfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void initProperties(org.w3c.dom.Document, boolean);
descriptor: (Lorg/w3c/dom/Document;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Document.getDoctype:()Lorg/w3c/dom/DocumentType;
ifnull 3
1: aload 0
aload 1
invokeinterface org.w3c.dom.Document.getDoctype:()Lorg/w3c/dom/DocumentType;
invokeinterface org.w3c.dom.DocumentType.getPublicId:()Ljava/lang/String;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setPublicID:(Ljava/lang/String;)V
2: aload 0
aload 1
invokeinterface org.w3c.dom.Document.getDoctype:()Lorg/w3c/dom/DocumentType;
invokeinterface org.w3c.dom.DocumentType.getSystemId:()Ljava/lang/String;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setSystemID:(Ljava/lang/String;)V
3: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRoot:()Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
aload 1
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
iload 2
iconst_1
invokevirtual org.apache.commons.configuration.XMLConfiguration.constructHierarchy:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZZ)Ljava/util/Map;
pop
4: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootNode:()Lorg/apache/commons/configuration/tree/ConfigurationNode;
aload 1
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokeinterface org.w3c.dom.Element.getNodeName:()Ljava/lang/String;
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.setName:(Ljava/lang/String;)V
5: iload 2
ifeq 7
6: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRoot:()Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
aload 1
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.setReference:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 8 1 document Lorg/w3c/dom/Document;
0 8 2 elemRefs Z
MethodParameters:
Name Flags
document
elemRefs
private java.util.Map<java.lang.String, java.util.Collection<java.lang.String>> constructHierarchy(org.apache.commons.configuration.HierarchicalConfiguration$Node, org.w3c.dom.Element, boolean, boolean);
descriptor: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZZ)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
iload 4
invokevirtual org.apache.commons.configuration.XMLConfiguration.shouldTrim:(Lorg/w3c/dom/Element;Z)Z
istore 5
start local 5 1: aload 0
aload 1
aload 2
iload 3
invokevirtual org.apache.commons.configuration.XMLConfiguration.processAttributes:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;Z)Ljava/util/Map;
2: astore 6
start local 6 3: aload 6
ldc "xml:space"
iload 5
invokestatic java.lang.String.valueOf:(Z)Ljava/lang/String;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 5: aload 2
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 8
start local 8 6: iconst_0
istore 9
start local 9 7: goto 29
8: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int int int java.util.Map java.lang.StringBuilder org.w3c.dom.NodeList int
StackMap stack:
aload 8
iload 9
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 10
start local 10 9: aload 10
instanceof org.w3c.dom.Element
ifeq 25
10: aload 10
checkcast org.w3c.dom.Element
astore 11
start local 11 11: new org.apache.commons.configuration.XMLConfiguration$XMLNode
dup
aload 0
aload 11
invokeinterface org.w3c.dom.Element.getTagName:()Ljava/lang/String;
12: iload 3
ifeq 13
aload 11
goto 14
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int int int java.util.Map java.lang.StringBuilder org.w3c.dom.NodeList int org.w3c.dom.Node org.w3c.dom.Element
StackMap stack: new 11 new 11 org.apache.commons.configuration.XMLConfiguration java.lang.String
13: aconst_null
14: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int int int java.util.Map java.lang.StringBuilder org.w3c.dom.NodeList int org.w3c.dom.Node org.w3c.dom.Element
StackMap stack: new 11 new 11 org.apache.commons.configuration.XMLConfiguration java.lang.String org.w3c.dom.Element
invokespecial org.apache.commons.configuration.XMLConfiguration$XMLNode.<init>:(Lorg/apache/commons/configuration/XMLConfiguration;Ljava/lang/String;Lorg/w3c/dom/Element;)V
astore 12
start local 12 15: aload 0
aload 12
aload 11
iload 3
iload 5
invokevirtual org.apache.commons.configuration.XMLConfiguration.constructHierarchy:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZZ)Ljava/util/Map;
16: astore 13
start local 13 17: aload 1
aload 12
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.addChild:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)V
18: aload 13
ldc "xml:space"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
astore 14
start local 14 19: aload 14
invokestatic org.apache.commons.collections.CollectionUtils.isEmpty:(Ljava/util/Collection;)Z
ifeq 21
20: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
goto 22
21: StackMap locals: org.apache.commons.configuration.HierarchicalConfiguration$Node java.util.Map java.util.Collection
StackMap stack:
aload 14
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
22: StackMap locals:
StackMap stack: java.lang.Boolean
astore 15
start local 15 23: aload 0
aload 1
aload 12
aload 15
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 13
invokevirtual org.apache.commons.configuration.XMLConfiguration.handleDelimiters:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;ZLjava/util/Map;)V
end local 15 end local 14 end local 13 end local 12 end local 11 24: goto 28
25: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int int int java.util.Map java.lang.StringBuilder org.w3c.dom.NodeList int org.w3c.dom.Node
StackMap stack:
aload 10
instanceof org.w3c.dom.Text
ifeq 28
26: aload 10
checkcast org.w3c.dom.Text
astore 11
start local 11 27: aload 7
aload 11
invokeinterface org.w3c.dom.Text.getData:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 end local 10 28: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
29: iload 9
aload 8
invokeinterface org.w3c.dom.NodeList.getLength:()I
if_icmplt 8
end local 9 30: aload 1
aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 5
invokestatic org.apache.commons.configuration.XMLConfiguration.determineValue:(Lorg/apache/commons/configuration/tree/ConfigurationNode;Ljava/lang/String;Z)Ljava/lang/String;
astore 9
start local 9 31: aload 9
invokevirtual java.lang.String.length:()I
ifgt 32
aload 1
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.hasChildren:()Z
ifne 33
aload 1
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRoot:()Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
if_acmpeq 33
32: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int int int java.util.Map java.lang.StringBuilder org.w3c.dom.NodeList java.lang.String
StackMap stack:
aload 1
aload 9
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.setValue:(Ljava/lang/Object;)V
33: StackMap locals:
StackMap stack:
aload 6
areturn
end local 9 end local 8 end local 7 end local 6 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 34 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 34 1 node Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
0 34 2 element Lorg/w3c/dom/Element;
0 34 3 elemRefs Z
0 34 4 trim Z
1 34 5 trimFlag Z
3 34 6 attributes Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
5 34 7 buffer Ljava/lang/StringBuilder;
6 34 8 list Lorg/w3c/dom/NodeList;
7 30 9 i I
9 28 10 w3cNode Lorg/w3c/dom/Node;
11 24 11 child Lorg/w3c/dom/Element;
15 24 12 childNode Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
17 24 13 attrmap Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
19 24 14 attrSpace Ljava/util/Collection<Ljava/lang/String;>;
23 24 15 childTrim Ljava/lang/Boolean;
27 28 11 data Lorg/w3c/dom/Text;
31 34 9 text Ljava/lang/String;
Signature: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZZ)Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
node
element
elemRefs
trim
private static java.lang.String determineValue(org.apache.commons.configuration.tree.ConfigurationNode, java.lang.String, boolean);
descriptor: (Lorg/apache/commons/configuration/tree/ConfigurationNode;Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifne 5
1: aload 1
invokestatic org.apache.commons.lang.StringUtils.isBlank:(Ljava/lang/String;)Z
ifeq 4
aload 0
2: invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getChildrenCount:()I
3: ifgt 5
StackMap locals:
StackMap stack:
4: iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: istore 3
start local 3 7: iload 3
ifeq 8
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 9
StackMap locals: int
StackMap stack:
8: aload 1
StackMap locals:
StackMap stack: java.lang.String
9: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 node Lorg/apache/commons/configuration/tree/ConfigurationNode;
0 10 1 content Ljava/lang/String;
0 10 2 trimFlag Z
7 10 3 shouldTrim Z
MethodParameters:
Name Flags
node
content
trimFlag
private java.util.Map<java.lang.String, java.util.Collection<java.lang.String>> processAttributes(org.apache.commons.configuration.HierarchicalConfiguration$Node, org.w3c.dom.Element, boolean);
descriptor: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;Z)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface org.w3c.dom.Element.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 4
start local 4 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 2: iconst_0
istore 6
start local 6 3: goto 17
4: StackMap locals: org.w3c.dom.NamedNodeMap java.util.Map int
StackMap stack:
aload 4
iload 6
invokeinterface org.w3c.dom.NamedNodeMap.item:(I)Lorg/w3c/dom/Node;
astore 7
start local 7 5: aload 7
instanceof org.w3c.dom.Attr
ifeq 16
6: aload 7
checkcast org.w3c.dom.Attr
astore 8
start local 8 7: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isAttributeSplittingDisabled:()Z
ifeq 10
8: aload 8
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
astore 9
start local 9 9: goto 14
end local 9 10: StackMap locals: org.w3c.dom.Node org.w3c.dom.Attr
StackMap stack:
aload 8
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
11: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isDelimiterParsingDisabled:()Z
ifeq 12
bipush 124
goto 13
12: StackMap locals:
StackMap stack: java.lang.String
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getListDelimiter:()C
13: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int org.w3c.dom.NamedNodeMap java.util.Map int org.w3c.dom.Node org.w3c.dom.Attr
StackMap stack: java.lang.String int
invokestatic org.apache.commons.configuration.PropertyConverter.split:(Ljava/lang/String;C)Ljava/util/List;
astore 9
start local 9 14: StackMap locals: java.util.List
StackMap stack:
aload 0
aload 1
aload 2
iload 3
aload 8
invokeinterface org.w3c.dom.Attr.getName:()Ljava/lang/String;
aload 9
invokevirtual org.apache.commons.configuration.XMLConfiguration.appendAttributes:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZLjava/lang/String;Ljava/util/Collection;)V
15: aload 5
aload 8
invokeinterface org.w3c.dom.Attr.getName:()Ljava/lang/String;
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 end local 8 end local 7 16: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 4
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
if_icmplt 4
end local 6 18: aload 5
areturn
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 19 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 19 1 node Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
0 19 2 element Lorg/w3c/dom/Element;
0 19 3 elemRefs Z
1 19 4 attributes Lorg/w3c/dom/NamedNodeMap;
2 19 5 attrmap Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
3 18 6 i I
5 16 7 w3cNode Lorg/w3c/dom/Node;
7 16 8 attr Lorg/w3c/dom/Attr;
9 10 9 values Ljava/util/List<Ljava/lang/String;>;
14 16 9 values Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;Z)Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
MethodParameters:
Name Flags
node
element
elemRefs
private void appendAttributes(org.apache.commons.configuration.HierarchicalConfiguration$Node, org.w3c.dom.Element, boolean, java.lang.String, java.util.Collection<java.lang.String>);
descriptor: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZLjava/lang/String;Ljava/util/Collection;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 2: new org.apache.commons.configuration.XMLConfiguration$XMLNode
dup
aload 0
aload 4
iload 3
ifeq 3
aload 2
goto 4
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int java.lang.String java.util.Collection java.lang.String java.util.Iterator
StackMap stack: new 2 new 2 org.apache.commons.configuration.XMLConfiguration java.lang.String
3: aconst_null
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int java.lang.String java.util.Collection java.lang.String java.util.Iterator
StackMap stack: new 2 new 2 org.apache.commons.configuration.XMLConfiguration java.lang.String org.w3c.dom.Element
4: invokespecial org.apache.commons.configuration.XMLConfiguration$XMLNode.<init>:(Lorg/apache/commons/configuration/XMLConfiguration;Ljava/lang/String;Lorg/w3c/dom/Element;)V
astore 8
start local 8 5: aload 8
aload 6
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.setValue:(Ljava/lang/Object;)V
6: aload 1
aload 8
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.addAttribute:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
end local 8 end local 6 7: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.w3c.dom.Element int java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
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 9 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 9 1 node Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
0 9 2 element Lorg/w3c/dom/Element;
0 9 3 elemRefs Z
0 9 4 attr Ljava/lang/String;
0 9 5 values Ljava/util/Collection<Ljava/lang/String;>;
2 7 6 value Ljava/lang/String;
5 7 8 child Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
Signature: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZLjava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
node
element
elemRefs
attr
values
private void handleDelimiters(org.apache.commons.configuration.HierarchicalConfiguration$Node, org.apache.commons.configuration.HierarchicalConfiguration$Node, boolean, java.util.Map<java.lang.String, java.util.Collection<java.lang.String>>);
descriptor: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;ZLjava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.getValue:()Ljava/lang/Object;
ifnull 34
1: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isDelimiterParsingDisabled:()Z
ifeq 5
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 3: aload 5
aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: goto 8
end local 5 5: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
6: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getListDelimiter:()C
iload 3
7: invokestatic org.apache.commons.configuration.PropertyConverter.split:(Ljava/lang/String;CZ)Ljava/util/List;
astore 5
start local 5 8: StackMap locals: java.util.List
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 32
9: aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
start local 6 10: aload 0
aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.getName:()Ljava/lang/String;
invokevirtual org.apache.commons.configuration.XMLConfiguration.createNode:(Ljava/lang/String;)Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
astore 7
start local 7 11: aload 7
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.setValue:(Ljava/lang/Object;)V
12: aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.getAttributes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 16
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.apache.commons.configuration.HierarchicalConfiguration$Node int java.util.Map java.util.List java.util.Iterator org.apache.commons.configuration.HierarchicalConfiguration$Node top java.util.Iterator
StackMap stack:
13: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 8
start local 8 14: aload 8
aconst_null
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.setReference:(Ljava/lang/Object;)V
15: aload 7
aload 8
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.addAttribute:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
end local 8 16: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
17: aload 1
aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.remove:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)Z
pop
18: aload 1
aload 7
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.addChild:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)V
19: goto 30
20: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.apache.commons.configuration.HierarchicalConfiguration$Node int java.util.Map java.util.List java.util.Iterator org.apache.commons.configuration.HierarchicalConfiguration$Node
StackMap stack:
new org.apache.commons.configuration.XMLConfiguration$XMLNode
dup
aload 0
aload 2
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.getName:()Ljava/lang/String;
aconst_null
invokespecial org.apache.commons.configuration.XMLConfiguration$XMLNode.<init>:(Lorg/apache/commons/configuration/XMLConfiguration;Ljava/lang/String;Lorg/w3c/dom/Element;)V
astore 7
21: aload 7
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.setValue:(Ljava/lang/Object;)V
22: aload 4
23: invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 28
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.apache.commons.configuration.HierarchicalConfiguration$Node int java.util.Map java.util.List java.util.Iterator org.apache.commons.configuration.HierarchicalConfiguration$Node top java.util.Iterator
StackMap stack:
24: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 8
start local 8 25: aload 0
aload 7
aconst_null
iconst_0
aload 8
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
26: aload 8
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Collection
27: invokevirtual org.apache.commons.configuration.XMLConfiguration.appendAttributes:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/w3c/dom/Element;ZLjava/lang/String;Ljava/util/Collection;)V
end local 8 28: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
29: aload 1
aload 7
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.addChild:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)V
30: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.HierarchicalConfiguration$Node org.apache.commons.configuration.HierarchicalConfiguration$Node int java.util.Map java.util.List java.util.Iterator org.apache.commons.configuration.HierarchicalConfiguration$Node
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
end local 7 end local 6 31: goto 34
32: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 34
33: aload 2
aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual org.apache.commons.configuration.HierarchicalConfiguration$Node.setValue:(Ljava/lang/Object;)V
end local 5 34: 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 35 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 35 1 parent Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
0 35 2 child Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
0 35 3 trim Z
0 35 4 attrmap Ljava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
3 5 5 values Ljava/util/List<Ljava/lang/String;>;
8 34 5 values Ljava/util/List<Ljava/lang/String;>;
10 31 6 it Ljava/util/Iterator<Ljava/lang/String;>;
11 31 7 c Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
14 16 8 ndAttr Lorg/apache/commons/configuration/tree/ConfigurationNode;
25 28 8 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;
Signature: (Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;ZLjava/util/Map<Ljava/lang/String;Ljava/util/Collection<Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
parent
child
trim
attrmap
private boolean shouldTrim(org.w3c.dom.Element, boolean);
descriptor: (Lorg/w3c/dom/Element;Z)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "xml:space"
invokeinterface org.w3c.dom.Element.getAttributeNode:(Ljava/lang/String;)Lorg/w3c/dom/Attr;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: iload 2
ireturn
3: StackMap locals: org.w3c.dom.Attr
StackMap stack:
ldc "preserve"
aload 3
invokeinterface org.w3c.dom.Attr.getValue:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
iconst_0
goto 5
StackMap locals:
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 6 1 element Lorg/w3c/dom/Element;
0 6 2 currentTrim Z
1 6 3 attr Lorg/w3c/dom/Attr;
MethodParameters:
Name Flags
element
currentTrim
protected javax.xml.parsers.DocumentBuilder createDocumentBuilder();
descriptor: ()Ljavax/xml/parsers/DocumentBuilder;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
ifnull 2
1: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
areturn
2: StackMap locals:
StackMap stack:
invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
3: astore 1
start local 1 4: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isValidating:()Z
ifeq 9
5: aload 1
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setValidating:(Z)V
6: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isSchemaValidation:()Z
ifeq 9
7: aload 1
iconst_1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setNamespaceAware:(Z)V
8: aload 1
ldc "http://java.sun.com/xml/jaxp/properties/schemaLanguage"
ldc "http://www.w3.org/2001/XMLSchema"
invokevirtual javax.xml.parsers.DocumentBuilderFactory.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
9: StackMap locals: javax.xml.parsers.DocumentBuilderFactory
StackMap stack:
aload 1
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 2
start local 2 10: aload 2
aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
invokevirtual javax.xml.parsers.DocumentBuilder.setEntityResolver:(Lorg/xml/sax/EntityResolver;)V
11: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isValidating:()Z
ifeq 13
12: aload 2
new org.apache.commons.configuration.XMLConfiguration$1
dup
aload 0
invokespecial org.apache.commons.configuration.XMLConfiguration$1.<init>:(Lorg/apache/commons/configuration/XMLConfiguration;)V
invokevirtual javax.xml.parsers.DocumentBuilder.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
13: StackMap locals: javax.xml.parsers.DocumentBuilder
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/commons/configuration/XMLConfiguration;
4 14 1 factory Ljavax/xml/parsers/DocumentBuilderFactory;
10 14 2 result Ljavax/xml/parsers/DocumentBuilder;
Exceptions:
throws javax.xml.parsers.ParserConfigurationException
protected org.w3c.dom.Document createDocument();
descriptor: ()Lorg/w3c/dom/Document;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
ifnonnull 6
1: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 1
start local 1 2: aload 1
invokevirtual javax.xml.parsers.DocumentBuilder.newDocument:()Lorg/w3c/dom/Document;
astore 2
start local 2 3: aload 2
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootElementName:()Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createElement:(Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 3
start local 3 4: aload 2
aload 3
invokeinterface org.w3c.dom.Document.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
5: aload 0
aload 2
putfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
end local 3 end local 2 end local 1 6: StackMap locals:
StackMap stack:
new org.apache.commons.configuration.XMLConfiguration$XMLBuilderVisitor
dup
aload 0
getfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
7: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isDelimiterParsingDisabled:()Z
ifeq 8
iconst_0
goto 9
StackMap locals: org.apache.commons.configuration.XMLConfiguration
StackMap stack: new 6 new 6 org.w3c.dom.Document
8: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getListDelimiter:()C
9: StackMap locals: org.apache.commons.configuration.XMLConfiguration
StackMap stack: new 6 new 6 org.w3c.dom.Document int
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.isAttributeSplittingDisabled:()Z
10: invokespecial org.apache.commons.configuration.XMLConfiguration$XMLBuilderVisitor.<init>:(Lorg/w3c/dom/Document;CZ)V
astore 1
start local 1 11: aload 1
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRoot:()Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
invokevirtual org.apache.commons.configuration.XMLConfiguration$XMLBuilderVisitor.processDocument:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)V
12: aload 0
aload 0
getfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootNode:()Lorg/apache/commons/configuration/tree/ConfigurationNode;
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getValue:()Ljava/lang/Object;
invokevirtual org.apache.commons.configuration.XMLConfiguration.initRootElementText:(Lorg/w3c/dom/Document;Ljava/lang/Object;)V
13: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
14: areturn
end local 1 15: StackMap locals:
StackMap stack: org.w3c.dom.DOMException
astore 1
start local 1 16: new org.apache.commons.configuration.ConfigurationException
dup
aload 1
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 17: StackMap locals:
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 1
start local 1 18: new org.apache.commons.configuration.ConfigurationException
dup
aload 1
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/apache/commons/configuration/XMLConfiguration;
2 6 1 builder Ljavax/xml/parsers/DocumentBuilder;
3 6 2 newDocument Lorg/w3c/dom/Document;
4 6 3 rootElem Lorg/w3c/dom/Element;
11 15 1 builder Lorg/apache/commons/configuration/XMLConfiguration$XMLBuilderVisitor;
16 17 1 domEx Lorg/w3c/dom/DOMException;
18 19 1 pex Ljavax/xml/parsers/ParserConfigurationException;
Exception table:
from to target type
0 14 15 Class org.w3c.dom.DOMException
0 14 17 Class javax.xml.parsers.ParserConfigurationException
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
private void initRootElementText(org.w3c.dom.Document, java.lang.Object);
descriptor: (Lorg/w3c/dom/Document;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 3
start local 3 1: aload 3
invokeinterface org.w3c.dom.Element.getChildNodes:()Lorg/w3c/dom/NodeList;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 8
4: StackMap locals: org.w3c.dom.Element org.w3c.dom.NodeList int
StackMap stack:
aload 4
iload 5
invokeinterface org.w3c.dom.NodeList.item:(I)Lorg/w3c/dom/Node;
astore 6
start local 6 5: aload 6
invokeinterface org.w3c.dom.Node.getNodeType:()S
iconst_3
if_icmpne 7
6: aload 3
aload 6
invokeinterface org.w3c.dom.Element.removeChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 6 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
aload 4
invokeinterface org.w3c.dom.NodeList.getLength:()I
if_icmplt 4
end local 5 9: aload 2
ifnull 11
10: aload 3
aload 1
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokeinterface org.w3c.dom.Document.createTextNode:(Ljava/lang/String;)Lorg/w3c/dom/Text;
invokeinterface org.w3c.dom.Element.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
11: 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 12 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 12 1 doc Lorg/w3c/dom/Document;
0 12 2 value Ljava/lang/Object;
1 12 3 elem Lorg/w3c/dom/Element;
2 12 4 children Lorg/w3c/dom/NodeList;
3 9 5 i I
5 7 6 nd Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
doc
value
protected org.apache.commons.configuration.HierarchicalConfiguration$Node createNode(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.apache.commons.configuration.XMLConfiguration$XMLNode
dup
aload 0
aload 1
aconst_null
invokespecial org.apache.commons.configuration.XMLConfiguration$XMLNode.<init>:(Lorg/apache/commons/configuration/XMLConfiguration;Ljava/lang/String;Lorg/w3c/dom/Element;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void load(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.xml.sax.InputSource
dup
aload 1
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/InputStream;)V
invokevirtual org.apache.commons.configuration.XMLConfiguration.load:(Lorg/xml/sax/InputSource;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 in Ljava/io/InputStream;
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
in
public void load(java.io.Reader);
descriptor: (Ljava/io/Reader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.xml.sax.InputSource
dup
aload 1
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/Reader;)V
invokevirtual org.apache.commons.configuration.XMLConfiguration.load:(Lorg/xml/sax/InputSource;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 2 1 in Ljava/io/Reader;
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
in
private void load(org.xml.sax.InputSource);
descriptor: (Lorg/xml/sax/InputSource;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getDelegate:()Lorg/apache/commons/configuration/AbstractHierarchicalFileConfiguration$FileConfigurationDelegate;
invokevirtual org.apache.commons.configuration.AbstractHierarchicalFileConfiguration$FileConfigurationDelegate.getURL:()Ljava/net/URL;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 1
aload 2
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual org.xml.sax.InputSource.setSystemId:(Ljava/lang/String;)V
3: StackMap locals: java.net.URL
StackMap stack:
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.createDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 3
start local 3 4: aload 3
aload 1
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
astore 4
start local 4 5: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
astore 5
start local 5 6: aload 0
aconst_null
putfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
7: aload 0
aload 4
aload 5
ifnonnull 8
iconst_1
goto 9
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.xml.sax.InputSource java.net.URL javax.xml.parsers.DocumentBuilder org.w3c.dom.Document org.w3c.dom.Document
StackMap stack: org.apache.commons.configuration.XMLConfiguration org.w3c.dom.Document
8: iconst_0
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.xml.sax.InputSource java.net.URL javax.xml.parsers.DocumentBuilder org.w3c.dom.Document org.w3c.dom.Document
StackMap stack: org.apache.commons.configuration.XMLConfiguration org.w3c.dom.Document int
9: invokevirtual org.apache.commons.configuration.XMLConfiguration.initProperties:(Lorg/w3c/dom/Document;Z)V
10: aload 0
aload 5
ifnonnull 11
aload 4
goto 12
StackMap locals:
StackMap stack: org.apache.commons.configuration.XMLConfiguration
11: aload 5
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.xml.sax.InputSource java.net.URL javax.xml.parsers.DocumentBuilder org.w3c.dom.Document org.w3c.dom.Document
StackMap stack: org.apache.commons.configuration.XMLConfiguration org.w3c.dom.Document
12: putfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
end local 5 end local 4 end local 3 end local 2 13: goto 19
14: StackMap locals: org.apache.commons.configuration.XMLConfiguration org.xml.sax.InputSource
StackMap stack: org.xml.sax.SAXParseException
astore 2
start local 2 15: new org.apache.commons.configuration.ConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "Error parsing "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual org.xml.sax.InputSource.getSystemId:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 16: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 17: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getLogger:()Lorg/apache/commons/logging/Log;
ldc "Unable to load the configuraton"
aload 2
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;Ljava/lang/Throwable;)V
18: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Unable to load the configuration"
aload 2
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 19: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 20 1 source Lorg/xml/sax/InputSource;
1 13 2 sourceURL Ljava/net/URL;
4 13 3 builder Ljavax/xml/parsers/DocumentBuilder;
5 13 4 newDocument Lorg/w3c/dom/Document;
6 13 5 oldDocument Lorg/w3c/dom/Document;
15 16 2 spe Lorg/xml/sax/SAXParseException;
17 19 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 13 14 Class org.xml.sax.SAXParseException
0 13 16 Class java.lang.Exception
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
source
public void save(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.createTransformer:()Ljavax/xml/transform/Transformer;
astore 2
start local 2 1: new javax.xml.transform.dom.DOMSource
dup
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.createDocument:()Lorg/w3c/dom/Document;
invokespecial javax.xml.transform.dom.DOMSource.<init>:(Lorg/w3c/dom/Node;)V
astore 3
start local 3 2: new javax.xml.transform.stream.StreamResult
dup
aload 1
invokespecial javax.xml.transform.stream.StreamResult.<init>:(Ljava/io/Writer;)V
astore 4
start local 4 3: aload 2
aload 3
aload 4
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
end local 4 end local 3 end local 2 4: goto 9
5: StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
astore 2
start local 2 6: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Unable to save the configuration"
aload 2
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 7: StackMap locals:
StackMap stack: javax.xml.transform.TransformerFactoryConfigurationError
astore 2
start local 2 8: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Unable to save the configuration"
aload 2
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 10 1 writer Ljava/io/Writer;
1 4 2 transformer Ljavax/xml/transform/Transformer;
2 4 3 source Ljavax/xml/transform/Source;
3 4 4 result Ljavax/xml/transform/Result;
6 7 2 e Ljavax/xml/transform/TransformerException;
8 9 2 e Ljavax/xml/transform/TransformerFactoryConfigurationError;
Exception table:
from to target type
0 4 5 Class javax.xml.transform.TransformerException
0 4 7 Class javax.xml.transform.TransformerFactoryConfigurationError
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
MethodParameters:
Name Flags
writer
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.createTransformer:()Ljavax/xml/transform/Transformer;
astore 1
start local 1 1: new javax.xml.transform.dom.DOMSource
dup
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.createDocument:()Lorg/w3c/dom/Document;
invokespecial javax.xml.transform.dom.DOMSource.<init>:(Lorg/w3c/dom/Node;)V
astore 2
start local 2 2: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 3
start local 3 3: new javax.xml.transform.stream.StreamResult
dup
aload 3
invokespecial javax.xml.transform.stream.StreamResult.<init>:(Ljava/io/Writer;)V
astore 4
start local 4 4: aload 1
aload 2
aload 4
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
5: new java.io.StringReader
dup
aload 3
invokevirtual java.io.StringWriter.getBuffer:()Ljava/lang/StringBuffer;
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
astore 5
start local 5 6: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.createDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
astore 6
start local 6 7: aload 6
new org.xml.sax.InputSource
dup
aload 5
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/Reader;)V
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
pop
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 8: goto 17
9: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 1
start local 1 10: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Validation failed"
aload 1
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 11: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 12: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Validation failed"
aload 1
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 13: StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
astore 1
start local 1 14: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Validation failed"
aload 1
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 15: StackMap locals:
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 1
start local 1 16: new org.apache.commons.configuration.ConfigurationException
dup
ldc "Validation failed"
aload 1
invokespecial org.apache.commons.configuration.ConfigurationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/commons/configuration/XMLConfiguration;
1 8 1 transformer Ljavax/xml/transform/Transformer;
2 8 2 source Ljavax/xml/transform/Source;
3 8 3 writer Ljava/io/StringWriter;
4 8 4 result Ljavax/xml/transform/Result;
6 8 5 reader Ljava/io/Reader;
7 8 6 builder Ljavax/xml/parsers/DocumentBuilder;
10 11 1 e Lorg/xml/sax/SAXException;
12 13 1 e Ljava/io/IOException;
14 15 1 e Ljavax/xml/transform/TransformerException;
16 17 1 pce Ljavax/xml/parsers/ParserConfigurationException;
Exception table:
from to target type
0 8 9 Class org.xml.sax.SAXException
0 8 11 Class java.io.IOException
0 8 13 Class javax.xml.transform.TransformerException
0 8 15 Class javax.xml.parsers.ParserConfigurationException
Exceptions:
throws org.apache.commons.configuration.ConfigurationException
protected javax.xml.transform.Transformer createTransformer();
descriptor: ()Ljavax/xml/transform/Transformer;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic javax.xml.transform.TransformerFactory.newInstance:()Ljavax/xml/transform/TransformerFactory;
1: invokevirtual javax.xml.transform.TransformerFactory.newTransformer:()Ljavax/xml/transform/Transformer;
2: astore 1
start local 1 3: aload 1
ldc "indent"
ldc "yes"
invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getEncoding:()Ljava/lang/String;
ifnull 6
5: aload 1
ldc "encoding"
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getEncoding:()Ljava/lang/String;
invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
6: StackMap locals: javax.xml.transform.Transformer
StackMap stack:
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getPublicID:()Ljava/lang/String;
ifnull 10
7: aload 1
ldc "doctype-public"
8: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getPublicID:()Ljava/lang/String;
9: invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getSystemID:()Ljava/lang/String;
ifnull 14
11: aload 1
ldc "doctype-system"
12: aload 0
invokevirtual org.apache.commons.configuration.XMLConfiguration.getSystemID:()Ljava/lang/String;
13: invokevirtual javax.xml.transform.Transformer.setOutputProperty:(Ljava/lang/String;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/commons/configuration/XMLConfiguration;
3 15 1 transformer Ljavax/xml/transform/Transformer;
Exceptions:
throws javax.xml.transform.TransformerException
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.clone:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.XMLConfiguration
astore 1
start local 1 1: aload 1
aconst_null
putfield org.apache.commons.configuration.XMLConfiguration.document:Lorg/w3c/dom/Document;
2: aload 1
aload 1
invokevirtual org.apache.commons.configuration.XMLConfiguration.createDelegate:()Lorg/apache/commons/configuration/AbstractHierarchicalFileConfiguration$FileConfigurationDelegate;
invokevirtual org.apache.commons.configuration.XMLConfiguration.setDelegate:(Lorg/apache/commons/configuration/AbstractHierarchicalFileConfiguration$FileConfigurationDelegate;)V
3: aload 1
invokevirtual org.apache.commons.configuration.XMLConfiguration.getRootNode:()Lorg/apache/commons/configuration/tree/ConfigurationNode;
invokestatic org.apache.commons.configuration.XMLConfiguration.clearReferences:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/configuration/XMLConfiguration;
1 5 1 copy Lorg/apache/commons/configuration/XMLConfiguration;
protected org.apache.commons.configuration.AbstractHierarchicalFileConfiguration$FileConfigurationDelegate createDelegate();
descriptor: ()Lorg/apache/commons/configuration/AbstractHierarchicalFileConfiguration$FileConfigurationDelegate;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate
dup
aload 0
invokespecial org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate.<init>:(Lorg/apache/commons/configuration/XMLConfiguration;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/configuration/XMLConfiguration;
public void addNodes(java.lang.String, java.util.Collection<? extends org.apache.commons.configuration.tree.ConfigurationNode>);
descriptor: (Ljava/lang/String;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 8
aload 2
invokeinterface java.util.Collection.isEmpty:()Z
ifne 8
1: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 2: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: org.apache.commons.configuration.XMLConfiguration java.lang.String java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 4
start local 4 4: aload 3
aload 0
aload 4
invokevirtual org.apache.commons.configuration.XMLConfiguration.convertToXMLNode:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)Lorg/apache/commons/configuration/XMLConfiguration$XMLNode;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
aload 1
aload 3
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.addNodes:(Ljava/lang/String;Ljava/util/Collection;)V
end local 3 7: goto 9
8: StackMap locals: org.apache.commons.configuration.XMLConfiguration java.lang.String java.util.Collection
StackMap stack:
aload 0
aload 1
aload 2
invokespecial org.apache.commons.configuration.AbstractHierarchicalFileConfiguration.addNodes:(Ljava/lang/String;Ljava/util/Collection;)V
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 10 1 key Ljava/lang/String;
0 10 2 nodes Ljava/util/Collection<+Lorg/apache/commons/configuration/tree/ConfigurationNode;>;
2 7 3 xmlNodes Ljava/util/Collection<Lorg/apache/commons/configuration/XMLConfiguration$XMLNode;>;
4 5 4 node Lorg/apache/commons/configuration/tree/ConfigurationNode;
Signature: (Ljava/lang/String;Ljava/util/Collection<+Lorg/apache/commons/configuration/tree/ConfigurationNode;>;)V
MethodParameters:
Name Flags
key
nodes
private org.apache.commons.configuration.XMLConfiguration$XMLNode convertToXMLNode(org.apache.commons.configuration.tree.ConfigurationNode);
descriptor: (Lorg/apache/commons/configuration/tree/ConfigurationNode;)Lorg/apache/commons/configuration/XMLConfiguration$XMLNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.commons.configuration.XMLConfiguration$XMLNode
ifeq 2
1: aload 1
checkcast org.apache.commons.configuration.XMLConfiguration$XMLNode
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getName:()Ljava/lang/String;
invokevirtual org.apache.commons.configuration.XMLConfiguration.createNode:(Ljava/lang/String;)Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;
checkcast org.apache.commons.configuration.XMLConfiguration$XMLNode
astore 2
start local 2 3: aload 2
aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getValue:()Ljava/lang/Object;
invokevirtual org.apache.commons.configuration.XMLConfiguration$XMLNode.setValue:(Ljava/lang/Object;)V
4: aload 2
aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.isAttribute:()Z
invokevirtual org.apache.commons.configuration.XMLConfiguration$XMLNode.setAttribute:(Z)V
5: aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.commons.configuration.XMLConfiguration org.apache.commons.configuration.tree.ConfigurationNode org.apache.commons.configuration.XMLConfiguration$XMLNode top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 3
start local 3 7: aload 2
aload 0
aload 3
invokevirtual org.apache.commons.configuration.XMLConfiguration.convertToXMLNode:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)Lorg/apache/commons/configuration/XMLConfiguration$XMLNode;
invokevirtual org.apache.commons.configuration.XMLConfiguration$XMLNode.addChild:(Lorg/apache/commons/configuration/HierarchicalConfiguration$Node;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 1
invokeinterface org.apache.commons.configuration.tree.ConfigurationNode.getAttributes:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals:
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.configuration.tree.ConfigurationNode
astore 3
start local 3 11: aload 2
aload 0
aload 3
invokevirtual org.apache.commons.configuration.XMLConfiguration.convertToXMLNode:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)Lorg/apache/commons/configuration/XMLConfiguration$XMLNode;
invokevirtual org.apache.commons.configuration.XMLConfiguration$XMLNode.addAttribute:(Lorg/apache/commons/configuration/tree/ConfigurationNode;)V
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 14 1 node Lorg/apache/commons/configuration/tree/ConfigurationNode;
3 14 2 nd Lorg/apache/commons/configuration/XMLConfiguration$XMLNode;
7 8 3 child Lorg/apache/commons/configuration/tree/ConfigurationNode;
11 12 3 attr Lorg/apache/commons/configuration/tree/ConfigurationNode;
MethodParameters:
Name Flags
node
public void registerEntityId(java.lang.String, java.net.URL);
descriptor: (Ljava/lang/String;Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
instanceof org.apache.commons.configuration.resolver.EntityRegistry
ifeq 2
1: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
checkcast org.apache.commons.configuration.resolver.EntityRegistry
aload 1
aload 2
invokeinterface org.apache.commons.configuration.resolver.EntityRegistry.registerEntityId:(Ljava/lang/String;Ljava/net/URL;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 3 1 publicId Ljava/lang/String;
0 3 2 entityURL Ljava/net/URL;
MethodParameters:
Name Flags
publicId
entityURL
public org.xml.sax.InputSource resolveEntity(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
aload 1
aload 2
invokeinterface org.xml.sax.EntityResolver.resolveEntity:(Ljava/lang/String;Ljava/lang/String;)Lorg/xml/sax/InputSource;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 3: new org.xml.sax.SAXException
dup
aload 3
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/configuration/XMLConfiguration;
0 4 1 publicId Ljava/lang/String;
0 4 2 systemId Ljava/lang/String;
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.xml.sax.SAXException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
publicId
systemId
public java.util.Map<java.lang.String, java.net.URL> getRegisteredEntities();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
instanceof org.apache.commons.configuration.resolver.EntityRegistry
ifeq 2
1: aload 0
getfield org.apache.commons.configuration.XMLConfiguration.entityResolver:Lorg/xml/sax/EntityResolver;
checkcast org.apache.commons.configuration.resolver.EntityRegistry
invokeinterface org.apache.commons.configuration.resolver.EntityRegistry.getRegisteredEntities:()Ljava/util/Map;
areturn
2: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/configuration/XMLConfiguration;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/net/URL;>;
}
SourceFile: "XMLConfiguration.java"
NestMembers:
org.apache.commons.configuration.XMLConfiguration$1 org.apache.commons.configuration.XMLConfiguration$XMLBuilderVisitor org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate org.apache.commons.configuration.XMLConfiguration$XMLNode
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
protected FileConfigurationDelegate = org.apache.commons.configuration.AbstractHierarchicalFileConfiguration$FileConfigurationDelegate of org.apache.commons.configuration.AbstractHierarchicalFileConfiguration
public Node = org.apache.commons.configuration.HierarchicalConfiguration$Node of org.apache.commons.configuration.HierarchicalConfiguration
org.apache.commons.configuration.XMLConfiguration$1
XMLBuilderVisitor = org.apache.commons.configuration.XMLConfiguration$XMLBuilderVisitor of org.apache.commons.configuration.XMLConfiguration
private XMLFileConfigurationDelegate = org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate of org.apache.commons.configuration.XMLConfiguration
XMLNode = org.apache.commons.configuration.XMLConfiguration$XMLNode of org.apache.commons.configuration.XMLConfiguration