Class XMPIteratorImpl
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
XMPMetaImplthe iterated metadata object.
schemaNS
stringthe iteration is reduced to this schema (optional)
propPath
stringthe iteration is redurce to this property within the
schemaNS
options
IteratorOptionsadvanced 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
skipSubtree
flag to indicate that skipSiblings() has been called.
protected bool skipSubtree
Field Value
Properties
Current
public virtual object Current { get; }
Property Value
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
Reset()
public virtual void Reset()
SetBaseNS(string)
protected virtual void SetBaseNS(string baseNS)
Parameters
baseNS
stringsets the baseNS from the inner class.
SkipSiblings()
public virtual void SkipSiblings()
- See Also
SkipSubtree()
public virtual void SkipSubtree()
- See Also