diff options
Diffstat (limited to 'bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/document/PageDirectiveAdapter.java')
-rw-r--r-- | bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/document/PageDirectiveAdapter.java | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/document/PageDirectiveAdapter.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/document/PageDirectiveAdapter.java deleted file mode 100644 index d2b321ffcc..0000000000 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/core/internal/document/PageDirectiveAdapter.java +++ /dev/null @@ -1,59 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2004, 2008 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.jst.jsp.core.internal.document; - -import org.eclipse.wst.sse.core.internal.ltk.modelhandler.EmbeddedTypeHandler; -import org.eclipse.wst.sse.core.internal.provisional.INodeAdapter; -import org.eclipse.wst.sse.core.internal.provisional.INodeAdapterFactory; -import org.eclipse.wst.sse.core.internal.provisional.INodeNotifier; - -/** - * Classes which implement this interface have two responsibilities. - * One is to provide - * and embedded factory registry for JSP Aware INodeAdapter Factories - * to use. The other is to monitor page directives and if - * a change in embedded type is is made, it will signal - * the structuredModel that it needs to reinitialize itself. - */ -public interface PageDirectiveAdapter extends INodeAdapter { - - public String getContentType(); - - public String getLanguage(); - - /** - * This setter method should be called once, shortly after - * initialization. - */ - void setEmbeddedType(EmbeddedTypeHandler handler); - - EmbeddedTypeHandler getEmbeddedType(); - - /** - * This method is to give this adapter a chance to use - * the AdapterFactories from the EmbeddedTypeHandler - * to adapt the node. Its to be used by JSPAwareAdapterFactories - * to (potentially) adapt nodes from the embedded content type. - */ - INodeAdapter adapt(INodeNotifier notifier, Object type); - - void addEmbeddedFactory(INodeAdapterFactory factory); - - /** - * Method setLanguage. - * @param language - */ - void setLanguage(String language); - - INodeNotifier getTarget(); - - public void release(); -} |