Table of Contents

Class IteratorOptions

Namespace
iText.Kernel.XMP.Options
Assembly
itext.kernel.dll

Options for XMPIterator construction.

public sealed class IteratorOptions : Options
Inheritance
IteratorOptions
Inherited Members

Constructors

IteratorOptions()

public IteratorOptions()

Fields

JUST_CHILDREN

Just do the immediate children of the root, default is subtree.

public const int JUST_CHILDREN = 256

Field Value

int

JUST_LEAFNAME

Return just the leaf part of the path, default is the full path.

public const int JUST_LEAFNAME = 1024

Field Value

int

JUST_LEAFNODES

Just do the leaf nodes, default is all nodes in the subtree.

public const int JUST_LEAFNODES = 512

Field Value

int

Remarks

Just 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.

OMIT_QUALIFIERS

Omit all qualifiers.

public const int OMIT_QUALIFIERS = 4096

Field Value

int

Methods

DefineOptionName(int)

protected override string DefineOptionName(int option)

Parameters

option int

Returns

string
See Also

GetValidOptions()

protected override int GetValidOptions()

Returns

int
See Also

IsJustChildren()

public bool IsJustChildren()

Returns

bool

Returns whether the option is set.

IsJustLeafname()

public bool IsJustLeafname()

Returns

bool

Returns whether the option is set.

IsJustLeafnodes()

public bool IsJustLeafnodes()

Returns

bool

Returns whether the option is set.

IsOmitQualifiers()

public bool IsOmitQualifiers()

Returns

bool

Returns whether the option is set.

SetJustChildren(bool)

Sets the option and returns the instance.

public IteratorOptions SetJustChildren(bool value)

Parameters

value bool

the value to set

Returns

IteratorOptions

Returns the instance to call more set-methods.

SetJustLeafname(bool)

Sets the option and returns the instance.

public IteratorOptions SetJustLeafname(bool value)

Parameters

value bool

the value to set

Returns

IteratorOptions

Returns the instance to call more set-methods.

SetJustLeafnodes(bool)

Sets the option and returns the instance.

public IteratorOptions SetJustLeafnodes(bool value)

Parameters

value bool

the value to set

Returns

IteratorOptions

Returns the instance to call more set-methods.

SetOmitQualifiers(bool)

Sets the option and returns the instance.

public IteratorOptions SetOmitQualifiers(bool value)

Parameters

value bool

the value to set

Returns

IteratorOptions

Returns the instance to call more set-methods.