net.sf.doolin.oxml.adapter
Interface OXMLAdapter

All Known Implementing Classes:
AbstractSimpleOXMLAdapter, DefaultOXMLAdapter, DimensionOXMLAdapter, EnumOXMLAdapter

public interface OXMLAdapter

This interface defines an object which adapts a node (given a parent node and an XPath expression) to an object suitable for the target object model.

Author:
Damien Coraboeuf

Method Summary
 Object adapt(Node currentNode, String path, OXMLContext context)
          Adapts a value taken from the XML to a value suitable in the object model.
 

Method Detail

adapt

Object adapt(Node currentNode,
             String path,
             OXMLContext context)
Adapts a value taken from the XML to a value suitable in the object model.

Parameters:
currentNode - Current node
path - XPath from the current node
context - Execution context
Returns:
Object value


Copyright © 2011. All Rights Reserved.