Skip to main content
summaryrefslogtreecommitdiffstats
blob: a60dee431457c58ac0ea2f9747e5110820722392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*******************************************************************************
 * Copyright (c) 2008 Marcelo Mayworm. All rights reserved. This
 * program and the accompanying materials are made available under the terms of
 * the Eclipse Public License v1.0 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors: 	Marcelo Mayworm - initial API and implementation
 *
 ******************************************************************************/
package org.eclipse.ecf.internal.provider.xmpp.search;

import org.eclipse.ecf.presence.search.SimpleCriterion;

/**
 * Implement specific for ICriterion
 * @since 3.0
 */
public class XMPPSimpleCriterion extends SimpleCriterion {

	public XMPPSimpleCriterion(String field, String value, String operator,
			boolean ignoreCase) {
		super(field, value, operator, ignoreCase);

	}

	public XMPPSimpleCriterion(String field, String value, String operator) {
		super(field, value, operator);
	}
	
	/**
	 * Provide the expression compose just for the value
	 */
	public String toExpression() {
		return value;
	}
}

Back to the top