public final class com.ctc.wstx.dtd.DTDEnumAttr extends com.ctc.wstx.dtd.DTDAttribute
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.ctc.wstx.dtd.DTDEnumAttr
super_class: com.ctc.wstx.dtd.DTDAttribute
{
final com.ctc.wstx.util.WordResolver ;
descriptor: Lcom/ctc/wstx/util/WordResolver;
flags: (0x0010) ACC_FINAL
public void <init>(com.ctc.wstx.util.PrefixedName, com.ctc.wstx.dtd.DefaultAttrValue, int, boolean, boolean, com.ctc.wstx.util.WordResolver);
descriptor: (Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DefaultAttrValue;IZZLcom/ctc/wstx/util/WordResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
iload 3
iload 4
iload 5
invokespecial com.ctc.wstx.dtd.DTDAttribute.<init>:(Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DefaultAttrValue;IZZ)V
1: aload 0
aload 6
putfield com.ctc.wstx.dtd.DTDEnumAttr.mEnumValues:Lcom/ctc/wstx/util/WordResolver;
2: return
end local 6 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 3 0 this Lcom/ctc/wstx/dtd/DTDEnumAttr;
0 3 1 name Lcom/ctc/wstx/util/PrefixedName;
0 3 2 defValue Lcom/ctc/wstx/dtd/DefaultAttrValue;
0 3 3 specIndex I
0 3 4 nsAware Z
0 3 5 xml11 Z
0 3 6 enumValues Lcom/ctc/wstx/util/WordResolver;
MethodParameters:
Name Flags
name
defValue
specIndex
nsAware
xml11
enumValues
public com.ctc.wstx.dtd.DTDAttribute cloneWith(int);
descriptor: (I)Lcom/ctc/wstx/dtd/DTDAttribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: new com.ctc.wstx.dtd.DTDEnumAttr
dup
aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mName:Lcom/ctc/wstx/util/PrefixedName;
aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mDefValue:Lcom/ctc/wstx/dtd/DefaultAttrValue;
iload 1
aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mCfgNsAware:Z
1: aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mCfgXml11:Z
aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mEnumValues:Lcom/ctc/wstx/util/WordResolver;
2: invokespecial com.ctc.wstx.dtd.DTDEnumAttr.<init>:(Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DefaultAttrValue;IZZLcom/ctc/wstx/util/WordResolver;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/ctc/wstx/dtd/DTDEnumAttr;
0 3 1 specIndex I
MethodParameters:
Name Flags
specIndex
public int getValueType();
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/dtd/DTDEnumAttr;
public java.lang.String validate(com.ctc.wstx.dtd.DTDValidatorBase, char[], int, int, boolean);
descriptor: (Lcom/ctc/wstx/dtd/DTDValidatorBase;[CIIZ)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 2
iload 3
iload 4
iload 5
aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mEnumValues:Lcom/ctc/wstx/util/WordResolver;
invokevirtual com.ctc.wstx.dtd.DTDEnumAttr.validateEnumValue:([CIIZLcom/ctc/wstx/util/WordResolver;)Ljava/lang/String;
astore 6
start local 6 1: aload 6
ifnonnull 6
2: new java.lang.String
dup
aload 2
iload 3
iload 4
iload 3
isub
invokespecial java.lang.String.<init>:([CII)V
astore 7
start local 7 3: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "Invalid enumerated value '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "': has to be one of ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mEnumValues:Lcom/ctc/wstx/util/WordResolver;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual com.ctc.wstx.dtd.DTDEnumAttr.reportValidationProblem:(Lcom/ctc/wstx/dtd/DTDValidatorBase;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 7 6: StackMap locals: java.lang.String
StackMap stack:
aload 6
areturn
end local 6 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 7 0 this Lcom/ctc/wstx/dtd/DTDEnumAttr;
0 7 1 v Lcom/ctc/wstx/dtd/DTDValidatorBase;
0 7 2 cbuf [C
0 7 3 start I
0 7 4 end I
0 7 5 normalize Z
1 7 6 ok Ljava/lang/String;
3 6 7 val Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
v
cbuf
start
end
normalize
public void validateDefault(com.ctc.wstx.sr.InputProblemReporter, boolean);
descriptor: (Lcom/ctc/wstx/sr/InputProblemReporter;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokevirtual com.ctc.wstx.dtd.DTDEnumAttr.validateDefaultNmToken:(Lcom/ctc/wstx/sr/InputProblemReporter;Z)Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mEnumValues:Lcom/ctc/wstx/util/WordResolver;
aload 3
invokevirtual com.ctc.wstx.util.WordResolver.find:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 4
ifnonnull 7
3: aload 0
aload 1
new java.lang.StringBuilder
dup
ldc "Invalid default value '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "': has to be one of ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mEnumValues:Lcom/ctc/wstx/util/WordResolver;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual com.ctc.wstx.dtd.DTDEnumAttr.reportValidationProblem:(Lcom/ctc/wstx/sr/InputProblemReporter;Ljava/lang/String;)Ljava/lang/String;
pop
6: return
7: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iload 2
ifeq 9
8: aload 0
getfield com.ctc.wstx.dtd.DTDEnumAttr.mDefValue:Lcom/ctc/wstx/dtd/DefaultAttrValue;
aload 4
invokevirtual com.ctc.wstx.dtd.DefaultAttrValue.setValue:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/ctc/wstx/dtd/DTDEnumAttr;
0 10 1 rep Lcom/ctc/wstx/sr/InputProblemReporter;
0 10 2 normalize Z
1 10 3 def Ljava/lang/String;
2 10 4 shared Ljava/lang/String;
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
rep
normalize
}
SourceFile: "DTDEnumAttr.java"