public final class IteratorOptions extends Options
XMPIterator construction.| Modifier and Type | Field | Description |
|---|---|---|
static int |
JUST_CHILDREN |
Just do the immediate children of the root, default is subtree.
|
static int |
JUST_LEAFNAME |
Return just the leaf part of the path, default is the full path.
|
static int |
JUST_LEAFNODES |
Just do the leaf nodes, default is all nodes in the subtree.
|
static int |
OMIT_QUALIFIERS |
Omit all qualifiers.
|
| Constructor | Description |
|---|---|
IteratorOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
protected String |
defineOptionName(int option) |
To be implemeted by inheritants.
|
protected int |
getValidOptions() |
To be implemeted by inheritants.
|
boolean |
isJustChildren() |
|
boolean |
isJustLeafname() |
|
boolean |
isJustLeafnodes() |
|
boolean |
isOmitQualifiers() |
|
IteratorOptions |
setJustChildren(boolean value) |
Sets the option and returns the instance.
|
IteratorOptions |
setJustLeafname(boolean value) |
Sets the option and returns the instance.
|
IteratorOptions |
setJustLeafnodes(boolean value) |
Sets the option and returns the instance.
|
IteratorOptions |
setOmitQualifiers(boolean value) |
Sets the option and returns the instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitassertConsistency, clear, containsAllOptions, containsOneOf, equals, getOption, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toStringpublic static final int JUST_CHILDREN
public static final int JUST_LEAFNODES
public static final int JUST_LEAFNAME
public static final int OMIT_QUALIFIERS
public boolean isJustChildren()
public boolean isJustLeafname()
public boolean isJustLeafnodes()
public boolean isOmitQualifiers()
public IteratorOptions setJustChildren(boolean value)
value - the value to setpublic IteratorOptions setJustLeafname(boolean value)
value - the value to setpublic IteratorOptions setJustLeafnodes(boolean value)
value - the value to setpublic IteratorOptions setOmitQualifiers(boolean value)
value - the value to setprotected String defineOptionName(int option)
OptionsdefineOptionName in class Optionsoption - a single, valid option bit.Options.defineOptionName(int)protected int getValidOptions()
OptionsgetValidOptions in class OptionsOptions.getValidOptions()Copyright © 2018. All rights reserved.