public final class com.ctc.wstx.dtd.DTDNmTokensAttr 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.DTDNmTokensAttr
super_class: com.ctc.wstx.dtd.DTDAttribute
{
public void <init>(com.ctc.wstx.util.PrefixedName, com.ctc.wstx.dtd.DefaultAttrValue, int, boolean, boolean);
descriptor: (Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DefaultAttrValue;IZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, 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 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: 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 2 0 this Lcom/ctc/wstx/dtd/DTDNmTokensAttr;
0 2 1 name Lcom/ctc/wstx/util/PrefixedName;
0 2 2 defValue Lcom/ctc/wstx/dtd/DefaultAttrValue;
0 2 3 specIndex I
0 2 4 nsAware Z
0 2 5 xml11 Z
MethodParameters:
Name Flags
name
defValue
specIndex
nsAware
xml11
public com.ctc.wstx.dtd.DTDAttribute cloneWith(int);
descriptor: (I)Lcom/ctc/wstx/dtd/DTDAttribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new com.ctc.wstx.dtd.DTDNmTokensAttr
dup
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mName:Lcom/ctc/wstx/util/PrefixedName;
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mDefValue:Lcom/ctc/wstx/dtd/DefaultAttrValue;
iload 1
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgNsAware:Z
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgXml11:Z
invokespecial com.ctc.wstx.dtd.DTDNmTokensAttr.<init>:(Lcom/ctc/wstx/util/PrefixedName;Lcom/ctc/wstx/dtd/DefaultAttrValue;IZZ)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dtd/DTDNmTokensAttr;
0 1 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: bipush 9
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/ctc/wstx/dtd/DTDNmTokensAttr;
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=5, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: goto 2
1: StackMap locals:
StackMap stack:
iinc 3 1
2: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmpge 3
aload 2
iload 3
caload
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifne 1
3: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmplt 5
4: aload 0
aload 1
ldc "Empty NMTOKENS value"
invokevirtual com.ctc.wstx.dtd.DTDNmTokensAttr.reportValidationProblem:(Lcom/ctc/wstx/dtd/DTDValidatorBase;Ljava/lang/String;)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
iload 5
ifne 14
6: goto 12
7: StackMap locals:
StackMap stack:
aload 2
iload 3
caload
istore 6
start local 6 8: iload 6
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifne 11
9: iload 6
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgNsAware:Z
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgXml11:Z
invokestatic com.ctc.wstx.io.WstxInputData.isNameChar:(CZZ)Z
ifne 11
10: aload 0
aload 1
iload 6
ldc "not valid as NMTOKENS character"
invokevirtual com.ctc.wstx.dtd.DTDNmTokensAttr.reportInvalidChar:(Lcom/ctc/wstx/dtd/DTDValidatorBase;CLjava/lang/String;)Ljava/lang/String;
areturn
end local 6 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 4
if_icmplt 7
13: aconst_null
areturn
14: StackMap locals:
StackMap stack:
iinc 4 -1
15: goto 17
16: StackMap locals:
StackMap stack:
iinc 4 -1
17: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmple 18
aload 2
iload 4
caload
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifne 16
18: StackMap locals:
StackMap stack:
aconst_null
astore 6
start local 6 19: goto 38
20: StackMap locals: java.lang.StringBuilder
StackMap stack:
iload 3
istore 7
start local 7 21: goto 28
22: StackMap locals: int
StackMap stack:
aload 2
iload 7
caload
istore 8
start local 8 23: iload 8
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifeq 25
24: goto 29
25: StackMap locals: int
StackMap stack:
iload 8
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgNsAware:Z
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgXml11:Z
invokestatic com.ctc.wstx.io.WstxInputData.isNameChar:(CZZ)Z
ifne 27
26: aload 0
aload 1
iload 8
ldc "not valid as an NMTOKENS character"
invokevirtual com.ctc.wstx.dtd.DTDNmTokensAttr.reportInvalidChar:(Lcom/ctc/wstx/dtd/DTDValidatorBase;CLjava/lang/String;)Ljava/lang/String;
areturn
end local 8 27: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
28: iload 7
iload 4
if_icmple 22
29: StackMap locals:
StackMap stack:
aload 6
ifnonnull 32
30: new java.lang.StringBuilder
dup
iload 4
iload 3
isub
iconst_1
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 6
31: goto 33
32: StackMap locals:
StackMap stack:
aload 6
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
aload 6
aload 2
iload 3
iload 7
iload 3
isub
invokevirtual java.lang.StringBuilder.append:([CII)Ljava/lang/StringBuilder;
pop
34: iload 7
iconst_1
iadd
istore 3
35: goto 37
36: StackMap locals:
StackMap stack:
iinc 3 1
37: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmpgt 38
aload 2
iload 3
caload
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifne 36
end local 7 38: StackMap locals:
StackMap stack:
iload 3
iload 4
if_icmple 20
39: aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 40 0 this Lcom/ctc/wstx/dtd/DTDNmTokensAttr;
0 40 1 v Lcom/ctc/wstx/dtd/DTDValidatorBase;
0 40 2 cbuf [C
0 40 3 start I
0 40 4 end I
0 40 5 normalize Z
8 11 6 c C
19 40 6 sb Ljava/lang/StringBuilder;
21 38 7 i I
23 27 8 c C
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=12, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mDefValue:Lcom/ctc/wstx/dtd/DefaultAttrValue;
invokevirtual com.ctc.wstx.dtd.DefaultAttrValue.getValue:()Ljava/lang/String;
astore 3
start local 3 1: aload 3
invokevirtual java.lang.String.length:()I
istore 4
start local 4 2: aconst_null
astore 5
start local 5 3: iconst_0
istore 6
start local 6 4: iconst_0
istore 7
start local 7 5: goto 34
6: StackMap locals: com.ctc.wstx.dtd.DTDNmTokensAttr com.ctc.wstx.sr.InputProblemReporter int java.lang.String int java.lang.StringBuilder int int
StackMap stack:
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
istore 8
start local 8 7: StackMap locals: int
StackMap stack:
iload 8
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifne 9
8: goto 13
9: StackMap locals:
StackMap stack:
iinc 7 1
iload 7
iload 4
if_icmplt 11
10: goto 35
11: StackMap locals:
StackMap stack:
aload 3
iload 7
invokevirtual java.lang.String.charAt:(I)C
istore 8
12: goto 7
13: StackMap locals:
StackMap stack:
iload 7
iconst_1
iadd
istore 9
start local 9 14: StackMap locals: int
StackMap stack:
iinc 9 1
iload 9
iload 4
if_icmplt 16
15: goto 18
16: StackMap locals:
StackMap stack:
aload 3
iload 9
invokevirtual java.lang.String.charAt:(I)C
istore 8
17: iload 8
invokestatic com.ctc.wstx.io.WstxInputData.isSpaceChar:(C)Z
ifeq 14
18: StackMap locals:
StackMap stack:
iinc 6 1
19: aload 3
iload 7
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 20: aload 10
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgNsAware:Z
aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mCfgXml11:Z
invokestatic com.ctc.wstx.io.WstxInputData.findIllegalNmtokenChar:(Ljava/lang/String;ZZ)I
istore 11
start local 11 21: iload 11
iflt 27
22: 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;
23: ldc "'; character #"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 11
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: aload 3
iload 11
invokevirtual java.lang.String.charAt:(I)C
invokestatic com.ctc.wstx.io.WstxInputData.getCharDesc:(C)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: ldc ") not a valid NMTOKENS character"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokevirtual com.ctc.wstx.dtd.DTDNmTokensAttr.reportValidationProblem:(Lcom/ctc/wstx/sr/InputProblemReporter;Ljava/lang/String;)Ljava/lang/String;
pop
27: StackMap locals: java.lang.String int
StackMap stack:
iload 2
ifeq 33
28: aload 5
ifnonnull 31
29: new java.lang.StringBuilder
dup
iload 9
iload 7
isub
bipush 32
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 5
30: goto 32
31: StackMap locals:
StackMap stack:
aload 5
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: StackMap locals:
StackMap stack:
aload 5
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
iload 9
iconst_1
iadd
istore 7
end local 11 end local 10 end local 9 end local 8 34: StackMap locals: com.ctc.wstx.dtd.DTDNmTokensAttr com.ctc.wstx.sr.InputProblemReporter int java.lang.String int java.lang.StringBuilder int int
StackMap stack:
iload 7
iload 4
if_icmplt 6
35: StackMap locals:
StackMap stack:
iload 6
ifne 40
36: 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;
37: ldc "'; empty String is not a valid NMTOKENS value"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
38: invokevirtual com.ctc.wstx.dtd.DTDNmTokensAttr.reportValidationProblem:(Lcom/ctc/wstx/sr/InputProblemReporter;Ljava/lang/String;)Ljava/lang/String;
pop
39: return
40: StackMap locals:
StackMap stack:
iload 2
ifeq 42
41: aload 0
getfield com.ctc.wstx.dtd.DTDNmTokensAttr.mDefValue:Lcom/ctc/wstx/dtd/DefaultAttrValue;
aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.ctc.wstx.dtd.DefaultAttrValue.setValue:(Ljava/lang/String;)V
42: StackMap locals:
StackMap stack:
return
end local 7 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 43 0 this Lcom/ctc/wstx/dtd/DTDNmTokensAttr;
0 43 1 rep Lcom/ctc/wstx/sr/InputProblemReporter;
0 43 2 normalize Z
1 43 3 defValue Ljava/lang/String;
2 43 4 len I
3 43 5 sb Ljava/lang/StringBuilder;
4 43 6 count I
5 43 7 start I
7 34 8 c C
14 34 9 i I
20 34 10 token Ljava/lang/String;
21 34 11 illegalIx I
Exceptions:
throws javax.xml.stream.XMLStreamException
MethodParameters:
Name Flags
rep
normalize
}
SourceFile: "DTDNmTokensAttr.java"