Tabnine Logo
PredicatesEvaluatorBuilder.build
Code IndexAdd Tabnine to your IDE (free)

How to use
build
method
in
org.milyn.cdr.xpath.evaluators.PredicatesEvaluatorBuilder

Best Java code snippets using org.milyn.cdr.xpath.evaluators.PredicatesEvaluatorBuilder.build (Showing top 4 results out of 315)

origin: org.milyn/milyn-smooks-core

public void buildPredicatesEvaluator(Properties namespaces) throws SAXPathException, NotFoundException, CannotCompileException, IllegalAccessException, InstantiationException {
  AssertArgument.isNotNull(namespaces, "namespaces");
  if(predicatesEvaluator != null) {
    return;
  }
  if(step != null) {
    PredicatesEvaluatorBuilder builder = new PredicatesEvaluatorBuilder(step, attributeStep, this, namespaces);
    try {
      predicatesEvaluator = builder.build();
    } catch (SAXPathException e) {
      throw new SAXPathException("Error processing XPath selector expression '" + xpathExpression + "'.", e);
    }
    // And update the QNames again now that we have the namespaces...
    targetElement = toQName(step, builder);
    if(attributeStep != null) {
      targetAttribute = toQName(attributeStep, builder);
    }
  } else {
    predicatesEvaluator = PassThruEvaluator.INSTANCE;
  }
}
origin: org.milyn/milyn-smooks-all

public void buildPredicatesEvaluator(Properties namespaces) throws SAXPathException, NotFoundException, CannotCompileException, IllegalAccessException, InstantiationException {
  AssertArgument.isNotNull(namespaces, "namespaces");
  if(predicatesEvaluator != null) {
    return;
  }
  if(step != null) {
    PredicatesEvaluatorBuilder builder = new PredicatesEvaluatorBuilder(step, attributeStep, this, namespaces);
    try {
      predicatesEvaluator = builder.build();
    } catch (SAXPathException e) {
      throw new SAXPathException("Error processing XPath selector expression '" + xpathExpression + "'.", e);
    }
    // And update the QNames again now that we have the namespaces...
    targetElement = toQName(step, builder);
    if(attributeStep != null) {
      targetAttribute = toQName(attributeStep, builder);
    }
  } else {
    predicatesEvaluator = PassThruEvaluator.INSTANCE;
  }
}
origin: smooks/smooks

public void buildPredicatesEvaluator(Properties namespaces) throws SAXPathException, NotFoundException, CannotCompileException, IllegalAccessException, InstantiationException {
  AssertArgument.isNotNull(namespaces, "namespaces");
  if(predicatesEvaluator != null) {
    return;
  }
  if(step != null) {
    PredicatesEvaluatorBuilder builder = new PredicatesEvaluatorBuilder(step, attributeStep, this, namespaces);
    try {
      predicatesEvaluator = builder.build();
    } catch (SAXPathException e) {
      throw new SAXPathException("Error processing XPath selector expression '" + xpathExpression + "'.", e);
    }
    // And update the QNames again now that we have the namespaces...
    targetElement = toQName(step, builder);
    if(attributeStep != null) {
      targetAttribute = toQName(attributeStep, builder);
    }
  } else {
    predicatesEvaluator = PassThruEvaluator.INSTANCE;
  }
}
origin: org.virtuslab/milyn-smooks-core

public void buildPredicatesEvaluator(Properties namespaces) throws SAXPathException, NotFoundException, CannotCompileException, IllegalAccessException, InstantiationException {
  AssertArgument.isNotNull(namespaces, "namespaces");
  if(predicatesEvaluator != null) {
    return;
  }
  if(step != null) {
    PredicatesEvaluatorBuilder builder = new PredicatesEvaluatorBuilder(step, attributeStep, this, namespaces);
    try {
      predicatesEvaluator = builder.build();
    } catch (SAXPathException e) {
      throw new SAXPathException("Error processing XPath selector expression '" + xpathExpression + "'.", e);
    }
    // And update the QNames again now that we have the namespaces...
    targetElement = toQName(step, builder);
    if(attributeStep != null) {
      targetAttribute = toQName(attributeStep, builder);
    }
  } else {
    predicatesEvaluator = PassThruEvaluator.INSTANCE;
  }
}
org.milyn.cdr.xpath.evaluatorsPredicatesEvaluatorBuilderbuild

Popular methods of PredicatesEvaluatorBuilder

  • <init>
  • addEvaluators
  • getNamespace

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • onRequestPermissionsResult (Fragment)
  • onCreateOptionsMenu (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now