IteratorOptions.java
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.internal.xmp.options;
import com.adobe.internal.xmp.options.Options;
public final class IteratorOptions
extends Options {
public static final int JUST_CHILDREN = 256;
public static final int JUST_LEAFNODES = 512;
public static final int JUST_LEAFNAME = 1024;
public static final int OMIT_QUALIFIERS = 4096;
public boolean isJustChildren() {
return this.getOption(256);
}
public boolean isJustLeafname() {
return this.getOption(1024);
}
public boolean isJustLeafnodes() {
return this.getOption(512);
}
public boolean isOmitQualifiers() {
return this.getOption(4096);
}
public IteratorOptions setJustChildren(boolean value) {
this.setOption(256, value);
return this;
}
public IteratorOptions setJustLeafname(boolean value) {
this.setOption(1024, value);
return this;
}
public IteratorOptions setJustLeafnodes(boolean value) {
this.setOption(512, value);
return this;
}
public IteratorOptions setOmitQualifiers(boolean value) {
this.setOption(4096, value);
return this;
}
protected String defineOptionName(int option) {
switch (option) {
case 256: {
return "JUST_CHILDREN";
}
case 512: {
return "JUST_LEAFNODES";
}
case 1024: {
return "JUST_LEAFNAME";
}
case 4096: {
return "OMIT_QUALIFIERS";
}
}
return null;
}
protected int getValidOptions() {
return 5888;
}
}