class com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser extends com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractIDConstraintTraverser
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser
super_class: com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractIDConstraintTraverser
{
public void <init>(com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler, com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker);
descriptor: (Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser this
start local 1 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler handler
start local 2 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker gAttrCheck
0: .line 44
aload 0 /* this */
aload 1 /* handler */
aload 2 /* gAttrCheck */
invokespecial com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDAbstractIDConstraintTraverser.<init>:(Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;)V
1: .line 45
return
end local 2 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker gAttrCheck
end local 1 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler handler
end local 0 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDKeyrefTraverser;
0 2 1 handler Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;
0 2 2 gAttrCheck Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;
MethodParameters:
Name Flags
handler
gAttrCheck
void traverse(org.w3c.dom.Element, com.sun.org.apache.xerces.internal.impl.xs.XSElementDecl, com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDocumentInfo, com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar);
descriptor: (Lorg/w3c/dom/Element;Lcom/sun/org/apache/xerces/internal/impl/xs/XSElementDecl;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;Lcom/sun/org/apache/xerces/internal/impl/xs/SchemaGrammar;)V
flags: (0x0000)
Code:
stack=6, locals=13, args_size=5
start local 0 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser this
start local 1 // org.w3c.dom.Element krElem
start local 2 // com.sun.org.apache.xerces.internal.impl.xs.XSElementDecl element
start local 3 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDocumentInfo schemaDoc
start local 4 // com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar grammar
0: .line 51
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fAttrChecker:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;
aload 1 /* krElem */
iconst_0
aload 3 /* schemaDoc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.checkAttributes:(Lorg/w3c/dom/Element;ZLcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;)[Ljava/lang/Object;
astore 5 /* attrValues */
start local 5 // java.lang.Object[] attrValues
1: .line 54
aload 5 /* attrValues */
getstatic com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.ATTIDX_NAME:I
aaload
checkcast java.lang.String
astore 6 /* krName */
start local 6 // java.lang.String krName
2: .line 55
aload 6 /* krName */
ifnonnull 6
3: .line 56
aload 0 /* this */
ldc "s4s-att-must-appear"
iconst_2
anewarray java.lang.Object
dup
iconst_0
getstatic com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols.ELT_KEYREF:Ljava/lang/String;
aastore
dup
iconst_1
getstatic com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols.ATT_NAME:Ljava/lang/String;
aastore
aload 1 /* krElem */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.reportSchemaError:(Ljava/lang/String;[Ljava/lang/Object;Lorg/w3c/dom/Element;)V
4: .line 58
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fAttrChecker:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;
aload 5 /* attrValues */
aload 3 /* schemaDoc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.returnAttrArray:([Ljava/lang/Object;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;)V
5: .line 59
return
6: .line 61
StackMap locals: java.lang.Object[] java.lang.String
StackMap stack:
aload 5 /* attrValues */
getstatic com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.ATTIDX_REFER:I
aaload
checkcast com.sun.org.apache.xerces.internal.xni.QName
astore 7 /* kName */
start local 7 // com.sun.org.apache.xerces.internal.xni.QName kName
7: .line 62
aload 7 /* kName */
ifnonnull 11
8: .line 63
aload 0 /* this */
ldc "s4s-att-must-appear"
iconst_2
anewarray java.lang.Object
dup
iconst_0
getstatic com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols.ELT_KEYREF:Ljava/lang/String;
aastore
dup
iconst_1
getstatic com.sun.org.apache.xerces.internal.impl.xs.SchemaSymbols.ATT_REFER:Ljava/lang/String;
aastore
aload 1 /* krElem */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.reportSchemaError:(Ljava/lang/String;[Ljava/lang/Object;Lorg/w3c/dom/Element;)V
9: .line 65
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fAttrChecker:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;
aload 5 /* attrValues */
aload 3 /* schemaDoc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.returnAttrArray:([Ljava/lang/Object;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;)V
10: .line 66
return
11: .line 69
StackMap locals: com.sun.org.apache.xerces.internal.xni.QName
StackMap stack:
aconst_null
astore 8 /* key */
start local 8 // com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey key
12: .line 70
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fSchemaHandler:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;
aload 3 /* schemaDoc */
iconst_5
aload 7 /* kName */
aload 1 /* krElem */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getGlobalDecl:(Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;ILcom/sun/org/apache/xerces/internal/xni/QName;Lorg/w3c/dom/Element;)Ljava/lang/Object;
checkcast com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint
astore 9 /* ret */
start local 9 // com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint ret
13: .line 73
aload 9 /* ret */
ifnull 19
14: .line 74
aload 9 /* ret */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint.getCategory:()S
iconst_1
if_icmpeq 16
15: .line 75
aload 9 /* ret */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint.getCategory:()S
iconst_3
if_icmpne 18
16: .line 76
StackMap locals: com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint
StackMap stack:
aload 9 /* ret */
checkcast com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey
astore 8 /* key */
17: .line 77
goto 19
18: .line 78
StackMap locals:
StackMap stack:
aload 0 /* this */
ldc "src-resolve"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 7 /* kName */
getfield com.sun.org.apache.xerces.internal.xni.QName.rawname:Ljava/lang/String;
aastore
dup
iconst_1
ldc "identity constraint key/unique"
aastore
aload 1 /* krElem */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.reportSchemaError:(Ljava/lang/String;[Ljava/lang/Object;Lorg/w3c/dom/Element;)V
19: .line 82
StackMap locals:
StackMap stack:
aload 8 /* key */
ifnonnull 22
20: .line 83
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fAttrChecker:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;
aload 5 /* attrValues */
aload 3 /* schemaDoc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.returnAttrArray:([Ljava/lang/Object;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;)V
21: .line 84
return
22: .line 87
StackMap locals:
StackMap stack:
new com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef
dup
aload 3 /* schemaDoc */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDocumentInfo.fTargetNamespace:Ljava/lang/String;
aload 6 /* krName */
aload 2 /* element */
getfield com.sun.org.apache.xerces.internal.impl.xs.XSElementDecl.fName:Ljava/lang/String;
aload 8 /* key */
invokespecial com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/sun/org/apache/xerces/internal/impl/xs/identity/UniqueOrKey;)V
astore 10 /* keyRef */
start local 10 // com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef keyRef
23: .line 91
aload 0 /* this */
aload 10 /* keyRef */
aload 1 /* krElem */
aload 3 /* schemaDoc */
aload 5 /* attrValues */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.traverseIdentityConstraint:(Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;Lorg/w3c/dom/Element;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;[Ljava/lang/Object;)Z
ifeq 38
24: .line 94
aload 8 /* key */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey.getFieldCount:()I
aload 10 /* keyRef */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef.getFieldCount:()I
if_icmpeq 27
25: .line 95
aload 0 /* this */
ldc "c-props-correct.2"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6 /* krName */
aastore
dup
iconst_1
aload 8 /* key */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey.getIdentityConstraintName:()Ljava/lang/String;
aastore
aload 1 /* krElem */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.reportSchemaError:(Ljava/lang/String;[Ljava/lang/Object;Lorg/w3c/dom/Element;)V
26: .line 96
goto 38
27: .line 99
StackMap locals: com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef
StackMap stack:
aload 4 /* grammar */
aload 10 /* keyRef */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef.getIdentityConstraintName:()Ljava/lang/String;
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar.getIDConstraintDecl:(Ljava/lang/String;)Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;
ifnonnull 29
28: .line 100
aload 4 /* grammar */
aload 2 /* element */
aload 10 /* keyRef */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar.addIDConstraintDecl:(Lcom/sun/org/apache/xerces/internal/impl/xs/XSElementDecl;Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;)V
29: .line 104
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fSchemaHandler:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;
aload 3 /* schemaDoc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.schemaDocument2SystemId:(Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;)Ljava/lang/String;
astore 11 /* loc */
start local 11 // java.lang.String loc
30: .line 105
aload 4 /* grammar */
aload 10 /* keyRef */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef.getIdentityConstraintName:()Ljava/lang/String;
aload 11 /* loc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar.getIDConstraintDecl:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;
astore 12 /* idc */
start local 12 // com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint idc
31: .line 106
aload 12 /* idc */
ifnonnull 33
32: .line 107
aload 4 /* grammar */
aload 2 /* element */
aload 10 /* keyRef */
aload 11 /* loc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar.addIDConstraintDecl:(Lcom/sun/org/apache/xerces/internal/impl/xs/XSElementDecl;Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;Ljava/lang/String;)V
33: .line 111
StackMap locals: java.lang.String com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fSchemaHandler:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.fTolerateDuplicates:Z
ifeq 38
34: .line 112
aload 12 /* idc */
ifnull 37
35: .line 113
aload 12 /* idc */
instanceof com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef
ifeq 37
36: .line 114
aload 12 /* idc */
checkcast com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef
astore 10 /* keyRef */
37: .line 117
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fSchemaHandler:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDHandler;
aload 10 /* keyRef */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.addIDConstraintDecl:(Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;)V
end local 12 // com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint idc
end local 11 // java.lang.String loc
38: .line 123
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser.fAttrChecker:Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSAttributeChecker;
aload 5 /* attrValues */
aload 3 /* schemaDoc */
invokevirtual com.sun.org.apache.xerces.internal.impl.xs.traversers.XSAttributeChecker.returnAttrArray:([Ljava/lang/Object;Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;)V
39: .line 124
return
end local 10 // com.sun.org.apache.xerces.internal.impl.xs.identity.KeyRef keyRef
end local 9 // com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraint ret
end local 8 // com.sun.org.apache.xerces.internal.impl.xs.identity.UniqueOrKey key
end local 7 // com.sun.org.apache.xerces.internal.xni.QName kName
end local 6 // java.lang.String krName
end local 5 // java.lang.Object[] attrValues
end local 4 // com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar grammar
end local 3 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDocumentInfo schemaDoc
end local 2 // com.sun.org.apache.xerces.internal.impl.xs.XSElementDecl element
end local 1 // org.w3c.dom.Element krElem
end local 0 // com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDKeyrefTraverser this
LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDKeyrefTraverser;
0 40 1 krElem Lorg/w3c/dom/Element;
0 40 2 element Lcom/sun/org/apache/xerces/internal/impl/xs/XSElementDecl;
0 40 3 schemaDoc Lcom/sun/org/apache/xerces/internal/impl/xs/traversers/XSDocumentInfo;
0 40 4 grammar Lcom/sun/org/apache/xerces/internal/impl/xs/SchemaGrammar;
1 40 5 attrValues [Ljava/lang/Object;
2 40 6 krName Ljava/lang/String;
7 40 7 kName Lcom/sun/org/apache/xerces/internal/xni/QName;
12 40 8 key Lcom/sun/org/apache/xerces/internal/impl/xs/identity/UniqueOrKey;
13 40 9 ret Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;
23 40 10 keyRef Lcom/sun/org/apache/xerces/internal/impl/xs/identity/KeyRef;
30 38 11 loc Ljava/lang/String;
31 38 12 idc Lcom/sun/org/apache/xerces/internal/impl/xs/identity/IdentityConstraint;
MethodParameters:
Name Flags
krElem
element
schemaDoc
grammar
}
SourceFile: "XSDKeyrefTraverser.java"