blob: 95e4356b5cedc4963f4ab8db9d9bd4aa1221b6c2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2012 Oracle Corporation and others.
* 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:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.bpel.ui.editors.xpath;
import org.eclipse.jface.text.rules.IWhitespaceDetector;
/**
* @author Michal Chmielewski (michal.chmielewski@oracle.com)
* @date Oct 25, 2006
*
*/
public class XPathWhitespaceDetector implements IWhitespaceDetector {
/** (non-Javadoc)
* @see org.eclipse.jface.text.rules.IWhitespaceDetector#isWhitespace(char)
*/
public boolean isWhitespace(char c) {
return c == 0x20 || c == 0x9 || c == 0xD || c == 0xA;
}
}