4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator Class Referenceabstract

Generic class for node iterators. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator:
Collaboration graph

Public Member Functions

abstract void init (Document document, XPathExpression expr) throws XPathExpressionException
 
abstract Node nextNode ()
 

Public Attributes

NodeList nodeList
 
int currentNodeIndex
 

Protected Attributes

Document document
 

Detailed Description

Generic class for node iterators.

Generic class for node iterators

Author
Michael Angelov

Definition at line 35 of file NodeIterator.java.

Member Function Documentation

abstract void cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator.init ( Document  document,
XPathExpression  expr 
) throws XPathExpressionException
abstract

Abstract method for node iterator initialization

Parameters
documentdocument whose nodes will be iterated through
exprXPath expression according to which iterating will be provided
abstract Node cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator.nextNode ( )
abstract

Method for getting iterator's next node

Returns
iterator's next node

Member Data Documentation

int cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator.currentNodeIndex

Definition at line 39 of file NodeIterator.java.

Document cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator.document
protected

Definition at line 37 of file NodeIterator.java.

NodeList cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.NodeIterator.nodeList

Definition at line 38 of file NodeIterator.java.


The documentation for this class was generated from the following file: