jxtaimpl.storage
Class Query

java.lang.Object
  |
  +--jxtaimpl.storage.Query
All Implemented Interfaces:
Serializable

public class Query
extends Object
implements Serializable

This class has to be used by Ants in order to properly query CmsStorages

Author:
Francesco Russo (frusso@cs.unibo.it)
See Also:
Serialized Form

Constructor Summary
Query(String element, String values)
          The constructor needs an element name, and a set of possible values.
 
Method Summary
 String getElementName()
          Returns the element name this query refers to.
 String getValues()
          Resturns a String containing all the keywords to be searched
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query(String element,
             String values)
The constructor needs an element name, and a set of possible values. All these values are keywords separated by at least one blank space, all contained in one String

Parameters:
element - The element which has to be tested
values - The set of values the element should be checked to contain
Method Detail

getElementName

public String getElementName()
Returns the element name this query refers to.


getValues

public String getValues()
Resturns a String containing all the keywords to be searched