com.marsching.flexiparse.parser
Interface HandlerContext


public interface HandlerContext

Provides context information to a ParsingHandler.

Author:
Sebastian Marsching

Method Summary
 Node getNode()
          Returns current node.
 ObjectTreeElement getObjectTreeElement()
          Returns the current object tree node.
 RunOrder getRunOrder()
          Returns the current processing state (child nodes not yet processed or child nodes already processed).
 

Method Detail

getNode

Node getNode()
Returns current node. That is the node that was matched by the XPath expression.

Returns:
context XML node

getObjectTreeElement

ObjectTreeElement getObjectTreeElement()
Returns the current object tree node. This is the node that is associated with the current XML node, if the node is of element type, and the parent element of the current node otherwise.

Returns:
context object tree node

getRunOrder

RunOrder getRunOrder()
Returns the current processing state (child nodes not yet processed or child nodes already processed).

Returns:
current processing state


Copyright © 2008-2009. All Rights Reserved.