congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PropertyIsLike.getPrimitiveValues
Code IndexAdd Tabnine to your IDE (free)

How to use
getPrimitiveValues
method
in
org.deegree.filter.comparison.PropertyIsLike

Best Java code snippets using org.deegree.filter.comparison.PropertyIsLike.getPrimitiveValues (Showing top 1 results out of 315)

origin: deegree/deegree3

@Override
public <T> boolean evaluate( T obj, XPathEvaluator<T> xpathEvaluator )
            throws FilterEvaluationException {
  TypedObjectNode[] param1Values = propName.evaluate( obj, xpathEvaluator );
  TypedObjectNode[] param2Values = literal.evaluate( obj, xpathEvaluator );
  // evaluate to true if at least one pair of values matches the condition
  for ( TypedObjectNode value1 : param1Values ) {
    for ( TypedObjectNode value2 : param2Values ) {
      if ( value1 == null && value2 == null ) {
        return true;
      }
      if ( value1 != null && value2 != null ) {
        Pair<PrimitiveValue, PrimitiveValue> primitivePair = getPrimitiveValues( value1, value2 );
        String s1 = primitivePair.first.toString();
        String s2 = primitivePair.second.toString();
        if ( !matchCase ) {
          s1 = s1.toLowerCase();
          s2 = s2.toLowerCase();
        }
        if ( matches( s2, s1 ) ) {
          return true;
        }
      }
    }
  }
  return false;
}
org.deegree.filter.comparisonPropertyIsLikegetPrimitiveValues

Popular methods of PropertyIsLike

  • getEscapeChar
  • getExpression
  • getPattern
  • getSingleChar
  • getWildCard
  • isMatchCase
  • <init>
  • getMatchAction
  • matches
    Checks if a given String matches a pattern that is a sequence of: * standard characters * wildca

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Table (org.hibernate.mapping)
    A relational table
  • 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