Package com.itextpdf.kernel.xmp.options
Class IteratorOptions
java.lang.Object
com.itextpdf.kernel.xmp.options.Options
com.itextpdf.kernel.xmp.options.IteratorOptions
Options for
XMPIterator
construction.
- Since:
- 24.01.2006
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Just do the immediate children of the root, default is subtree.static final int
Return just the leaf part of the path, default is the full path.static final int
Just do the leaf nodes, default is all nodes in the subtree.static final int
Omit all qualifiers. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
defineOptionName
(int option) To be implemeted by inheritants.protected int
To be implemeted by inheritants.boolean
boolean
boolean
boolean
setJustChildren
(boolean value) Sets the option and returns the instance.setJustLeafname
(boolean value) Sets the option and returns the instance.setJustLeafnodes
(boolean value) Sets the option and returns the instance.setOmitQualifiers
(boolean value) Sets the option and returns the instance.Methods inherited from class com.itextpdf.kernel.xmp.options.Options
assertConsistency, clear, containsAllOptions, containsOneOf, equals, getOption, getOptions, getOptionsString, hashCode, isExactly, setOption, setOptions, toString
-
Field Details
-
JUST_CHILDREN
public static final int JUST_CHILDRENJust do the immediate children of the root, default is subtree.- See Also:
-
JUST_LEAFNODES
public static final int JUST_LEAFNODESJust do the leaf nodes, default is all nodes in the subtree. Bugfix #2658965: If this option is set the Iterator returns the namespace of the leaf instead of the namespace of the base property.- See Also:
-
JUST_LEAFNAME
public static final int JUST_LEAFNAMEReturn just the leaf part of the path, default is the full path.- See Also:
-
OMIT_QUALIFIERS
public static final int OMIT_QUALIFIERSOmit all qualifiers.- See Also:
-
-
Constructor Details
-
IteratorOptions
public IteratorOptions()
-
-
Method Details
-
isJustChildren
public boolean isJustChildren()- Returns:
- Returns whether the option is set.
-
isJustLeafname
public boolean isJustLeafname()- Returns:
- Returns whether the option is set.
-
isJustLeafnodes
public boolean isJustLeafnodes()- Returns:
- Returns whether the option is set.
-
isOmitQualifiers
public boolean isOmitQualifiers()- Returns:
- Returns whether the option is set.
-
setJustChildren
Sets the option and returns the instance.- Parameters:
-
value
- the value to set - Returns:
- Returns the instance to call more set-methods.
-
setJustLeafname
Sets the option and returns the instance.- Parameters:
-
value
- the value to set - Returns:
- Returns the instance to call more set-methods.
-
setJustLeafnodes
Sets the option and returns the instance.- Parameters:
-
value
- the value to set - Returns:
- Returns the instance to call more set-methods.
-
setOmitQualifiers
Sets the option and returns the instance.- Parameters:
-
value
- the value to set - Returns:
- Returns the instance to call more set-methods.
-
defineOptionName
Description copied from class:Options
To be implemeted by inheritants.- Specified by:
-
defineOptionName
in classOptions
- Parameters:
-
option
- a single, valid option bit. - Returns:
- Returns a human readable name for an option bit.
- See Also:
-
getValidOptions
protected int getValidOptions()Description copied from class:Options
To be implemeted by inheritants.- Specified by:
-
getValidOptions
in classOptions
- Returns:
- Returns a bit mask where all valid option bits are set.
- See Also:
-