| org.openlaszlo.iv.flash.context.XMLContext org.openlaszlo.iv.flash.xml.jaxen.XMLContextImpl
XMLContextImpl | public class XMLContextImpl extends XMLContext (Code) | | Jaxen XML context
Represents one xml node
author: Andrew Wason |
Method Summary | |
public String | getValue(String path) Evaluates the specified path (as XPath) in this context or nearest
xml parent. | public List | getValueList(String path) Evaluates the specified path (as XPath) in this context or nearest
xml parent. |
XMLContextImpl | public XMLContextImpl(Context parent, Node node)(Code) | | Creates xml context with specified parent and xml node.
Parameters: parent - parent context Parameters: node - xml node represented by this context |
getValue | public String getValue(String path)(Code) | | Evaluates the specified path (as XPath) in this context or nearest
xml parent.
Parameters: path - containing XPath expression String representation of result of xpath execution or empty string |
getValueList | public List getValueList(String path)(Code) | | Evaluates the specified path (as XPath) in this context or nearest
xml parent. If the path evaluates to a nodeset, a list of contexts for
the nodes in that nodeset is returned, otherwise null
Parameters: path - String containing XPath expression List of contexts or null |
|
|