diff options
Diffstat (limited to 'tests/org.eclipse.wst.sse.core.tests/src/org/eclipse/wst/sse/core/tests/events/NullParser.java')
-rw-r--r-- | tests/org.eclipse.wst.sse.core.tests/src/org/eclipse/wst/sse/core/tests/events/NullParser.java | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/tests/org.eclipse.wst.sse.core.tests/src/org/eclipse/wst/sse/core/tests/events/NullParser.java b/tests/org.eclipse.wst.sse.core.tests/src/org/eclipse/wst/sse/core/tests/events/NullParser.java deleted file mode 100644 index cf76e5b14..000000000 --- a/tests/org.eclipse.wst.sse.core.tests/src/org/eclipse/wst/sse/core/tests/events/NullParser.java +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2005 IBM 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: - * IBM Corporation - initial API and implementation - * - *******************************************************************************/ - -package org.eclipse.wst.sse.core.tests.events; - -import java.io.Reader; -import java.util.List; - -import org.eclipse.wst.sse.core.internal.ltk.parser.RegionParser; -import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion; - -public class NullParser implements RegionParser { - - public IStructuredDocumentRegion getDocumentRegions() { - - return null; - } - - public List getRegions() { - - return null; - } - - public RegionParser newInstance() { - - return this; - } - - public void reset(Reader reader) { - // do nothing - - } - - public void reset(Reader reader, int offset) { - // do nothing - - } - - public void reset(String input) { - // do nothing - - } - - public void reset(String input, int offset) { - // do nothing - } - -} |