diff options
Diffstat (limited to 'bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/ltk/parser/BlockMarker.java')
-rw-r--r-- | bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/ltk/parser/BlockMarker.java | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/ltk/parser/BlockMarker.java b/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/ltk/parser/BlockMarker.java deleted file mode 100644 index 468b360da1..0000000000 --- a/bundles/org.eclipse.wst.sse.core/src/org/eclipse/wst/sse/core/internal/ltk/parser/BlockMarker.java +++ /dev/null @@ -1,103 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2007 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 - * Jens Lukowski/Innoopract - initial renaming/restructuring - * - *******************************************************************************/ -package org.eclipse.wst.sse.core.internal.ltk.parser; - - - -import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion; - - -/** - * ISSUE: need to provide functionality in improved API. - */ -public class BlockMarker extends TagMarker { - - // allow for JSP expressions within the block - protected boolean fAllowJSP = true; - - protected boolean fCaseSensitive = false; - - // the context for the contents of this tag (BLOCK_TEXT, JSP_CONTENT, - // etc.) - protected String fContext; - - public BlockMarker(String tagName, ITextRegion marker, String context) { - this(tagName, marker, context, true); - } - - public BlockMarker(String tagName, ITextRegion marker, String context, boolean caseSensitive) { - this(tagName, marker, context, caseSensitive, true); - } - - public BlockMarker(String tagName, ITextRegion marker, String context, boolean caseSensitive, boolean allowJSP) { - super(tagName, marker); - setContext(context); - setCaseSensitive(caseSensitive); - setAllowJSP(allowJSP); - } - - public BlockMarker(String tagName, String regionContext, boolean caseSensitive) { - this(tagName, null, regionContext, caseSensitive, false); - } - - /** - * Gets the allowJSP. - * - * @return Returns a boolean - */ - public boolean allowsJSP() { - return fAllowJSP; - } - - /** - * Gets the context. - * - * @return Returns a String - */ - public String getContext() { - return fContext; - } - - /** - * - * @return boolean - */ - public final boolean isCaseSensitive() { - return fCaseSensitive; - } - - /** - * Sets the allowJSP. - * - * @param allowJSP - * The allowJSP to set - */ - public void setAllowJSP(boolean allowJSP) { - fAllowJSP = allowJSP; - } - - public final void setCaseSensitive(boolean sensitive) { - fCaseSensitive = sensitive; - } - - /** - * Sets the context. - * - * @param context - * The context to set - */ - public void setContext(String context) { - fContext = context; - } - -} |