Tabnine Logo
PredicatesEvaluatorBuilder.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.milyn.cdr.xpath.evaluators.PredicatesEvaluatorBuilder
constructor

Best Java code snippets using org.milyn.cdr.xpath.evaluators.PredicatesEvaluatorBuilder.<init> (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.evaluatorsPredicatesEvaluatorBuilder<init>

Popular methods of PredicatesEvaluatorBuilder

  • addEvaluators
  • build
  • getNamespace

Popular in Java

  • Start an intent from android
  • startActivity (Activity)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • JLabel (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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