C# 클래스 iTextSharp.xmp.impl.XmpIteratorImpl.NodeIterator

The XMPIterator implementation. It first returns the node itself, then recursivly the children and qualifier of the node. @since 29.06.2006
상속: IEnumerator
파일 보기 프로젝트 열기: nonorganic/dssnet

공개 메소드들

메소드 설명
MoveNext ( ) : bool

Prepares the next node to return if not already done.

NodeIterator ( XmpIteratorImpl outerInstance, XmpNode visitedNode, string parentPath, int index ) : System

Constructor for the node iterator.

Reset ( ) : void

보호된 메소드들

메소드 설명
AccumulatePath ( XmpNode currNode, string parentPath, int currentIndex ) : string
CreatePropertyInfo ( XmpNode node, string baseNs, string path ) : IXmpPropertyInfo

Creates a property info object from an XMPNode.

ReportNode ( ) : bool

Sets the returnProperty as next item or recurses into hasNext().

비공개 메소드들

메소드 설명
IterateChildren ( IEnumerator iterator ) : bool

Handles the iteration of the children or qualfier

메소드 상세

AccumulatePath() 보호된 메소드

protected AccumulatePath ( XmpNode currNode, string parentPath, int currentIndex ) : string
currNode XmpNode the node that will be added to the path.
parentPath string the path up to this node.
currentIndex int the current array index if an arrey is traversed
리턴 string

CreatePropertyInfo() 보호된 메소드

Creates a property info object from an XMPNode.
protected CreatePropertyInfo ( XmpNode node, string baseNs, string path ) : IXmpPropertyInfo
node XmpNode an XMPNode
baseNs string the base namespace to report
path string the full property path
리턴 IXmpPropertyInfo

MoveNext() 공개 메소드

Prepares the next node to return if not already done.
public MoveNext ( ) : bool
리턴 bool

NodeIterator() 공개 메소드

Constructor for the node iterator.
public NodeIterator ( XmpIteratorImpl outerInstance, XmpNode visitedNode, string parentPath, int index ) : System
outerInstance XmpIteratorImpl
visitedNode XmpNode the currently visited node
parentPath string the accumulated path of the node
index int the index within the parent node (only for arrays)
리턴 System

ReportNode() 보호된 메소드

Sets the returnProperty as next item or recurses into hasNext().
protected ReportNode ( ) : bool
리턴 bool

Reset() 공개 메소드

public Reset ( ) : void
리턴 void