public class com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker extends org.xml.sax.helpers.XMLFilterImpl
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker
super_class: org.xml.sax.helpers.XMLFilterImpl
{
private final java.util.Stack<javax.xml.namespace.QName> elementNames;
descriptor: Ljava/util/Stack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Stack<Ljavax/xml/namespace/QName;>;
private final org.xml.sax.ErrorHandler errorHandler;
descriptor: Lorg/xml/sax/ErrorHandler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.xml.sax.Locator locator;
descriptor: Lorg/xml/sax/Locator;
flags: (0x0002) ACC_PRIVATE
private static final java.util.Set<java.lang.String> prohibitedSchemaElementNames;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
1: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
ldc "restriction"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
ldc "extension"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
ldc "simpleContent"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
ldc "complexContent"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
ldc "list"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
ldc "union"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.xml.sax.ErrorHandler);
descriptor: (Lorg/xml/sax/ErrorHandler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.xml.sax.helpers.XMLFilterImpl.<init>:()V
1: aload 0
new java.util.Stack
dup
invokespecial java.util.Stack.<init>:()V
putfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
2: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.errorHandler:Lorg/xml/sax/ErrorHandler;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker;
0 4 1 _errorHandler Lorg/xml/sax/ErrorHandler;
MethodParameters:
Name Flags
_errorHandler
private javax.xml.namespace.QName top();
descriptor: ()Ljavax/xml/namespace/QName;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
invokevirtual java.util.Stack.peek:()Ljava/lang/Object;
checkcast javax.xml.namespace.QName
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker;
public void startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new javax.xml.namespace.QName
dup
aload 1
aload 2
invokespecial javax.xml.namespace.QName.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 1: aload 5
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
ldc "http://java.sun.com/xml/ns/jaxb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
2: aload 0
invokevirtual com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.top:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
ldc "http://www.w3.org/2001/XMLSchema"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
3: aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
iconst_3
if_icmplt 12
4: aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
invokevirtual java.util.Stack.size:()I
iconst_3
isub
invokevirtual java.util.Stack.get:(I)Ljava/lang/Object;
checkcast javax.xml.namespace.QName
astore 6
start local 6 5: getstatic com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.prohibitedSchemaElementNames:Ljava/util/Set;
aload 6
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 12
6: aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.errorHandler:Lorg/xml/sax/ErrorHandler;
new org.xml.sax.SAXParseException
dup
7: ldc "CustomizationContextChecker.UnacknolwedgedCustomization"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: aload 2
aastore
9: invokestatic com.sun.tools.internal.xjc.reader.xmlschema.parser.Messages.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.locator:Lorg/xml/sax/Locator;
invokespecial org.xml.sax.SAXParseException.<init>:(Ljava/lang/String;Lorg/xml/sax/Locator;)V
11: invokeinterface org.xml.sax.ErrorHandler.error:(Lorg/xml/sax/SAXParseException;)V
end local 6 12: StackMap locals: javax.xml.namespace.QName
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
aload 5
invokevirtual java.util.Stack.push:(Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.xml.sax.helpers.XMLFilterImpl.startElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
14: 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 15 0 this Lcom/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker;
0 15 1 namespaceURI Ljava/lang/String;
0 15 2 localName Ljava/lang/String;
0 15 3 qName Ljava/lang/String;
0 15 4 atts Lorg/xml/sax/Attributes;
1 15 5 newElement Ljavax/xml/namespace/QName;
5 12 6 schemaElement Ljavax/xml/namespace/QName;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
qName
atts
public void endElement(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.xml.sax.helpers.XMLFilterImpl.endElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
getfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.elementNames:Ljava/util/Stack;
invokevirtual java.util.Stack.pop:()Ljava/lang/Object;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker;
0 3 1 namespaceURI Ljava/lang/String;
0 3 2 localName Ljava/lang/String;
0 3 3 qName Ljava/lang/String;
Exceptions:
throws org.xml.sax.SAXException
MethodParameters:
Name Flags
namespaceURI
localName
qName
public void setDocumentLocator(org.xml.sax.Locator);
descriptor: (Lorg/xml/sax/Locator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.xml.sax.helpers.XMLFilterImpl.setDocumentLocator:(Lorg/xml/sax/Locator;)V
1: aload 0
aload 1
putfield com.sun.tools.internal.xjc.reader.xmlschema.parser.CustomizationContextChecker.locator:Lorg/xml/sax/Locator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/tools/internal/xjc/reader/xmlschema/parser/CustomizationContextChecker;
0 3 1 locator Lorg/xml/sax/Locator;
MethodParameters:
Name Flags
locator
}
SourceFile: "CustomizationContextChecker.java"