Class Index

Classes


Class PDFNet.DictIterator

PDFNet.DictIterator

Class Summary
Constructor Attributes Constructor Name and Description
 
DictIterator is used to traverse key/value pairs in a dictionary.
Method Summary
Method Attributes Method Name and Description
 
Copy Constructor
 
Destructor
 
 
key()
 
next()
Advances the iterator to the next element of the collection.
 
Class Detail
PDFNet.DictIterator(id)
DictIterator is used to traverse key/value pairs in a dictionary. For example a DictIterator can be used to print out all the entries in a given Obj dictionary as follows:
Parameters:
id
Method Detail
{DictIterator} assign()
Copy Constructor
Returns:
{DictIterator} A promise that resolves to an object of type: "DictIterator" (generated documentation)

destroy()
Destructor

{[ERROR]} hasNext()
Returns:
{[ERROR]} A promise that resolves to true if the iterator can be successfully advanced to the next element; false if the end collection is reached.

{Obj} key()
Returns:
{Obj} A promise that resolves to the key of the current dictionary entry.

next()
Advances the iterator to the next element of the collection.

{Obj} value()
Returns:
{Obj} A promise that resolves to the value of the current dictionary entry.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 09 2016 14:32:38 GMT-0700 (PDT)