Namespace: Consultingwerk.Studio.Proparse
Class 
JPNodesEnumerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.Base.IEnumerator

File:JPNodesEnumerator
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu May 10 15:23:23 CEST 2012



Top Method Summary
Options Name Purpose
+ LOGICAL MoveNext () Moves the enumerator to the next entry
+ Reset ()

Top Constructor Summary
Options Name Purpose
+ JPNodesEnumerator (JPNodesWrapper, character) Constructor for the JPNodesEnumerator class

Top Property Summary
Options Name Purpose
+ Progress.Lang.Object Current Returns the current JPNode
+ Consultingwerk.Studio.Proparse.JPNodesWrapper JPNodesWrapper Returns the reference to the JPNodesWrapper this Enumerator works on
+ CHARACTER NodeTypeFilter Gets and sets the filter for the NodeType used by the JPNodesEnumerator


Method Detail
Top

PUBLIC LOGICAL MoveNext ()

Purpose: Moves the enumerator to the next entry
Notes: Reset positioned on the first child already. So this method will
always leave positioned to the next record for oCurrentNode instead
of the Current. This CurrentNode will be returned by Current

Returns LOGICAL
Logical value indicating if there was a next item
Top

PUBLIC Reset ()

Purpose:
Notes:



Constructor Detail
Top

PUBLIC JPNodesEnumerator (JPNodesWrapper, character)

Purpose: Constructor for the JPNodesEnumerator class
Notes:

Parameters:
poJPNodesWrapper Consultingwerk.Studio.Proparse.JPNodesWrapper
The JPNodesWrapper to enumerate
pcNodeTypeFilter CHARACTER
The file for the NodeType


Property Detail
Top

PUBLIC Progress.Lang.Object Current

Purpose: Returns the current JPNode
Notes:

Returns Progress.Lang.Object
Top

PUBLIC Consultingwerk.Studio.Proparse.JPNodesWrapper JPNodesWrapper

Purpose: Returns the reference to the JPNodesWrapper this Enumerator works on
Notes:

Returns Consultingwerk.Studio.Proparse.JPNodesWrapper
Top

PUBLIC CHARACTER NodeTypeFilter

Purpose: Gets and sets the filter for the NodeType used by the JPNodesEnumerator
Notes: For example, when set for the Code_block node of a Class, setting the
filter to METHOD controls that methods are to be returned only.
Leave empty to retrieve all nodes

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:45:38