TWE 2.5-1 API

org.enhydra.jawe.base.controller
Class SearchUtility

java.lang.Object
  extended byorg.enhydra.jawe.base.controller.SearchUtility

public class SearchUtility
extends java.lang.Object

Utilities for perfoming simple search through XPDL.

Author:
Sasa Bojanic

Constructor Summary
SearchUtility()
           
 
Method Summary
static void addToResult(java.util.List result, org.enhydra.shark.xpdl.XMLElement el)
           
static boolean compareStrings(java.lang.String filter, java.lang.String str, boolean caseSensitive)
           
static java.util.List searchElement(org.enhydra.shark.xpdl.elements.Package pkg, SearchEntity se)
           
static void searchElement(org.enhydra.shark.xpdl.XMLAttribute el, SearchEntity se, java.util.List result)
           
static void searchElement(org.enhydra.shark.xpdl.XMLCollection cel, SearchEntity se, java.util.List result)
           
static void searchElement(org.enhydra.shark.xpdl.XMLComplexChoice el, SearchEntity se, java.util.List result)
           
static void searchElement(org.enhydra.shark.xpdl.XMLComplexElement cel, SearchEntity se, java.util.List result)
           
static void searchElement(org.enhydra.shark.xpdl.XMLSimpleElement el, SearchEntity se, java.util.List result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchUtility

public SearchUtility()
Method Detail

searchElement

public static java.util.List searchElement(org.enhydra.shark.xpdl.elements.Package pkg,
                                           SearchEntity se)

searchElement

public static void searchElement(org.enhydra.shark.xpdl.XMLCollection cel,
                                 SearchEntity se,
                                 java.util.List result)

searchElement

public static void searchElement(org.enhydra.shark.xpdl.XMLComplexElement cel,
                                 SearchEntity se,
                                 java.util.List result)

searchElement

public static void searchElement(org.enhydra.shark.xpdl.XMLComplexChoice el,
                                 SearchEntity se,
                                 java.util.List result)

searchElement

public static void searchElement(org.enhydra.shark.xpdl.XMLSimpleElement el,
                                 SearchEntity se,
                                 java.util.List result)

searchElement

public static void searchElement(org.enhydra.shark.xpdl.XMLAttribute el,
                                 SearchEntity se,
                                 java.util.List result)

compareStrings

public static boolean compareStrings(java.lang.String filter,
                                     java.lang.String str,
                                     boolean caseSensitive)

addToResult

public static void addToResult(java.util.List result,
                               org.enhydra.shark.xpdl.XMLElement el)

TWE 2.5-1 API