public final class IteratorOptions extends Options
XMPIterator
construction.
Modifier and Type | Field and 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 and Description |
---|
IteratorOptions() |
Modifier and Type | Method and 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.
|
assertConsistency, clear, containsAllOptions, containsOneOf, equals, getOption, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toString
public 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 set
public IteratorOptions setJustLeafname(boolean value)
value
- the value to set
public IteratorOptions setJustLeafnodes(boolean value)
value
- the value to set
public IteratorOptions setOmitQualifiers(boolean value)
value
- the value to set
protected String defineOptionName(int option)
Options
defineOptionName
in class Options
option
- a single, valid option bit.
Options.defineOptionName(int)
protected int getValidOptions()
Options
getValidOptions
in class Options
Options.getValidOptions()
Copyright © 1998–2019. All rights reserved.