public final class com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper implements com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper
super_class: java.lang.Object
{
private com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager fComponentManager;
descriptor: Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
flags: (0x0002) ACC_PRIVATE
private javax.xml.transform.Transformer identityTransformer1;
descriptor: Ljavax/xml/transform/Transformer;
flags: (0x0002) ACC_PRIVATE
private javax.xml.transform.sax.TransformerHandler identityTransformer2;
descriptor: Ljavax/xml/transform/sax/TransformerHandler;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl handler;
descriptor: Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager);
descriptor: (Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper this
start local 1 // com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager componentManager
0: .line 64
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 59
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer1:Ljavax/xml/transform/Transformer;
2: .line 60
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer2:Ljavax/xml/transform/sax/TransformerHandler;
3: .line 61
aload 0 /* this */
aconst_null
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.handler:Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
4: .line 65
aload 0 /* this */
aload 1 /* componentManager */
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.fComponentManager:Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
5: .line 66
return
end local 1 // com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager componentManager
end local 0 // com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xerces/internal/jaxp/validation/StAXValidatorHelper;
0 6 1 componentManager Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
MethodParameters:
Name Flags
componentManager
public void validate(javax.xml.transform.Source, javax.xml.transform.Result);
descriptor: (Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=3
start local 0 // com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper this
start local 1 // javax.xml.transform.Source source
start local 2 // javax.xml.transform.Result result
0: .line 71
aload 2 /* result */
ifnull 1
aload 2 /* result */
instanceof javax.xml.transform.stax.StAXResult
ifeq 37
1: .line 73
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer1:Ljavax/xml/transform/Transformer;
ifnonnull 22
2: .line 76
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.fComponentManager:Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
ldc "jdk.xml.overrideDefaultParser"
invokevirtual com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager.getFeature:(Ljava/lang/String;)Z
3: .line 75
invokestatic jdk.xml.internal.JdkXmlUtils.getSAXTransformFactory:(Z)Ljavax/xml/transform/sax/SAXTransformerFactory;
astore 3 /* tf */
start local 3 // javax.xml.transform.sax.SAXTransformerFactory tf
4: .line 79
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.fComponentManager:Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
ldc "http://apache.org/xml/properties/security-manager"
invokevirtual com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
checkcast com.sun.org.apache.xerces.internal.utils.XMLSecurityManager
5: .line 78
astore 4 /* securityManager */
start local 4 // com.sun.org.apache.xerces.internal.utils.XMLSecurityManager securityManager
6: .line 80
aload 4 /* securityManager */
ifnull 17
7: .line 81
invokestatic com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit.values:()[Lcom/sun/org/apache/xerces/internal/utils/XMLSecurityManager$Limit;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 14
StackMap locals: com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper javax.xml.transform.Source javax.xml.transform.Result javax.xml.transform.sax.SAXTransformerFactory com.sun.org.apache.xerces.internal.utils.XMLSecurityManager top int int com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit[]
StackMap stack:
8: aload 8
iload 6
aaload
astore 5 /* limit */
start local 5 // com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit limit
9: .line 82
aload 4 /* securityManager */
aload 5 /* limit */
invokevirtual com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit.ordinal:()I
invokevirtual com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.isSet:(I)Z
ifeq 13
10: .line 83
aload 3 /* tf */
aload 5 /* limit */
invokevirtual com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit.apiProperty:()Ljava/lang/String;
11: .line 84
aload 4 /* securityManager */
aload 5 /* limit */
invokevirtual com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.getLimitValueAsString:(Lcom/sun/org/apache/xerces/internal/utils/XMLSecurityManager$Limit;)Ljava/lang/String;
12: .line 83
invokevirtual javax.xml.transform.sax.SAXTransformerFactory.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
end local 5 // com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit limit
13: .line 81
StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 7
if_icmplt 8
15: .line 87
aload 4 /* securityManager */
invokevirtual com.sun.org.apache.xerces.internal.utils.XMLSecurityManager.printEntityCountInfo:()Z
ifeq 17
16: .line 88
aload 3 /* tf */
ldc "http://www.oracle.com/xml/jaxp/properties/getEntityCountInfo"
ldc "yes"
invokevirtual javax.xml.transform.sax.SAXTransformerFactory.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
17: .line 92
StackMap locals: com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper javax.xml.transform.Source javax.xml.transform.Result javax.xml.transform.sax.SAXTransformerFactory com.sun.org.apache.xerces.internal.utils.XMLSecurityManager
StackMap stack:
aload 0 /* this */
aload 3 /* tf */
invokevirtual javax.xml.transform.sax.SAXTransformerFactory.newTransformer:()Ljavax/xml/transform/Transformer;
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer1:Ljavax/xml/transform/Transformer;
18: .line 93
aload 0 /* this */
aload 3 /* tf */
invokevirtual javax.xml.transform.sax.SAXTransformerFactory.newTransformerHandler:()Ljavax/xml/transform/sax/TransformerHandler;
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer2:Ljavax/xml/transform/sax/TransformerHandler;
end local 4 // com.sun.org.apache.xerces.internal.utils.XMLSecurityManager securityManager
end local 3 // javax.xml.transform.sax.SAXTransformerFactory tf
19: .line 94
goto 22
StackMap locals: com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper javax.xml.transform.Source javax.xml.transform.Result
StackMap stack: javax.xml.transform.TransformerConfigurationException
20: astore 3 /* e */
start local 3 // javax.xml.transform.TransformerConfigurationException e
21: .line 96
new javax.xml.transform.TransformerFactoryConfigurationError
dup
aload 3 /* e */
invokespecial javax.xml.transform.TransformerFactoryConfigurationError.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 // javax.xml.transform.TransformerConfigurationException e
22: .line 100
StackMap locals:
StackMap stack:
aload 0 /* this */
new com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl
dup
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.fComponentManager:Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
invokespecial com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.<init>:(Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;)V
putfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.handler:Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
23: .line 101
aload 2 /* result */
ifnull 26
24: .line 102
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.handler:Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer2:Ljavax/xml/transform/sax/TransformerHandler;
invokevirtual com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
25: .line 103
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer2:Ljavax/xml/transform/sax/TransformerHandler;
aload 2 /* result */
invokeinterface javax.xml.transform.sax.TransformerHandler.setResult:(Ljavax/xml/transform/Result;)V
26: .line 107
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.identityTransformer1:Ljavax/xml/transform/Transformer;
aload 1 /* source */
new javax.xml.transform.sax.SAXResult
dup
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.handler:Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
invokespecial javax.xml.transform.sax.SAXResult.<init>:(Lorg/xml/sax/ContentHandler;)V
invokevirtual javax.xml.transform.Transformer.transform:(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V
27: .line 108
goto 35
StackMap locals:
StackMap stack: javax.xml.transform.TransformerException
28: astore 3 /* e */
start local 3 // javax.xml.transform.TransformerException e
29: .line 109
aload 3 /* e */
invokevirtual javax.xml.transform.TransformerException.getException:()Ljava/lang/Throwable;
instanceof org.xml.sax.SAXException
ifeq 31
30: .line 110
aload 3 /* e */
invokevirtual javax.xml.transform.TransformerException.getException:()Ljava/lang/Throwable;
checkcast org.xml.sax.SAXException
athrow
31: .line 111
StackMap locals: javax.xml.transform.TransformerException
StackMap stack:
new org.xml.sax.SAXException
dup
aload 3 /* e */
invokespecial org.xml.sax.SAXException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 // javax.xml.transform.TransformerException e
32: .line 112
StackMap locals: com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper javax.xml.transform.Source javax.xml.transform.Result
StackMap stack: java.lang.Throwable
astore 4
33: .line 113
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.handler:Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
aconst_null
invokevirtual com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
34: .line 114
aload 4
athrow
35: .line 113
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.handler:Lcom/sun/org/apache/xerces/internal/jaxp/validation/ValidatorHandlerImpl;
aconst_null
invokevirtual com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.setContentHandler:(Lorg/xml/sax/ContentHandler;)V
36: .line 115
return
37: .line 117
StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper.fComponentManager:Lcom/sun/org/apache/xerces/internal/jaxp/validation/XMLSchemaValidatorComponentManager;
invokevirtual com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaValidatorComponentManager.getLocale:()Ljava/util/Locale;
38: .line 118
ldc "SourceResultMismatch"
39: .line 119
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1 /* source */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2 /* result */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
40: .line 117
invokestatic com.sun.org.apache.xerces.internal.jaxp.validation.JAXPValidationMessageFormatter.formatMessage:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 // javax.xml.transform.Result result
end local 1 // javax.xml.transform.Source source
end local 0 // com.sun.org.apache.xerces.internal.jaxp.validation.StAXValidatorHelper this
LocalVariableTable:
Start End Slot Name Signature
0 41 0 this Lcom/sun/org/apache/xerces/internal/jaxp/validation/StAXValidatorHelper;
0 41 1 source Ljavax/xml/transform/Source;
0 41 2 result Ljavax/xml/transform/Result;
4 19 3 tf Ljavax/xml/transform/sax/SAXTransformerFactory;
6 19 4 securityManager Lcom/sun/org/apache/xerces/internal/utils/XMLSecurityManager;
9 13 5 limit Lcom/sun/org/apache/xerces/internal/utils/XMLSecurityManager$Limit;
21 22 3 e Ljavax/xml/transform/TransformerConfigurationException;
29 32 3 e Ljavax/xml/transform/TransformerException;
Exception table:
from to target type
2 19 20 Class javax.xml.transform.TransformerConfigurationException
26 27 28 Class javax.xml.transform.TransformerException
26 32 32 any
Exceptions:
throws org.xml.sax.SAXException, java.io.IOException
MethodParameters:
Name Flags
source
result
}
SourceFile: "StAXValidatorHelper.java"
InnerClasses:
public final Limit = com.sun.org.apache.xerces.internal.utils.XMLSecurityManager$Limit of com.sun.org.apache.xerces.internal.utils.XMLSecurityManager