com.ibm.xdms.common
Interface XqueryTemplate


public interface XqueryTemplate

This interface describes a class that will provide an XQuery Search Template


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.lang.String getConditionsConstraint()
          Returns the where clause's conditions constraint regular expression for this XQuery
 java.util.List<java.lang.String> getDatasources()
          Returns a list of data sources which are valid for this template
 java.lang.String getTemplate()
          Returns the search template
 boolean validateXQuery(java.lang.String xquery)
          Validates a XQuery against this template
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getTemplate

java.lang.String getTemplate()
Returns the search template

Returns:
Search Template for this XQuery

getDatasources

java.util.List<java.lang.String> getDatasources()
Returns a list of data sources which are valid for this template

Returns:
List of data sources

getConditionsConstraint

java.lang.String getConditionsConstraint()
Returns the where clause's conditions constraint regular expression for this XQuery


validateXQuery

boolean validateXQuery(java.lang.String xquery)
Validates a XQuery against this template

Parameters:
xquery - XQuery to validate
Returns:
true if this XQuery is valid, false otherwise