com.github.simy4.xpath.expr.Expr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xpath-to-xml-core Show documentation
Show all versions of xpath-to-xml-core Show documentation
Convenient utility to build XML models by evaluating XPath expressions
package com.github.simy4.xpath.expr;
import com.github.simy4.xpath.XmlBuilderException;
import com.github.simy4.xpath.navigator.Node;
import com.github.simy4.xpath.view.View;
import com.github.simy4.xpath.view.ViewContext;
/**
* XPath expression model. Every XPath expression is also a XPath predicate.
*
* @author Alex Simkin
* @since 1.0
*/
public interface Expr {
/**
* Evaluate this expression using given context.
*
* @param context XPath expression context
* @param XML model type
* @return evaluated XML node view
* @throws XmlBuilderException if error occur during XML model modification
*/
View resolve(ViewContext context) throws XmlBuilderException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy