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
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 nodepath - XPath from the current nodecontext - Execution context
- Returns:
- Object value
Copyright © 2011. All Rights Reserved.