diff options
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel')
-rw-r--r-- | bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/ELProblem.java | 34 | ||||
-rw-r--r-- | bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/IJSPELTranslator.java | 48 |
2 files changed, 0 insertions, 82 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/ELProblem.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/ELProblem.java deleted file mode 100644 index 599903d331..0000000000 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/ELProblem.java +++ /dev/null @@ -1,34 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 BEA Systems 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: - * BEA Systems - initial implementation - * - *******************************************************************************/ - -package org.eclipse.jst.jsp.core.jspel; - -import org.eclipse.jface.text.Position; - -public class ELProblem { - private Position fPos; - private String fMessage; - - public ELProblem(Position pos, String message) { - fPos = pos; - fMessage = message; - } - - public String getMessage() { - return fMessage; - } - - - public Position getPosition() { - return fPos; - } -} diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/IJSPELTranslator.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/IJSPELTranslator.java deleted file mode 100644 index 17562e3edc..0000000000 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/jspel/IJSPELTranslator.java +++ /dev/null @@ -1,48 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005 BEA Systems 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: - * BEA Systems - initial implementation - * - *******************************************************************************/ - -package org.eclipse.jst.jsp.core.jspel; - -import java.util.List; -import java.util.HashMap; - -import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument; -import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion; - -public interface IJSPELTranslator { - - /** - * To override the EL translation, please see the extension point - * org.eclipse.jst.jsp.core.eltranslator. - * - * @param elText The text to be translated. - * @param delim The starting delimiter - * @param currentNode The current IStructuredDocumentRegion - * @param contentStart The starting offset of the EL to be translated - * @param contentLength The length of the EL content to be translated - * @param fUserELExpressions A string buffer to which generated code can be appended. - * The text appended here will be inserted into the generated class at the top level - * not at the point in the JSP translation where the EL was found. - * - * @param fUserELRanges Map of location ranges from JSP EL offsets to generated Java code. - * @param document The structured document. - * @return A list of ELProblems that describes any syntactic issues found. - */ - public List translateEL(String elText, - String delim, - IStructuredDocumentRegion currentNode, - int contentStart, - int contentLength, - StringBuffer userELExpressions, - HashMap userELRanges, - IStructuredDocument document); -} |