abstract class com.ctc.wstx.evt.BaseStartElement extends org.codehaus.stax2.ri.evt.BaseEventImpl implements javax.xml.stream.events.StartElement
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.ctc.wstx.evt.BaseStartElement
super_class: org.codehaus.stax2.ri.evt.BaseEventImpl
{
protected final javax.xml.namespace.QName mName;
descriptor: Ljavax/xml/namespace/QName;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final com.ctc.wstx.util.BaseNsContext mNsCtxt;
descriptor: Lcom/ctc/wstx/util/BaseNsContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected void <init>(javax.xml.stream.Location, javax.xml.namespace.QName, com.ctc.wstx.util.BaseNsContext);
descriptor: (Ljavax/xml/stream/Location;Ljavax/xml/namespace/QName;Lcom/ctc/wstx/util/BaseNsContext;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial org.codehaus.stax2.ri.evt.BaseEventImpl.<init>:(Ljavax/xml/stream/Location;)V
1: aload 0
aload 2
putfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
2: aload 0
aload 3
putfield com.ctc.wstx.evt.BaseStartElement.mNsCtxt:Lcom/ctc/wstx/util/BaseNsContext;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/evt/BaseStartElement;
0 4 1 loc Ljavax/xml/stream/Location;
0 4 2 name Ljavax/xml/namespace/QName;
0 4 3 nsCtxt Lcom/ctc/wstx/util/BaseNsContext;
MethodParameters:
Name Flags
loc
name
nsCtxt
public abstract javax.xml.stream.events.Attribute getAttributeByName(javax.xml.namespace.QName);
descriptor: (Ljavax/xml/namespace/QName;)Ljavax/xml/stream/events/Attribute;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
name
public abstract java.util.Iterator<javax.xml.stream.events.Attribute> getAttributes();
descriptor: ()Ljava/util/Iterator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Iterator<Ljavax/xml/stream/events/Attribute;>;
public final javax.xml.namespace.QName getName();
descriptor: ()Ljavax/xml/namespace/QName;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/BaseStartElement;
public java.util.Iterator<javax.xml.stream.events.Namespace> getNamespaces();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mNsCtxt:Lcom/ctc/wstx/util/BaseNsContext;
ifnonnull 2
1: invokestatic com.ctc.wstx.util.DataUtil.emptyIterator:()Ljava/util/Iterator;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mNsCtxt:Lcom/ctc/wstx/util/BaseNsContext;
invokevirtual com.ctc.wstx.util.BaseNsContext.getNamespaces:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/evt/BaseStartElement;
Signature: ()Ljava/util/Iterator<Ljavax/xml/stream/events/Namespace;>;
public javax.xml.namespace.NamespaceContext getNamespaceContext();
descriptor: ()Ljavax/xml/namespace/NamespaceContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mNsCtxt:Lcom/ctc/wstx/util/BaseNsContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/BaseStartElement;
public java.lang.String getNamespaceURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mNsCtxt:Lcom/ctc/wstx/util/BaseNsContext;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mNsCtxt:Lcom/ctc/wstx/util/BaseNsContext;
aload 1
invokevirtual com.ctc.wstx.util.BaseNsContext.getNamespaceURI:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/evt/BaseStartElement;
0 3 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public javax.xml.stream.events.StartElement asStartElement();
descriptor: ()Ljavax/xml/stream/events/StartElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/BaseStartElement;
public int getEventType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/BaseStartElement;
public boolean isStartElement();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/evt/BaseStartElement;
public void writeAsEncodedUnicode(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
bipush 60
invokevirtual java.io.Writer.write:(I)V
1: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 5
aload 2
invokevirtual java.lang.String.length:()I
ifle 5
3: aload 1
aload 2
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
4: aload 1
bipush 58
invokevirtual java.io.Writer.write:(I)V
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
invokevirtual java.io.Writer.write:(Ljava/lang/String;)V
6: aload 0
aload 1
invokevirtual com.ctc.wstx.evt.BaseStartElement.outputNsAndAttr:(Ljava/io/Writer;)V
7: aload 1
bipush 62
invokevirtual java.io.Writer.write:(I)V
end local 2 8: goto 11
StackMap locals: com.ctc.wstx.evt.BaseStartElement java.io.Writer
StackMap stack: java.io.IOException
9: astore 2
start local 2 10: new com.ctc.wstx.exc.WstxIOException
dup
aload 2
invokespecial com.ctc.wstx.exc.WstxIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/ctc/wstx/evt/BaseStartElement;
0 12 1 w Ljava/io/Writer;
2 8 2 prefix Ljava/lang/String;
10 11 2 ie Ljava/io/IOException;
Exception table:
from to target type
0 8 9 Class java.io.IOException
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
public void writeUsing(org.codehaus.stax2.XMLStreamWriter2);
descriptor: (Lorg/codehaus/stax2/XMLStreamWriter2;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
astore 2
start local 2 1: aload 1
aload 2
invokevirtual javax.xml.namespace.QName.getPrefix:()Ljava/lang/String;
aload 2
invokevirtual javax.xml.namespace.QName.getLocalPart:()Ljava/lang/String;
2: aload 2
invokevirtual javax.xml.namespace.QName.getNamespaceURI:()Ljava/lang/String;
3: invokeinterface org.codehaus.stax2.XMLStreamWriter2.writeStartElement:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
aload 1
invokevirtual com.ctc.wstx.evt.BaseStartElement.outputNsAndAttr:(Ljavax/xml/stream/XMLStreamWriter;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/ctc/wstx/evt/BaseStartElement;
0 6 1 w Lorg/codehaus/stax2/XMLStreamWriter2;
1 6 2 n Ljavax/xml/namespace/QName;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
protected abstract void outputNsAndAttr(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
w
protected abstract void outputNsAndAttr(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.xml.stream.events.StartElement
ifne 3
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast javax.xml.stream.events.StartElement
astore 2
start local 2 4: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
aload 2
invokeinterface javax.xml.stream.events.StartElement.getName:()Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
invokevirtual com.ctc.wstx.evt.BaseStartElement.getNamespaces:()Ljava/util/Iterator;
aload 2
invokeinterface javax.xml.stream.events.StartElement.getNamespaces:()Ljava/util/Iterator;
invokestatic com.ctc.wstx.evt.BaseStartElement.iteratedEquals:(Ljava/util/Iterator;Ljava/util/Iterator;)Z
ifeq 7
6: aload 0
invokevirtual com.ctc.wstx.evt.BaseStartElement.getAttributes:()Ljava/util/Iterator;
aload 2
invokeinterface javax.xml.stream.events.StartElement.getAttributes:()Ljava/util/Iterator;
invokestatic com.ctc.wstx.evt.BaseStartElement.iteratedEquals:(Ljava/util/Iterator;Ljava/util/Iterator;)Z
ireturn
7: StackMap locals: javax.xml.stream.events.StartElement
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/ctc/wstx/evt/BaseStartElement;
0 8 1 o Ljava/lang/Object;
4 8 2 other Ljavax/xml/stream/events/StartElement;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.ctc.wstx.evt.BaseStartElement.mName:Ljavax/xml/namespace/QName;
invokevirtual javax.xml.namespace.QName.hashCode:()I
istore 1
start local 1 1: aload 0
invokevirtual com.ctc.wstx.evt.BaseStartElement.getNamespaces:()Ljava/util/Iterator;
iload 1
invokestatic com.ctc.wstx.evt.BaseStartElement.addHash:(Ljava/util/Iterator;I)I
istore 1
2: aload 0
invokevirtual com.ctc.wstx.evt.BaseStartElement.getAttributes:()Ljava/util/Iterator;
iload 1
invokestatic com.ctc.wstx.evt.BaseStartElement.addHash:(Ljava/util/Iterator;I)I
istore 1
3: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/ctc/wstx/evt/BaseStartElement;
1 4 1 hash I
}
SourceFile: "BaseStartElement.java"