All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.simy4.xpath.expr.Expr Maven / Gradle / Ivy

There is a newer version: 2.3.9
Show newest version
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