Table of Contents

Class XMPIteratorImpl

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

The

XMPIterator
implementation.
public class XMPIteratorImpl : XMPIterator, IEnumerator
Inheritance
XMPIteratorImpl
Implements
Inherited Members

Remarks

The

XMPIterator
implementation. Iterates the XMP Tree according to a set of options. During the iteration the XMPMeta-object must not be changed. Calls to
skipSubtree()
/
skipSiblings()
will affect the iteration.

Constructors

XMPIteratorImpl(XMPMetaImpl, string, string, IteratorOptions)

Constructor with optionsl initial values.

public XMPIteratorImpl(XMPMetaImpl xmp, string schemaNS, string propPath, IteratorOptions options)

Parameters

xmp XMPMetaImpl

the iterated metadata object.

schemaNS string

the iteration is reduced to this schema (optional)

propPath string

the iteration is redurce to this property within the

schemaNS
options IteratorOptions

advanced iteration options, see IteratorOptions

Remarks

Constructor with optionsl initial values. If

propName
is provided,
schemaNS
has also be provided.

Fields

skipSiblings

flag to indicate that skipSiblings() has been called.

protected bool skipSiblings

Field Value

bool

skipSubtree

flag to indicate that skipSiblings() has been called.

protected bool skipSubtree

Field Value

bool

Properties

Current

public virtual object Current { get; }

Property Value

object

Methods

GetBaseNS()

protected virtual string GetBaseNS()

Returns

string

Exposes the options for inner class.

GetOptions()

protected virtual IteratorOptions GetOptions()

Returns

IteratorOptions

Exposes the options for inner class.

MoveNext()

public virtual bool MoveNext()

Returns

bool

Reset()

public virtual void Reset()

SetBaseNS(string)

protected virtual void SetBaseNS(string baseNS)

Parameters

baseNS string

sets the baseNS from the inner class.

SkipSiblings()

public virtual void SkipSiblings()
See Also

SkipSubtree()

public virtual void SkipSubtree()
See Also