public abstract class com.ctc.wstx.util.BaseNsContext implements javax.xml.namespace.NamespaceContext
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.ctc.wstx.util.BaseNsContext
super_class: java.lang.Object
{
protected static final java.lang.String UNDECLARED_NS_URI;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: ""
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/util/BaseNsContext;
public final java.lang.String getNamespaceURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
getstatic com.ctc.wstx.cfg.ErrorConsts.ERR_NULL_ARG:Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
ifle 7
3: aload 1
ldc "xml"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: ldc "http://www.w3.org/XML/1998/namespace"
areturn
5: StackMap locals:
StackMap stack:
aload 1
ldc "xmlns"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: ldc "http://www.w3.org/2000/xmlns/"
areturn
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.util.BaseNsContext.doGetNamespaceURI:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/ctc/wstx/util/BaseNsContext;
0 8 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
public final java.lang.String getPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Illegal to pass null/empty prefix as argument."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "http://www.w3.org/XML/1998/namespace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: ldc "xml"
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "http://www.w3.org/2000/xmlns/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc "xmlns"
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.util.BaseNsContext.doGetPrefix:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/util/BaseNsContext;
0 7 1 nsURI Ljava/lang/String;
MethodParameters:
Name Flags
nsURI
public final java.util.Iterator<java.lang.String> getPrefixes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Illegal to pass null/empty prefix as argument."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "http://www.w3.org/XML/1998/namespace"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: ldc "xml"
invokestatic com.ctc.wstx.util.DataUtil.singletonIterator:(Ljava/lang/Object;)Ljava/util/Iterator;
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "http://www.w3.org/2000/xmlns/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: ldc "xmlns"
invokestatic com.ctc.wstx.util.DataUtil.singletonIterator:(Ljava/lang/Object;)Ljava/util/Iterator;
areturn
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.ctc.wstx.util.BaseNsContext.doGetPrefixes:(Ljava/lang/String;)Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/ctc/wstx/util/BaseNsContext;
0 7 1 nsURI Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljava/lang/String;>;
MethodParameters:
Name Flags
nsURI
public abstract java.util.Iterator<javax.xml.stream.events.Namespace> getNamespaces();
descriptor: ()Ljava/util/Iterator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Iterator<Ljavax/xml/stream/events/Namespace;>;
public abstract void outputNamespaceDeclarations(java.io.Writer);
descriptor: (Ljava/io/Writer;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
w
public abstract void outputNamespaceDeclarations(javax.xml.stream.XMLStreamWriter);
descriptor: (Ljavax/xml/stream/XMLStreamWriter;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
w
public abstract java.lang.String doGetNamespaceURI(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
prefix
public abstract java.lang.String doGetPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
nsURI
public abstract java.util.Iterator<java.lang.String> doGetPrefixes(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Iterator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (Ljava/lang/String;)Ljava/util/Iterator<Ljava/lang/String;>;
MethodParameters:
Name Flags
nsURI
}
SourceFile: "BaseNsContext.java"