diff options
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib')
26 files changed, 0 insertions, 8714 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/BodyContentType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/BodyContentType.java deleted file mode 100644 index 621a4aa3d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/BodyContentType.java +++ /dev/null @@ -1,198 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - - - - - -public final class BodyContentType extends AbstractEnumerator{ - /** - * @generated This field/method will be replaced during code generation. - */ - public static final int TAGDEPENDENT = 0; - /** - * @generated This field/method will be replaced during code generation. - */ - public static final int JSP = 1; - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - public static final int EMPTY = 2; - /** - * The '<em><b>Scriptless</b></em>' literal value. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #SCRIPTLESS_LITERAL - * @model name="scriptless" - * @generated - * @ordered - */ - public static final int SCRIPTLESS = 3; - - /** - * The '<em><b>Tagdependent</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Tagdependent</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #TAGDEPENDENT - * @generated - * @ordered - */ - public static final BodyContentType TAGDEPENDENT_LITERAL = new BodyContentType(TAGDEPENDENT, "tagdependent", "tagdependent");//$NON-NLS-1$ - - /** - * The '<em><b>JSP</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>JSP</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #JSP - * @generated - * @ordered - */ - public static final BodyContentType JSP_LITERAL = new BodyContentType(JSP, "JSP", "JSP");//$NON-NLS-1$ - - /** - * The '<em><b>Empty</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Empty</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #EMPTY - * @generated - * @ordered - */ - public static final BodyContentType EMPTY_LITERAL = new BodyContentType(EMPTY, "empty", "empty");//$NON-NLS-1$ - - /** - * The '<em><b>Scriptless</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>Scriptless</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #SCRIPTLESS - * @generated - * @ordered - */ - public static final BodyContentType SCRIPTLESS_LITERAL = new BodyContentType(SCRIPTLESS, "scriptless", "scriptless");//$NON-NLS-1$ - - /** - * An array of all the '<em><b>Body Content Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final BodyContentType[] VALUES_ARRAY = - new BodyContentType[] { - TAGDEPENDENT_LITERAL, - JSP_LITERAL, - EMPTY_LITERAL, - SCRIPTLESS_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>Body Content Type</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>Body Content Type</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * @param name passes literal name - * @return literal instance - * <!-- end-user-doc --> - * @generated - */ - public static BodyContentType get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - BodyContentType result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Body Content Type</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static BodyContentType getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - BodyContentType result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>Body Content Type</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * @param value passes literal value - * @return literal instance - * <!-- end-user-doc --> - * @generated - */ - public static BodyContentType get(int value) { - switch (value) { - case TAGDEPENDENT: return TAGDEPENDENT_LITERAL; - case JSP: return JSP_LITERAL; - case EMPTY: return EMPTY_LITERAL; - case SCRIPTLESS: return SCRIPTLESS_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private BodyContentType(int value, String name, String literal) { - super(value, name, literal); - } - -} //BodyContentType - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/ExtensibleType.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/ExtensibleType.java deleted file mode 100644 index b8b62a63a..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/ExtensibleType.java +++ /dev/null @@ -1,58 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.jst.j2ee.common.J2EEEObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Extensible Type</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.ExtensibleType#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getExtensibleType() - * @model abstract="true" - * @generated - */ -public interface ExtensibleType extends J2EEEObject { - /** - * Returns the value of the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Value</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Value</em>' attribute. - * @see #setValue(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getExtensibleType_Value() - * @model - * @generated - */ - String getValue(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.ExtensibleType#getValue <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Value</em>' attribute. - * @see #getValue() - * @generated - */ - void setValue(String value); - -} // ExtensibleType diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/Function.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/Function.java deleted file mode 100644 index c5b0149e6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/Function.java +++ /dev/null @@ -1,206 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.DescriptionGroup; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Function</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * @version J2EE1.4 - * The function element is used to provide information on each - * function in the tag library that is to be exposed to the EL. - * - * The function element may have several subelements defining: - * - * description Optional tag-specific information - * - * display-name A short name that is intended to be - * displayed by tools - * - * icon Optional icon element that can be used - * by tools - * - * name A unique name for this function - * - * function-class Provides the name of the Java class that - * implements the function - * - * function-signature Provides the signature, as in the Java - * Language Specification, of the Java - * method that is to be used to implement - * the function. - * - * example Optional informal description of an - * example of a use of this function - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.Function#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.Function#getSignature <em>Signature</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.Function#getExample <em>Example</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionClass <em>Function Class</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionExtensions <em>Function Extensions</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getFunction() - * @model - * @generated - */ -public interface Function extends DescriptionGroup { - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getFunction_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Signature</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Signature</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Provides the signature, as in the Java Language - * Specification, of the static Java method that is - * to be used to implement the function. - * - * Example: - * - * java.lang.String nickName( java.lang.String, int ) - * <!-- end-model-doc --> - * @return the value of the '<em>Signature</em>' attribute. - * @see #setSignature(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getFunction_Signature() - * @model - * @generated - */ - String getSignature(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getSignature <em>Signature</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Signature</em>' attribute. - * @see #getSignature() - * @generated - */ - void setSignature(String value); - - /** - * Returns the value of the '<em><b>Example</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Example</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * The example element contains an informal description - * of an example of the use of this function. - * <!-- end-model-doc --> - * @return the value of the '<em>Example</em>' attribute. - * @see #setExample(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getFunction_Example() - * @model - * @generated - */ - String getExample(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getExample <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Example</em>' attribute. - * @see #getExample() - * @generated - */ - void setExample(String value); - - /** - * Returns the value of the '<em><b>Function Class</b></em>' reference. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Function Class</em>' reference isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * Provides the fully-qualified class name of the Java - * class containing the static method that implements - * the function. - * <!-- end-model-doc --> - * @return the value of the '<em>Function Class</em>' reference. - * @see #setFunctionClass(JavaClass) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getFunction_FunctionClass() - * @model required="true" - * @generated - */ - JavaClass getFunctionClass(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionClass <em>Function Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Function Class</em>' reference. - * @see #getFunctionClass() - * @generated - */ - void setFunctionClass(JavaClass value); - - /** - * Returns the value of the '<em><b>Function Extensions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.taglib.internal.TldExtension}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Function Extensions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Function Extensions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getFunction_FunctionExtensions() - * @model type="org.eclipse.jst.j2ee.taglib.internal.TldExtension" containment="true" - * @generated - */ - EList getFunctionExtensions(); - -} // Function diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPScriptingVariableScope.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPScriptingVariableScope.java deleted file mode 100644 index f20eb77ca..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPScriptingVariableScope.java +++ /dev/null @@ -1,171 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; - -import org.eclipse.emf.common.util.AbstractEnumerator; - - - - - -public final class JSPScriptingVariableScope extends AbstractEnumerator{ - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - public static final int NESTED = 0; - /** - * @generated This field/method will be replaced during code generation. - */ - public static final int AT_BEGIN = 1; - /** - * @generated This field/method will be replaced during code generation. - */ - public static final int AT_END = 2; - /** - * The '<em><b>NESTED</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>NESTED</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #NESTED - * @generated - * @ordered - */ - public static final JSPScriptingVariableScope NESTED_LITERAL = new JSPScriptingVariableScope(NESTED, "NESTED", "NESTED");//$NON-NLS-1$ - - /** - * The '<em><b>AT BEGIN</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>AT BEGIN</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #AT_BEGIN - * @generated - * @ordered - */ - public static final JSPScriptingVariableScope AT_BEGIN_LITERAL = new JSPScriptingVariableScope(AT_BEGIN, "AT_BEGIN", "AT_BEGIN");//$NON-NLS-1$ - - /** - * The '<em><b>AT END</b></em>' literal object. - * <!-- begin-user-doc --> - * <p> - * If the meaning of '<em><b>AT END</b></em>' literal object isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @see #AT_END - * @generated - * @ordered - */ - public static final JSPScriptingVariableScope AT_END_LITERAL = new JSPScriptingVariableScope(AT_END, "AT_END", "AT_END");//$NON-NLS-1$ - - /** - * An array of all the '<em><b>JSP Scripting Variable Scope</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static final JSPScriptingVariableScope[] VALUES_ARRAY = - new JSPScriptingVariableScope[] { - NESTED_LITERAL, - AT_BEGIN_LITERAL, - AT_END_LITERAL, - }; - - /** - * A public read-only list of all the '<em><b>JSP Scripting Variable Scope</b></em>' enumerators. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); - - /** - * Returns the '<em><b>JSP Scripting Variable Scope</b></em>' literal with the specified literal value. - * <!-- begin-user-doc --> - * @param name passes literal name - * @return literal instance - * <!-- end-user-doc --> - * @generated - */ - public static JSPScriptingVariableScope get(String literal) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - JSPScriptingVariableScope result = VALUES_ARRAY[i]; - if (result.toString().equals(literal)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>JSP Scripting Variable Scope</b></em>' literal with the specified name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JSPScriptingVariableScope getByName(String name) { - for (int i = 0; i < VALUES_ARRAY.length; ++i) { - JSPScriptingVariableScope result = VALUES_ARRAY[i]; - if (result.getName().equals(name)) { - return result; - } - } - return null; - } - - /** - * Returns the '<em><b>JSP Scripting Variable Scope</b></em>' literal with the specified integer value. - * <!-- begin-user-doc --> - * @param value passes literal value - * @return literal instance - * <!-- end-user-doc --> - * @generated - */ - public static JSPScriptingVariableScope get(int value) { - switch (value) { - case NESTED: return NESTED_LITERAL; - case AT_BEGIN: return AT_BEGIN_LITERAL; - case AT_END: return AT_END_LITERAL; - } - return null; - } - - /** - * Only this class can construct instances. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private JSPScriptingVariableScope(int value, String name, String literal) { - super(value, name, literal); - } - -} //JSPScriptingVariableScope - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPTag.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPTag.java deleted file mode 100644 index dca76bcb4..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPTag.java +++ /dev/null @@ -1,227 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.DescriptionGroup; - - -/** - * The tag element defines an action in this tag library. The tag element has one attribute, id. - * The tag element may have several subelements defining: - * name -- The unique action name - * tag-class -- The tag handler class implementing javax.servlet.jsp.tagext.Tag - * tei-class -- An optional subclass of javax.servlet.jsp.tagext.TagExtraInfo - * body-content -- The body content type - * display-name -- A short name that is intended to be displayed by tools - * small-icon -- Optional small-icon that can be used by tools - * large-icon -- Optional large-icon that can be used by tools - * description -- Optional tag-specific information - * variable -- Optional scripting variable information - * attribute -- All attributes of this action - * example -- Optional informal description of an example of a use of this action. - - */ -public interface JSPTag extends DescriptionGroup { - /** - * @generated This field/method will be replaced during code generation - * @return The value of the BodyContent attribute - * Provides a hint as to the content of the body of this tag. Primarily intended - * for use by page composition tools.There are currently three values specified: - * - * tagdependent - The body of the tag is interpreted by the tag implementation - * itself, and is most likely in a different "langage", e.g embedded SQL - * statements. - * - * JSP - The body of the tag contains nested JSP syntax - * - * empty - The body must be emptyThe default (if not defined) is JSP#PCDATA ::= - * tagdependent | JSP | empty - */ - BodyContentType getBodyContent(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getBodyContent <em>Body Content</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Body Content</em>' attribute. - * @see org.eclipse.jst.j2ee.taglib.internal.BodyContentType - * @see #isSetBodyContent() - * @see #unsetBodyContent() - * @see #getBodyContent() - * @generated - */ - void setBodyContent(BodyContentType value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getBodyContent <em>Body Content</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetBodyContent() - * @see #getBodyContent() - * @see #setBodyContent(BodyContentType) - * @generated - */ - void unsetBodyContent(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getBodyContent <em>Body Content</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Body Content</em>' attribute is set. - * @see #unsetBodyContent() - * @see #getBodyContent() - * @see #setBodyContent(BodyContentType) - * @generated - */ - boolean isSetBodyContent(); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Example attribute - * The example element provides an informal description of an example of the use - * of a tag. - */ - String getExample(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Example attribute - */ - void setExample(String value); - - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getJSPTag_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Dynamic Attributes</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Dynamic Attributes</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Dynamic Attributes</em>' attribute. - * @see #setDynamicAttributes(boolean) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getJSPTag_DynamicAttributes() - * @model - * @generated - */ - boolean isDynamicAttributes(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#isDynamicAttributes <em>Dynamic Attributes</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Dynamic Attributes</em>' attribute. - * @see #isDynamicAttributes() - * @generated - */ - void setDynamicAttributes(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Attributes references - */ - EList getAttributes(); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Variables references - * The variable element provides information on the scripting variables defined by - * this tag. - * It is a (translation time) error for an action that has one or more variable - * subelements to have a TagExtraInfo class that returns a non-null object. - * The subelements of variable are of the form: - * name-given -- The variable name as a constant - * name-from-attribute -- The name of an attribute whose (translation time) value - * will give the name of the variable. One of name-given or namefrom-attribute is - * required. - * variable-class -- Name of the class of the variable. java.lang.String is - * default. - * declare -- Whether the variable is declared or not. True is the default. - * scope -- The scope of the scripting variable defined. NESTED is default. - - */ - EList getVariables(); - - /** - * @generated This field/method will be replaced during code generation - * @return The TagClass reference - * The tag-class element indicates the subclass of javax.serlvet.jsp.tagext.Tag - * that implements the request time semantics for this tag. This element is - * required. - * @regexp fully qualified Java class name - - */ - JavaClass getTagClass(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the TagClass reference - */ - void setTagClass(JavaClass value); - - /** - * @generated This field/method will be replaced during code generation - * @return The TeiClass reference - * The tei-class element indicates the subclass of - * javax.servlet.jsp.tagext.TagExtraInfo for this tag. The class is instantiated - * at translation time. This element is optional. - * @regexp fully qualified Java class name - */ - JavaClass getTeiClass(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the TeiClass reference - */ - void setTeiClass(JavaClass value); - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPTagAttribute.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPTagAttribute.java deleted file mode 100644 index 4545ec86e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPTagAttribute.java +++ /dev/null @@ -1,187 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.J2EEEObject; - -/** - * The attribute tag defines an attribute for the nesting tag - * @generated - */ -public interface JSPTagAttribute extends J2EEEObject { - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Name attribute - * Defines the canonical name of a tag or attribute being defined (required). - */ - String getName(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Name attribute - */ - void setName(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Required attribute - * Defines if the nesting attribute is required or optional. - */ - boolean isRequired(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Required attribute - */ - void setRequired(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRequired <em>Required</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetRequired() - * @see #isRequired() - * @see #setRequired(boolean) - * @generated - */ - void unsetRequired(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRequired <em>Required</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Required</em>' attribute is set. - * @see #unsetRequired() - * @see #isRequired() - * @see #setRequired(boolean) - * @generated - */ - boolean isSetRequired(); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the RtExprValue attribute - * Defines if the nesting attribute can have scriptlet expressions asa value, i.e - * the value of the attribute may be dynamically calculatedat request time, as - * opposed to a static value determined at translationtime. (optional) - * Default = false - */ - boolean isRtExprValue(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the RtExprValue attribute - */ - void setRtExprValue(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRtExprValue <em>Rt Expr Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetRtExprValue() - * @see #isRtExprValue() - * @see #setRtExprValue(boolean) - * @generated - */ - void unsetRtExprValue(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRtExprValue <em>Rt Expr Value</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Rt Expr Value</em>' attribute is set. - * @see #unsetRtExprValue() - * @see #isRtExprValue() - * @see #setRtExprValue(boolean) - * @generated - */ - boolean isSetRtExprValue(); - - /** - * Returns the value of the '<em><b>Fragment</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Fragment</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * @version J2EE1.4 - * <!-- end-model-doc --> - * @return the value of the '<em>Fragment</em>' attribute. - * @see #setFragment(boolean) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getJSPTagAttribute_Fragment() - * @model - * @generated - */ - boolean isFragment(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isFragment <em>Fragment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Fragment</em>' attribute. - * @see #isFragment() - * @generated - */ - void setFragment(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The Type reference - * The value of the type element describes the Java type of the attributes value. - * For static values (those determined at translation time) the type is always - * java.lang.String. - */ - JavaClass getType(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the Type reference - */ - void setType(JavaClass value); - - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * @version J2EE1.4 - * <!-- end-model-doc --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getJSPTagAttribute_Descriptions() - * @model type="org.eclipse.jst.j2ee.common.Description" containment="true" - * @generated - */ - EList getDescriptions(); - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPVariable.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPVariable.java deleted file mode 100644 index ec4a4db31..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/JSPVariable.java +++ /dev/null @@ -1,125 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.J2EEEObject; - -/** - * @generated - */ -public interface JSPVariable extends J2EEEObject { - /** - * @generated This field/method will be replaced during code generation - * @return The value of the NameGiven attribute - * The name-given element provides the name for the scripting variable. - * - * One of name-given or name-from-attribute is required. - */ - String getNameGiven(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the NameGiven attribute - */ - void setNameGiven(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the NameFromAttribute attribute - * The name of an attribute whose (translation-time) value will give the name of - * the variable. - */ - String getNameFromAttribute(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the NameFromAttribute attribute - */ - void setNameFromAttribute(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Declare attribute - * The value of the declare element indicates whether the scripting variable is to - * be defined or not. See TagExtraInfo for details. - * This element is optional and is the default is true. - - */ - boolean isDeclare(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Declare attribute - */ - void setDeclare(boolean value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Scope attribute - */ - JSPScriptingVariableScope getScope(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getScope <em>Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Scope</em>' attribute. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope - * @see #getScope() - * @generated - */ - void setScope(JSPScriptingVariableScope value); - - /** - * @generated This field/method will be replaced during code generation - * @return The VariableClass reference - */ - JavaClass getVariableClass(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the VariableClass reference - */ - void setVariableClass(JavaClass value); - - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getJSPVariable_Descriptions() - * @model type="org.eclipse.jst.j2ee.common.Description" containment="true" - * @generated - */ - EList getDescriptions(); - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TagFile.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TagFile.java deleted file mode 100644 index af444e887..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TagFile.java +++ /dev/null @@ -1,148 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jst.j2ee.common.DescriptionGroup; - - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Tag File</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * @version J2EE1.4 - * Defines an action in this tag library that is implemented - * as a .tag file. - * - * The tag-file element has two required subelements: - * - * name The unique action name - * - * path Where to find the .tag file implementing this - * action, relative to the root of the web application or - * the root of the JAR file for a tag library packaged in - * a JAR. This must begin with /WEB-INF/tags if the .tag - * file resides in the WAR, or /META-INF/tags if the .tag - * file resides in a JAR. - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getPath <em>Path</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getExample <em>Example</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getTagExtensions <em>Tag Extensions</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagFile() - * @model - * @generated - */ -public interface TagFile extends DescriptionGroup { - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagFile_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getName <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Path</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Path</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Path</em>' attribute. - * @see #setPath(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagFile_Path() - * @model - * @generated - */ - String getPath(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getPath <em>Path</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Path</em>' attribute. - * @see #getPath() - * @generated - */ - void setPath(String value); - - /** - * Returns the value of the '<em><b>Example</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Example</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Example</em>' attribute. - * @see #setExample(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagFile_Example() - * @model - * @generated - */ - String getExample(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getExample <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Example</em>' attribute. - * @see #getExample() - * @generated - */ - void setExample(String value); - - /** - * Returns the value of the '<em><b>Tag Extensions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.taglib.internal.TldExtension}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Tag Extensions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Tag Extensions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagFile_TagExtensions() - * @model type="org.eclipse.jst.j2ee.taglib.internal.TldExtension" containment="true" - * @generated - */ - EList getTagExtensions(); - -} // TagFile diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TagLib.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TagLib.java deleted file mode 100644 index 8a598729d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TagLib.java +++ /dev/null @@ -1,162 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup; - -/** - * The taglib tag is the document root. - - */ -public interface TagLib extends CompatibilityDescriptionGroup { - /** - * These values are used in the deployment descriptor, use getVersionID() to determine module versions - * @generated This field/method will be replaced during code generation - * @return The value of the TagLibVersion attribute - * Describes this version number of the tag library (dewey decimal). - * @regexp [0-9]*{ "."[0-9] }0..3 - */ - String getTagLibVersion(); - - /** - * This returns the module version id. Compare with J2EEVersionConstants to determine module level - */ - public int getVersionID() throws IllegalStateException ; - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the TagLibVersion attribute - */ - void setTagLibVersion(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the JspVersion attribute - * Describes the JSP version (number) this tag library requires in order to - * function (dewey decimal). Default is 1.2 - * @regexp [0-9]*{ "."[0-9] }0..3 - */ - String getJspVersion(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the JspVersion attribute - */ - void setJspVersion(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the ShortName attribute - * The value of the short-name element is a name that could be used by a JSP - * authoring tool to create names with a mnemonic value; for example, it may be - * used as the prefered prefix value in taglib directives. Do not use white space, - * and do not start with digits or underscore. - */ - String getShortName(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the ShortName attribute - */ - void setShortName(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The value of the Uri attribute - * The value of the uri element is a public URI that uniquely identifies the exact - * semantics of this taglibrary. - */ - String getUri(); - - /** - * @generated This field/method will be replaced during code generation - * @param value The new value of the Uri attribute - */ - void setUri(String value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Tags references - */ - EList getTags(); - - /** - * @generated This field/method will be replaced during code generation - * @return The Validator reference - * The validator element provides information on an optional validator that can be - * used to validate the conformance of a JSP page to using this tag library. - - */ - Validator getValidator(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the Validator reference - */ - void setValidator(Validator value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of Listeners references - */ - EList getListeners(); - - /** - * Returns the value of the '<em><b>Functions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.taglib.internal.Function}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Functions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * @version J2EE1.4 - * <!-- end-model-doc --> - * @return the value of the '<em>Functions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagLib_Functions() - * @model type="org.eclipse.jst.j2ee.taglib.internal.Function" containment="true" - * @generated - */ - EList getFunctions(); - - /** - * Returns the value of the '<em><b>Taglib Extensions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.taglib.internal.TldExtension}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Taglib Extensions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Taglib Extensions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTagLib_TaglibExtensions() - * @model type="org.eclipse.jst.j2ee.taglib.internal.TldExtension" containment="true" - * @generated - */ - EList getTaglibExtensions(); - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TaglibFactory.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TaglibFactory.java deleted file mode 100644 index fafd5ee8d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TaglibFactory.java +++ /dev/null @@ -1,113 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.ecore.EFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage - * @generated - */ -public interface TaglibFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - TaglibFactory eINSTANCE = org.eclipse.jst.j2ee.taglib.internal.impl.TaglibFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Tag Lib</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Tag Lib</em>'. - * @generated - */ - TagLib createTagLib(); - - /** - * Returns a new object of class '<em>JSP Tag</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>JSP Tag</em>'. - * @generated - */ - JSPTag createJSPTag(); - - /** - * Returns a new object of class '<em>JSP Tag Attribute</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>JSP Tag Attribute</em>'. - * @generated - */ - JSPTagAttribute createJSPTagAttribute(); - - /** - * Returns a new object of class '<em>Validator</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Validator</em>'. - * @generated - */ - Validator createValidator(); - - /** - * Returns a new object of class '<em>JSP Variable</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>JSP Variable</em>'. - * @generated - */ - JSPVariable createJSPVariable(); - - /** - * Returns a new object of class '<em>Function</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Function</em>'. - * @generated - */ - Function createFunction(); - - /** - * Returns a new object of class '<em>Tag File</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Tag File</em>'. - * @generated - */ - TagFile createTagFile(); - - /** - * Returns a new object of class '<em>Tld Extension</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Tld Extension</em>'. - * @generated - */ - TldExtension createTldExtension(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - TaglibPackage getTaglibPackage(); - -} //TaglibFactory diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TaglibPackage.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TaglibPackage.java deleted file mode 100644 index ca83e8474..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TaglibPackage.java +++ /dev/null @@ -1,1880 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2005, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.jst.j2ee.common.CommonPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.TaglibFactory - * @model kind="package" - * @generated - */ -public interface TaglibPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "taglib"; - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "taglib.xmi"; - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "org.eclipse.jst.j2ee.taglib"; - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - TaglibPackage eINSTANCE = org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagLibImpl <em>Tag Lib</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TagLibImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getTagLib() - * @generated - */ - int TAG_LIB = 0; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__ICONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__ICONS; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__DISPLAY_NAMES = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DISPLAY_NAMES; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__DESCRIPTIONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DESCRIPTIONS; - - /** - * The feature id for the '<em><b>Small Icon</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__SMALL_ICON = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__SMALL_ICON; - - /** - * The feature id for the '<em><b>Large Icon</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__LARGE_ICON = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__LARGE_ICON; - - /** - * The feature id for the '<em><b>Description</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__DESCRIPTION = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DESCRIPTION; - - /** - * The feature id for the '<em><b>Display Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__DISPLAY_NAME = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP__DISPLAY_NAME; - - /** - * The feature id for the '<em><b>Tag Lib Version</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__TAG_LIB_VERSION = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Jsp Version</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__JSP_VERSION = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Short Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__SHORT_NAME = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Uri</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__URI = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Tags</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__TAGS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Validator</b></em>' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__VALIDATOR = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 5; - - /** - * The feature id for the '<em><b>Listeners</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__LISTENERS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 6; - - /** - * The feature id for the '<em><b>Functions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__FUNCTIONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 7; - - /** - * The feature id for the '<em><b>Taglib Extensions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__TAGLIB_EXTENSIONS = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 8; - - /** - * The number of structural features of the '<em>Tag Lib</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB_FEATURE_COUNT = CommonPackage.COMPATIBILITY_DESCRIPTION_GROUP_FEATURE_COUNT + 9; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagImpl <em>JSP Tag</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPTag() - * @generated - */ - int JSP_TAG = 1; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__ICONS = CommonPackage.DESCRIPTION_GROUP__ICONS; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__DISPLAY_NAMES = CommonPackage.DESCRIPTION_GROUP__DISPLAY_NAMES; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__DESCRIPTIONS = CommonPackage.DESCRIPTION_GROUP__DESCRIPTIONS; - - /** - * The feature id for the '<em><b>Body Content</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__BODY_CONTENT = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Example</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__EXAMPLE = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__NAME = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Dynamic Attributes</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__DYNAMIC_ATTRIBUTES = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Attributes</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__ATTRIBUTES = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Variables</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__VARIABLES = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 5; - - /** - * The feature id for the '<em><b>Tag Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__TAG_CLASS = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 6; - - /** - * The feature id for the '<em><b>Tei Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG__TEI_CLASS = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 7; - - /** - * The number of structural features of the '<em>JSP Tag</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_FEATURE_COUNT = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 8; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagAttributeImpl <em>JSP Tag Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagAttributeImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPTagAttribute() - * @generated - */ - int JSP_TAG_ATTRIBUTE = 2; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE__NAME = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Required</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE__REQUIRED = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Rt Expr Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Fragment</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE__FRAGMENT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Type</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE__TYPE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE__DESCRIPTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 5; - - /** - * The number of structural features of the '<em>JSP Tag Attribute</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_TAG_ATTRIBUTE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 6; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.ValidatorImpl <em>Validator</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.ValidatorImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getValidator() - * @generated - */ - int VALIDATOR = 3; - - /** - * The feature id for the '<em><b>Validator Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALIDATOR__VALIDATOR_CLASS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Init Params</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALIDATOR__INIT_PARAMS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALIDATOR__DESCRIPTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2; - - /** - * The number of structural features of the '<em>Validator</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int VALIDATOR_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.JSPVariableImpl <em>JSP Variable</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.JSPVariableImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPVariable() - * @generated - */ - int JSP_VARIABLE = 4; - - /** - * The feature id for the '<em><b>Name Given</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE__NAME_GIVEN = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Name From Attribute</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE__NAME_FROM_ATTRIBUTE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Declare</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE__DECLARE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Scope</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE__SCOPE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Variable Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE__VARIABLE_CLASS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 4; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE__DESCRIPTIONS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 5; - - /** - * The number of structural features of the '<em>JSP Variable</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_VARIABLE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 6; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl <em>Function</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getFunction() - * @generated - */ - int FUNCTION = 5; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__ICONS = CommonPackage.DESCRIPTION_GROUP__ICONS; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__DISPLAY_NAMES = CommonPackage.DESCRIPTION_GROUP__DISPLAY_NAMES; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__DESCRIPTIONS = CommonPackage.DESCRIPTION_GROUP__DESCRIPTIONS; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__NAME = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Signature</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__SIGNATURE = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Example</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__EXAMPLE = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Function Class</b></em>' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__FUNCTION_CLASS = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 3; - - /** - * The feature id for the '<em><b>Function Extensions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION__FUNCTION_EXTENSIONS = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 4; - - /** - * The number of structural features of the '<em>Function</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int FUNCTION_FEATURE_COUNT = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 5; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl <em>Tag File</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getTagFile() - * @generated - */ - int TAG_FILE = 6; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__ICONS = CommonPackage.DESCRIPTION_GROUP__ICONS; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__DISPLAY_NAMES = CommonPackage.DESCRIPTION_GROUP__DISPLAY_NAMES; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__DESCRIPTIONS = CommonPackage.DESCRIPTION_GROUP__DESCRIPTIONS; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__NAME = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Path</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__PATH = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 1; - - /** - * The feature id for the '<em><b>Example</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__EXAMPLE = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 2; - - /** - * The feature id for the '<em><b>Tag Extensions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE__TAG_EXTENSIONS = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 3; - - /** - * The number of structural features of the '<em>Tag File</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_FILE_FEATURE_COUNT = CommonPackage.DESCRIPTION_GROUP_FEATURE_COUNT + 4; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.TldExtensionImpl <em>Tld Extension</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TldExtensionImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getTldExtension() - * @generated - */ - int TLD_EXTENSION = 7; - - /** - * The feature id for the '<em><b>Namespace</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TLD_EXTENSION__NAMESPACE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0; - - /** - * The feature id for the '<em><b>Extension Elements</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TLD_EXTENSION__EXTENSION_ELEMENTS = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1; - - /** - * The number of structural features of the '<em>Tld Extension</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TLD_EXTENSION_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 2; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.ExtensibleTypeImpl <em>Extensible Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.ExtensibleTypeImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getExtensibleType() - * @generated - */ - int EXTENSIBLE_TYPE = 8; - - /** - * The feature id for the '<em><b>Value</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENSIBLE_TYPE__VALUE = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 0; - - /** - * The number of structural features of the '<em>Extensible Type</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int EXTENSIBLE_TYPE_FEATURE_COUNT = CommonPackage.J2EEE_OBJECT_FEATURE_COUNT + 1; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.BodyContentType <em>Body Content Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.BodyContentType - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getBodyContentType() - * @generated - */ - int BODY_CONTENT_TYPE = 9; - - /** - * The meta object id for the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope <em>JSP Scripting Variable Scope</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPScriptingVariableScope() - * @generated - */ - int JSP_SCRIPTING_VARIABLE_SCOPE = 10; - - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib <em>Tag Lib</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Tag Lib</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib - * @generated - */ - EClass getTagLib(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getTagLibVersion <em>Tag Lib Version</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Tag Lib Version</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getTagLibVersion() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_TagLibVersion(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getJspVersion <em>Jsp Version</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Jsp Version</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getJspVersion() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_JspVersion(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getShortName <em>Short Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Short Name</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getShortName() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_ShortName(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getUri <em>Uri</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Uri</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getUri() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_Uri(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getTags <em>Tags</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Tags</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getTags() - * @see #getTagLib() - * @generated - */ - EReference getTagLib_Tags(); - - /** - * Returns the meta object for the containment reference '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getValidator <em>Validator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference '<em>Validator</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getValidator() - * @see #getTagLib() - * @generated - */ - EReference getTagLib_Validator(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getListeners <em>Listeners</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Listeners</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getListeners() - * @see #getTagLib() - * @generated - */ - EReference getTagLib_Listeners(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getFunctions <em>Functions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Functions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getFunctions() - * @see #getTagLib() - * @generated - */ - EReference getTagLib_Functions(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.TagLib#getTaglibExtensions <em>Taglib Extensions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Taglib Extensions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagLib#getTaglibExtensions() - * @see #getTagLib() - * @generated - */ - EReference getTagLib_TaglibExtensions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag <em>JSP Tag</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>JSP Tag</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag - * @generated - */ - EClass getJSPTag(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getBodyContent <em>Body Content</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Body Content</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getBodyContent() - * @see #getJSPTag() - * @generated - */ - EAttribute getJSPTag_BodyContent(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getExample <em>Example</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Example</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getExample() - * @see #getJSPTag() - * @generated - */ - EAttribute getJSPTag_Example(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getName() - * @see #getJSPTag() - * @generated - */ - EAttribute getJSPTag_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#isDynamicAttributes <em>Dynamic Attributes</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Dynamic Attributes</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#isDynamicAttributes() - * @see #getJSPTag() - * @generated - */ - EAttribute getJSPTag_DynamicAttributes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getAttributes <em>Attributes</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Attributes</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getAttributes() - * @see #getJSPTag() - * @generated - */ - EReference getJSPTag_Attributes(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getVariables <em>Variables</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Variables</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getVariables() - * @see #getJSPTag() - * @generated - */ - EReference getJSPTag_Variables(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getTagClass <em>Tag Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Tag Class</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getTagClass() - * @see #getJSPTag() - * @generated - */ - EReference getJSPTag_TagClass(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTag#getTeiClass <em>Tei Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Tei Class</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTag#getTeiClass() - * @see #getJSPTag() - * @generated - */ - EReference getJSPTag_TeiClass(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute <em>JSP Tag Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>JSP Tag Attribute</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute - * @generated - */ - EClass getJSPTagAttribute(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#getName() - * @see #getJSPTagAttribute() - * @generated - */ - EAttribute getJSPTagAttribute_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRequired <em>Required</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Required</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRequired() - * @see #getJSPTagAttribute() - * @generated - */ - EAttribute getJSPTagAttribute_Required(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRtExprValue <em>Rt Expr Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Rt Expr Value</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isRtExprValue() - * @see #getJSPTagAttribute() - * @generated - */ - EAttribute getJSPTagAttribute_RtExprValue(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isFragment <em>Fragment</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Fragment</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#isFragment() - * @see #getJSPTagAttribute() - * @generated - */ - EAttribute getJSPTagAttribute_Fragment(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#getType <em>Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Type</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#getType() - * @see #getJSPTagAttribute() - * @generated - */ - EReference getJSPTagAttribute_Type(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#getDescriptions <em>Descriptions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Descriptions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute#getDescriptions() - * @see #getJSPTagAttribute() - * @generated - */ - EReference getJSPTagAttribute_Descriptions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.Validator <em>Validator</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Validator</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Validator - * @generated - */ - EClass getValidator(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jst.j2ee.taglib.internal.Validator#getValidatorClass <em>Validator Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Validator Class</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Validator#getValidatorClass() - * @see #getValidator() - * @generated - */ - EReference getValidator_ValidatorClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.Validator#getInitParams <em>Init Params</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Init Params</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Validator#getInitParams() - * @see #getValidator() - * @generated - */ - EReference getValidator_InitParams(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.Validator#getDescriptions <em>Descriptions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Descriptions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Validator#getDescriptions() - * @see #getValidator() - * @generated - */ - EReference getValidator_Descriptions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable <em>JSP Variable</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>JSP Variable</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable - * @generated - */ - EClass getJSPVariable(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getNameGiven <em>Name Given</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name Given</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getNameGiven() - * @see #getJSPVariable() - * @generated - */ - EAttribute getJSPVariable_NameGiven(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getNameFromAttribute <em>Name From Attribute</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name From Attribute</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getNameFromAttribute() - * @see #getJSPVariable() - * @generated - */ - EAttribute getJSPVariable_NameFromAttribute(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#isDeclare <em>Declare</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Declare</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable#isDeclare() - * @see #getJSPVariable() - * @generated - */ - EAttribute getJSPVariable_Declare(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getScope <em>Scope</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Scope</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getScope() - * @see #getJSPVariable() - * @generated - */ - EAttribute getJSPVariable_Scope(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getVariableClass <em>Variable Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Variable Class</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getVariableClass() - * @see #getJSPVariable() - * @generated - */ - EReference getJSPVariable_VariableClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getDescriptions <em>Descriptions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Descriptions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPVariable#getDescriptions() - * @see #getJSPVariable() - * @generated - */ - EReference getJSPVariable_Descriptions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.Function <em>Function</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Function</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Function - * @generated - */ - EClass getFunction(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Function#getName() - * @see #getFunction() - * @generated - */ - EAttribute getFunction_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getSignature <em>Signature</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Signature</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Function#getSignature() - * @see #getFunction() - * @generated - */ - EAttribute getFunction_Signature(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getExample <em>Example</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Example</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Function#getExample() - * @see #getFunction() - * @generated - */ - EAttribute getFunction_Example(); - - /** - * Returns the meta object for the reference '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionClass <em>Function Class</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the reference '<em>Function Class</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionClass() - * @see #getFunction() - * @generated - */ - EReference getFunction_FunctionClass(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionExtensions <em>Function Extensions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Function Extensions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.Function#getFunctionExtensions() - * @see #getFunction() - * @generated - */ - EReference getFunction_FunctionExtensions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile <em>Tag File</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Tag File</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagFile - * @generated - */ - EClass getTagFile(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getName <em>Name</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Name</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagFile#getName() - * @see #getTagFile() - * @generated - */ - EAttribute getTagFile_Name(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getPath <em>Path</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Path</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagFile#getPath() - * @see #getTagFile() - * @generated - */ - EAttribute getTagFile_Path(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getExample <em>Example</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Example</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagFile#getExample() - * @see #getTagFile() - * @generated - */ - EAttribute getTagFile_Example(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile#getTagExtensions <em>Tag Extensions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Tag Extensions</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TagFile#getTagExtensions() - * @see #getTagFile() - * @generated - */ - EReference getTagFile_TagExtensions(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension <em>Tld Extension</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Tld Extension</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TldExtension - * @generated - */ - EClass getTldExtension(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension#getNamespace <em>Namespace</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Namespace</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TldExtension#getNamespace() - * @see #getTldExtension() - * @generated - */ - EAttribute getTldExtension_Namespace(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension#getExtensionElements <em>Extension Elements</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Extension Elements</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.TldExtension#getExtensionElements() - * @see #getTldExtension() - * @generated - */ - EReference getTldExtension_ExtensionElements(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.j2ee.taglib.internal.ExtensibleType <em>Extensible Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Extensible Type</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.ExtensibleType - * @generated - */ - EClass getExtensibleType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.j2ee.taglib.internal.ExtensibleType#getValue <em>Value</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Value</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.ExtensibleType#getValue() - * @see #getExtensibleType() - * @generated - */ - EAttribute getExtensibleType_Value(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.j2ee.taglib.internal.BodyContentType <em>Body Content Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>Body Content Type</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.BodyContentType - * @generated - */ - EEnum getBodyContentType(); - - /** - * Returns the meta object for enum '{@link org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope <em>JSP Scripting Variable Scope</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for enum '<em>JSP Scripting Variable Scope</em>'. - * @see org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope - * @generated - */ - EEnum getJSPScriptingVariableScope(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - TaglibFactory getTaglibFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagLibImpl <em>Tag Lib</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TagLibImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getTagLib() - * @generated - */ - EClass TAG_LIB = eINSTANCE.getTagLib(); - - /** - * The meta object literal for the '<em><b>Tag Lib Version</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__TAG_LIB_VERSION = eINSTANCE.getTagLib_TagLibVersion(); - - /** - * The meta object literal for the '<em><b>Jsp Version</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__JSP_VERSION = eINSTANCE.getTagLib_JspVersion(); - - /** - * The meta object literal for the '<em><b>Short Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__SHORT_NAME = eINSTANCE.getTagLib_ShortName(); - - /** - * The meta object literal for the '<em><b>Uri</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__URI = eINSTANCE.getTagLib_Uri(); - - /** - * The meta object literal for the '<em><b>Tags</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TAG_LIB__TAGS = eINSTANCE.getTagLib_Tags(); - - /** - * The meta object literal for the '<em><b>Validator</b></em>' containment reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TAG_LIB__VALIDATOR = eINSTANCE.getTagLib_Validator(); - - /** - * The meta object literal for the '<em><b>Listeners</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TAG_LIB__LISTENERS = eINSTANCE.getTagLib_Listeners(); - - /** - * The meta object literal for the '<em><b>Functions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TAG_LIB__FUNCTIONS = eINSTANCE.getTagLib_Functions(); - - /** - * The meta object literal for the '<em><b>Taglib Extensions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TAG_LIB__TAGLIB_EXTENSIONS = eINSTANCE.getTagLib_TaglibExtensions(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagImpl <em>JSP Tag</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPTag() - * @generated - */ - EClass JSP_TAG = eINSTANCE.getJSPTag(); - - /** - * The meta object literal for the '<em><b>Body Content</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG__BODY_CONTENT = eINSTANCE.getJSPTag_BodyContent(); - - /** - * The meta object literal for the '<em><b>Example</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG__EXAMPLE = eINSTANCE.getJSPTag_Example(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG__NAME = eINSTANCE.getJSPTag_Name(); - - /** - * The meta object literal for the '<em><b>Dynamic Attributes</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG__DYNAMIC_ATTRIBUTES = eINSTANCE.getJSPTag_DynamicAttributes(); - - /** - * The meta object literal for the '<em><b>Attributes</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_TAG__ATTRIBUTES = eINSTANCE.getJSPTag_Attributes(); - - /** - * The meta object literal for the '<em><b>Variables</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_TAG__VARIABLES = eINSTANCE.getJSPTag_Variables(); - - /** - * The meta object literal for the '<em><b>Tag Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_TAG__TAG_CLASS = eINSTANCE.getJSPTag_TagClass(); - - /** - * The meta object literal for the '<em><b>Tei Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_TAG__TEI_CLASS = eINSTANCE.getJSPTag_TeiClass(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagAttributeImpl <em>JSP Tag Attribute</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.JSPTagAttributeImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPTagAttribute() - * @generated - */ - EClass JSP_TAG_ATTRIBUTE = eINSTANCE.getJSPTagAttribute(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG_ATTRIBUTE__NAME = eINSTANCE.getJSPTagAttribute_Name(); - - /** - * The meta object literal for the '<em><b>Required</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG_ATTRIBUTE__REQUIRED = eINSTANCE.getJSPTagAttribute_Required(); - - /** - * The meta object literal for the '<em><b>Rt Expr Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE = eINSTANCE.getJSPTagAttribute_RtExprValue(); - - /** - * The meta object literal for the '<em><b>Fragment</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_TAG_ATTRIBUTE__FRAGMENT = eINSTANCE.getJSPTagAttribute_Fragment(); - - /** - * The meta object literal for the '<em><b>Type</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_TAG_ATTRIBUTE__TYPE = eINSTANCE.getJSPTagAttribute_Type(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_TAG_ATTRIBUTE__DESCRIPTIONS = eINSTANCE.getJSPTagAttribute_Descriptions(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.ValidatorImpl <em>Validator</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.ValidatorImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getValidator() - * @generated - */ - EClass VALIDATOR = eINSTANCE.getValidator(); - - /** - * The meta object literal for the '<em><b>Validator Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VALIDATOR__VALIDATOR_CLASS = eINSTANCE.getValidator_ValidatorClass(); - - /** - * The meta object literal for the '<em><b>Init Params</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VALIDATOR__INIT_PARAMS = eINSTANCE.getValidator_InitParams(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference VALIDATOR__DESCRIPTIONS = eINSTANCE.getValidator_Descriptions(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.JSPVariableImpl <em>JSP Variable</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.JSPVariableImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPVariable() - * @generated - */ - EClass JSP_VARIABLE = eINSTANCE.getJSPVariable(); - - /** - * The meta object literal for the '<em><b>Name Given</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_VARIABLE__NAME_GIVEN = eINSTANCE.getJSPVariable_NameGiven(); - - /** - * The meta object literal for the '<em><b>Name From Attribute</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_VARIABLE__NAME_FROM_ATTRIBUTE = eINSTANCE.getJSPVariable_NameFromAttribute(); - - /** - * The meta object literal for the '<em><b>Declare</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_VARIABLE__DECLARE = eINSTANCE.getJSPVariable_Declare(); - - /** - * The meta object literal for the '<em><b>Scope</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_VARIABLE__SCOPE = eINSTANCE.getJSPVariable_Scope(); - - /** - * The meta object literal for the '<em><b>Variable Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_VARIABLE__VARIABLE_CLASS = eINSTANCE.getJSPVariable_VariableClass(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_VARIABLE__DESCRIPTIONS = eINSTANCE.getJSPVariable_Descriptions(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl <em>Function</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getFunction() - * @generated - */ - EClass FUNCTION = eINSTANCE.getFunction(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FUNCTION__NAME = eINSTANCE.getFunction_Name(); - - /** - * The meta object literal for the '<em><b>Signature</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FUNCTION__SIGNATURE = eINSTANCE.getFunction_Signature(); - - /** - * The meta object literal for the '<em><b>Example</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute FUNCTION__EXAMPLE = eINSTANCE.getFunction_Example(); - - /** - * The meta object literal for the '<em><b>Function Class</b></em>' reference feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FUNCTION__FUNCTION_CLASS = eINSTANCE.getFunction_FunctionClass(); - - /** - * The meta object literal for the '<em><b>Function Extensions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference FUNCTION__FUNCTION_EXTENSIONS = eINSTANCE.getFunction_FunctionExtensions(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl <em>Tag File</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getTagFile() - * @generated - */ - EClass TAG_FILE = eINSTANCE.getTagFile(); - - /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_FILE__NAME = eINSTANCE.getTagFile_Name(); - - /** - * The meta object literal for the '<em><b>Path</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_FILE__PATH = eINSTANCE.getTagFile_Path(); - - /** - * The meta object literal for the '<em><b>Example</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_FILE__EXAMPLE = eINSTANCE.getTagFile_Example(); - - /** - * The meta object literal for the '<em><b>Tag Extensions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TAG_FILE__TAG_EXTENSIONS = eINSTANCE.getTagFile_TagExtensions(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.TldExtensionImpl <em>Tld Extension</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TldExtensionImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getTldExtension() - * @generated - */ - EClass TLD_EXTENSION = eINSTANCE.getTldExtension(); - - /** - * The meta object literal for the '<em><b>Namespace</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TLD_EXTENSION__NAMESPACE = eINSTANCE.getTldExtension_Namespace(); - - /** - * The meta object literal for the '<em><b>Extension Elements</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference TLD_EXTENSION__EXTENSION_ELEMENTS = eINSTANCE.getTldExtension_ExtensionElements(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.impl.ExtensibleTypeImpl <em>Extensible Type</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.impl.ExtensibleTypeImpl - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getExtensibleType() - * @generated - */ - EClass EXTENSIBLE_TYPE = eINSTANCE.getExtensibleType(); - - /** - * The meta object literal for the '<em><b>Value</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute EXTENSIBLE_TYPE__VALUE = eINSTANCE.getExtensibleType_Value(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.BodyContentType <em>Body Content Type</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.BodyContentType - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getBodyContentType() - * @generated - */ - EEnum BODY_CONTENT_TYPE = eINSTANCE.getBodyContentType(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope <em>JSP Scripting Variable Scope</em>}' enum. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope - * @see org.eclipse.jst.j2ee.taglib.internal.impl.TaglibPackageImpl#getJSPScriptingVariableScope() - * @generated - */ - EEnum JSP_SCRIPTING_VARIABLE_SCOPE = eINSTANCE.getJSPScriptingVariableScope(); - - } - -} //TaglibPackage diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TldExtension.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TldExtension.java deleted file mode 100644 index c11bd387a..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/TldExtension.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jst.j2ee.common.J2EEEObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Tld Extension</b></em>'. - * <!-- end-user-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension#getNamespace <em>Namespace</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension#getExtensionElements <em>Extension Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTldExtension() - * @model - * @generated - */ -public interface TldExtension extends J2EEEObject { - /** - * Returns the value of the '<em><b>Namespace</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Namespace</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Namespace</em>' attribute. - * @see #setNamespace(String) - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTldExtension_Namespace() - * @model - * @generated - */ - String getNamespace(); - - /** - * Sets the value of the '{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension#getNamespace <em>Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Namespace</em>' attribute. - * @see #getNamespace() - * @generated - */ - void setNamespace(String value); - - /** - * Returns the value of the '<em><b>Extension Elements</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.taglib.internal.ExtensibleType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Extension Elements</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Extension Elements</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getTldExtension_ExtensionElements() - * @model type="org.eclipse.jst.j2ee.taglib.internal.ExtensibleType" containment="true" required="true" - * @generated - */ - EList getExtensionElements(); - -} // TldExtension diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/Validator.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/Validator.java deleted file mode 100644 index 6b8eef529..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/Validator.java +++ /dev/null @@ -1,75 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.J2EEEObject; - -/** - * The validator element provides information on an optional validator that can be used to validate the conformance of a JSP page to using this tag library. - * @generated - */ -public interface Validator extends J2EEEObject { - /** - * @generated This field/method will be replaced during code generation - * @return The ValidatorClass reference - * defines the TagLibraryValidator class that can be - * used to validate the conformance of a JSP page to using this tag library. - */ - JavaClass getValidatorClass(); - - /** - * @generated This field/method will be replaced during code generation - * @param l The new value of the ValidatorClass reference - */ - void setValidatorClass(JavaClass value); - - /** - * @generated This field/method will be replaced during code generation - * @return The list of InitParams references - */ - EList getInitParams(); - - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * @version J2EE1.4 - * <!-- end-model-doc --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.j2ee.taglib.TaglibPackage#getValidator_Descriptions() - * @model type="org.eclipse.jst.j2ee.common.Description" containment="true" - * @generated - */ - EList getDescriptions(); - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ExtensibleTypeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ExtensibleTypeImpl.java deleted file mode 100644 index fd6d8c8cb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ExtensibleTypeImpl.java +++ /dev/null @@ -1,163 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.taglib.internal.ExtensibleType; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Extensible Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.ExtensibleTypeImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public abstract class ExtensibleTypeImpl extends J2EEEObjectImpl implements ExtensibleType { - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ExtensibleTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.EXTENSIBLE_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.EXTENSIBLE_TYPE__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.EXTENSIBLE_TYPE__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.EXTENSIBLE_TYPE__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.EXTENSIBLE_TYPE__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.EXTENSIBLE_TYPE__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (value: "); - result.append(value); - result.append(')'); - return result.toString(); - } - -} //ExtensibleTypeImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/FunctionImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/FunctionImpl.java deleted file mode 100644 index b90242edf..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/FunctionImpl.java +++ /dev/null @@ -1,387 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.internal.impl.DescriptionGroupImpl; -import org.eclipse.jst.j2ee.taglib.internal.Function; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Function</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl#getSignature <em>Signature</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl#getExample <em>Example</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl#getFunctionClass <em>Function Class</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.FunctionImpl#getFunctionExtensions <em>Function Extensions</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class FunctionImpl extends DescriptionGroupImpl implements Function { - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getSignature() <em>Signature</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSignature() - * @generated - * @ordered - */ - protected static final String SIGNATURE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getSignature() <em>Signature</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSignature() - * @generated - * @ordered - */ - protected String signature = SIGNATURE_EDEFAULT; - - /** - * The default value of the '{@link #getExample() <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExample() - * @generated - * @ordered - */ - protected static final String EXAMPLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExample() <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExample() - * @generated - * @ordered - */ - protected String example = EXAMPLE_EDEFAULT; - - /** - * The cached value of the '{@link #getFunctionClass() <em>Function Class</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFunctionClass() - * @generated - * @ordered - */ - protected JavaClass functionClass = null; - - /** - * The cached value of the '{@link #getFunctionExtensions() <em>Function Extensions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFunctionExtensions() - * @generated - * @ordered - */ - protected EList functionExtensions = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FunctionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.FUNCTION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.FUNCTION__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getSignature() { - return signature; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSignature(String newSignature) { - String oldSignature = signature; - signature = newSignature; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.FUNCTION__SIGNATURE, oldSignature, signature)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getExample() { - return example; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExample(String newExample) { - String oldExample = example; - example = newExample; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.FUNCTION__EXAMPLE, oldExample, example)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass getFunctionClass() { - if (functionClass != null && functionClass.eIsProxy()) { - InternalEObject oldFunctionClass = (InternalEObject)functionClass; - functionClass = (JavaClass)eResolveProxy(oldFunctionClass); - if (functionClass != oldFunctionClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaglibPackage.FUNCTION__FUNCTION_CLASS, oldFunctionClass, functionClass)); - } - } - return functionClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetFunctionClass() { - return functionClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFunctionClass(JavaClass newFunctionClass) { - JavaClass oldFunctionClass = functionClass; - functionClass = newFunctionClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.FUNCTION__FUNCTION_CLASS, oldFunctionClass, functionClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getFunctionExtensions() { - if (functionExtensions == null) { - functionExtensions = new EObjectContainmentEList(TldExtension.class, this, TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS); - } - return functionExtensions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS: - return ((InternalEList)getFunctionExtensions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.FUNCTION__NAME: - return getName(); - case TaglibPackage.FUNCTION__SIGNATURE: - return getSignature(); - case TaglibPackage.FUNCTION__EXAMPLE: - return getExample(); - case TaglibPackage.FUNCTION__FUNCTION_CLASS: - if (resolve) return getFunctionClass(); - return basicGetFunctionClass(); - case TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS: - return getFunctionExtensions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.FUNCTION__NAME: - setName((String)newValue); - return; - case TaglibPackage.FUNCTION__SIGNATURE: - setSignature((String)newValue); - return; - case TaglibPackage.FUNCTION__EXAMPLE: - setExample((String)newValue); - return; - case TaglibPackage.FUNCTION__FUNCTION_CLASS: - setFunctionClass((JavaClass)newValue); - return; - case TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS: - getFunctionExtensions().clear(); - getFunctionExtensions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.FUNCTION__NAME: - setName(NAME_EDEFAULT); - return; - case TaglibPackage.FUNCTION__SIGNATURE: - setSignature(SIGNATURE_EDEFAULT); - return; - case TaglibPackage.FUNCTION__EXAMPLE: - setExample(EXAMPLE_EDEFAULT); - return; - case TaglibPackage.FUNCTION__FUNCTION_CLASS: - setFunctionClass((JavaClass)null); - return; - case TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS: - getFunctionExtensions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.FUNCTION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case TaglibPackage.FUNCTION__SIGNATURE: - return SIGNATURE_EDEFAULT == null ? signature != null : !SIGNATURE_EDEFAULT.equals(signature); - case TaglibPackage.FUNCTION__EXAMPLE: - return EXAMPLE_EDEFAULT == null ? example != null : !EXAMPLE_EDEFAULT.equals(example); - case TaglibPackage.FUNCTION__FUNCTION_CLASS: - return functionClass != null; - case TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS: - return functionExtensions != null && !functionExtensions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", signature: "); - result.append(signature); - result.append(", example: "); - result.append(example); - result.append(')'); - return result.toString(); - } - -} //FunctionImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagAttributeImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagAttributeImpl.java deleted file mode 100644 index 9a049d03a..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagAttributeImpl.java +++ /dev/null @@ -1,474 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.Description; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; - - -/** - * The attribute tag defines an attribute for the nesting tag - * @generated - */ -public class JSPTagAttributeImpl extends J2EEEObjectImpl implements JSPTagAttribute { - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected String name = NAME_EDEFAULT; - /** - * The default value of the '{@link #isRequired() <em>Required</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isRequired() - * @generated - * @ordered - */ - protected static final boolean REQUIRED_EDEFAULT = false; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected boolean required = REQUIRED_EDEFAULT; - /** - * This is true if the Required attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean requiredESet = false; - - /** - * The default value of the '{@link #isRtExprValue() <em>Rt Expr Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isRtExprValue() - * @generated - * @ordered - */ - protected static final boolean RT_EXPR_VALUE_EDEFAULT = false; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected boolean rtExprValue = RT_EXPR_VALUE_EDEFAULT; - /** - * This is true if the Rt Expr Value attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean rtExprValueESet = false; - - /** - * The default value of the '{@link #isFragment() <em>Fragment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFragment() - * @generated - * @ordered - */ - protected static final boolean FRAGMENT_EDEFAULT = false; - - /** - * The cached value of the '{@link #isFragment() <em>Fragment</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isFragment() - * @generated - * @ordered - */ - protected boolean fragment = FRAGMENT_EDEFAULT; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaClass type = null; - /** - * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescriptions() - * @generated - * @ordered - */ - protected EList descriptions = null; - - public JSPTagAttributeImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.JSP_TAG_ATTRIBUTE; - } - - /** - * @generated This field/method will be replaced during code generation - * Defines the canonical name of a tag or attribute being defined (required). - */ - public String getName() { - return name; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG_ATTRIBUTE__NAME, oldName, name)); - } - - /** - * @generated This field/method will be replaced during code generation - * Defines if the nesting attribute is required or optional. - */ - public boolean isRequired() { - return required; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setRequired(boolean newRequired) { - boolean oldRequired = required; - required = newRequired; - boolean oldRequiredESet = requiredESet; - requiredESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG_ATTRIBUTE__REQUIRED, oldRequired, required, !oldRequiredESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetRequired() { - boolean oldRequired = required; - boolean oldRequiredESet = requiredESet; - required = REQUIRED_EDEFAULT; - requiredESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, TaglibPackage.JSP_TAG_ATTRIBUTE__REQUIRED, oldRequired, REQUIRED_EDEFAULT, oldRequiredESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetRequired() { - return requiredESet; - } - - /** - * @generated This field/method will be replaced during code generation - * Defines if the nesting attribute can have scriptlet expressions asa value, i.e - * the value of the attribute may be dynamically calculatedat request time, as - * opposed to a static value determined at translationtime. (optional) - * Default = false - */ - public boolean isRtExprValue() { - return rtExprValue; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setRtExprValue(boolean newRtExprValue) { - boolean oldRtExprValue = rtExprValue; - rtExprValue = newRtExprValue; - boolean oldRtExprValueESet = rtExprValueESet; - rtExprValueESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE, oldRtExprValue, rtExprValue, !oldRtExprValueESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetRtExprValue() { - boolean oldRtExprValue = rtExprValue; - boolean oldRtExprValueESet = rtExprValueESet; - rtExprValue = RT_EXPR_VALUE_EDEFAULT; - rtExprValueESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, TaglibPackage.JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE, oldRtExprValue, RT_EXPR_VALUE_EDEFAULT, oldRtExprValueESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetRtExprValue() { - return rtExprValueESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isFragment() { - return fragment; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFragment(boolean newFragment) { - boolean oldFragment = fragment; - fragment = newFragment; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG_ATTRIBUTE__FRAGMENT, oldFragment, fragment)); - } - - /** - * @generated This field/method will be replaced during code generation - * The value of the type element describes the Java type of the attributes value. - * For static values (those determined at translation time) the type is always - * java.lang.String. - */ - public JavaClass getType() { - if (type != null && type.eIsProxy()) { - InternalEObject oldType = (InternalEObject)type; - type = (JavaClass)eResolveProxy(oldType); - if (type != oldType) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaglibPackage.JSP_TAG_ATTRIBUTE__TYPE, oldType, type)); - } - } - return type; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetType() { - return type; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setType(JavaClass newType) { - JavaClass oldType = type; - type = newType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG_ATTRIBUTE__TYPE, oldType, type)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS: - return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.JSP_TAG_ATTRIBUTE__NAME: - return getName(); - case TaglibPackage.JSP_TAG_ATTRIBUTE__REQUIRED: - return isRequired() ? Boolean.TRUE : Boolean.FALSE; - case TaglibPackage.JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE: - return isRtExprValue() ? Boolean.TRUE : Boolean.FALSE; - case TaglibPackage.JSP_TAG_ATTRIBUTE__FRAGMENT: - return isFragment() ? Boolean.TRUE : Boolean.FALSE; - case TaglibPackage.JSP_TAG_ATTRIBUTE__TYPE: - if (resolve) return getType(); - return basicGetType(); - case TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS: - return getDescriptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.JSP_TAG_ATTRIBUTE__NAME: - setName((String)newValue); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__REQUIRED: - setRequired(((Boolean)newValue).booleanValue()); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE: - setRtExprValue(((Boolean)newValue).booleanValue()); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__FRAGMENT: - setFragment(((Boolean)newValue).booleanValue()); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__TYPE: - setType((JavaClass)newValue); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.JSP_TAG_ATTRIBUTE__NAME: - setName(NAME_EDEFAULT); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__REQUIRED: - unsetRequired(); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE: - unsetRtExprValue(); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__FRAGMENT: - setFragment(FRAGMENT_EDEFAULT); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__TYPE: - setType((JavaClass)null); - return; - case TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS: - getDescriptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.JSP_TAG_ATTRIBUTE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case TaglibPackage.JSP_TAG_ATTRIBUTE__REQUIRED: - return isSetRequired(); - case TaglibPackage.JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE: - return isSetRtExprValue(); - case TaglibPackage.JSP_TAG_ATTRIBUTE__FRAGMENT: - return fragment != FRAGMENT_EDEFAULT; - case TaglibPackage.JSP_TAG_ATTRIBUTE__TYPE: - return type != null; - case TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", required: "); - if (requiredESet) result.append(required); else result.append("<unset>"); - result.append(", rtExprValue: "); - if (rtExprValueESet) result.append(rtExprValue); else result.append("<unset>"); - result.append(", fragment: "); - result.append(fragment); - result.append(')'); - return result.toString(); - } - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagImpl.java deleted file mode 100644 index 2aadab71f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagImpl.java +++ /dev/null @@ -1,561 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.internal.impl.DescriptionGroupImpl; -import org.eclipse.jst.j2ee.taglib.internal.BodyContentType; -import org.eclipse.jst.j2ee.taglib.internal.JSPTag; -import org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute; -import org.eclipse.jst.j2ee.taglib.internal.JSPVariable; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; - - -/** - * The tag element defines an action in this tag library. The tag element has one attribute, id. - * The tag element may have several subelements defining: - * name -- The unique action name - * tag-class -- The tag handler class implementing javax.servlet.jsp.tagext.Tag - * tei-class -- An optional subclass of javax.servlet.jsp.tagext.TagExtraInfo - * body-content -- The body content type - * display-name -- A short name that is intended to be displayed by tools - * small-icon -- Optional small-icon that can be used by tools - * large-icon -- Optional large-icon that can be used by tools - * description -- Optional tag-specific information - * variable -- Optional scripting variable information - * attribute -- All attributes of this action - * example -- Optional informal description of an example of a use of this action. - - */ -public class JSPTagImpl extends DescriptionGroupImpl implements JSPTag { - - /** - * The default value of the '{@link #getBodyContent() <em>Body Content</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBodyContent() - * @generated - * @ordered - */ - protected static final BodyContentType BODY_CONTENT_EDEFAULT = BodyContentType.TAGDEPENDENT_LITERAL; - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected BodyContentType bodyContent = BODY_CONTENT_EDEFAULT; - /** - * This is true if the Body Content attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean bodyContentESet = false; - - /** - * The default value of the '{@link #getExample() <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExample() - * @generated - * @ordered - */ - protected static final String EXAMPLE_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected String example = EXAMPLE_EDEFAULT; - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #isDynamicAttributes() <em>Dynamic Attributes</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDynamicAttributes() - * @generated - * @ordered - */ - protected static final boolean DYNAMIC_ATTRIBUTES_EDEFAULT = false; - - /** - * The cached value of the '{@link #isDynamicAttributes() <em>Dynamic Attributes</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDynamicAttributes() - * @generated - * @ordered - */ - protected boolean dynamicAttributes = DYNAMIC_ATTRIBUTES_EDEFAULT; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected EList attributes = null; - /** - * @generated This field/method will be replaced during code generation. - */ - protected EList variables = null; - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaClass tagClass = null; - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaClass teiClass = null; - public JSPTagImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.JSP_TAG; - } - - /** - * @generated This field/method will be replaced during code generation - * Provides a hint as to the content of the body of this tag. Primarily intended - * for use by page composition tools.There are currently three values specified: - * - * tagdependent - The body of the tag is interpreted by the tag implementation - * itself, and is most likely in a different "langage", e.g embedded SQL - * statements. - * - * JSP - The body of the tag contains nested JSP syntax - * - * empty - The body must be emptyThe default (if not defined) is JSP#PCDATA ::= - * tagdependent | JSP | empty - */ - public BodyContentType getBodyContent() { - return bodyContent; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBodyContent(BodyContentType newBodyContent) { - BodyContentType oldBodyContent = bodyContent; - bodyContent = newBodyContent == null ? BODY_CONTENT_EDEFAULT : newBodyContent; - boolean oldBodyContentESet = bodyContentESet; - bodyContentESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG__BODY_CONTENT, oldBodyContent, bodyContent, !oldBodyContentESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetBodyContent() { - BodyContentType oldBodyContent = bodyContent; - boolean oldBodyContentESet = bodyContentESet; - bodyContent = BODY_CONTENT_EDEFAULT; - bodyContentESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, TaglibPackage.JSP_TAG__BODY_CONTENT, oldBodyContent, BODY_CONTENT_EDEFAULT, oldBodyContentESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetBodyContent() { - return bodyContentESet; - } - - /** - * @generated This field/method will be replaced during code generation - * The example element provides an informal description of an example of the use - * of a tag. - */ - public String getExample() { - return example; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setExample(String newExample) { - String oldExample = example; - example = newExample; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG__EXAMPLE, oldExample, example)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isDynamicAttributes() { - return dynamicAttributes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDynamicAttributes(boolean newDynamicAttributes) { - boolean oldDynamicAttributes = dynamicAttributes; - dynamicAttributes = newDynamicAttributes; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG__DYNAMIC_ATTRIBUTES, oldDynamicAttributes, dynamicAttributes)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EList getAttributes() { - if (attributes == null) { - attributes = new EObjectContainmentEList(JSPTagAttribute.class, this, TaglibPackage.JSP_TAG__ATTRIBUTES); - } - return attributes; - } - - /** - * @generated This field/method will be replaced during code generation - * The variable element provides information on the scripting variables defined by - * this tag. - * It is a (translation time) error for an action that has one or more variable - * subelements to have a TagExtraInfo class that returns a non-null object. - * The subelements of variable are of the form: - * name-given -- The variable name as a constant - * name-from-attribute -- The name of an attribute whose (translation time) value - * will give the name of the variable. One of name-given or namefrom-attribute is - * required. - * variable-class -- Name of the class of the variable. java.lang.String is - * default. - * declare -- Whether the variable is declared or not. True is the default. - * scope -- The scope of the scripting variable defined. NESTED is default. - - */ - public EList getVariables() { - if (variables == null) { - variables = new EObjectContainmentEList(JSPVariable.class, this, TaglibPackage.JSP_TAG__VARIABLES); - } - return variables; - } - - /** - * @generated This field/method will be replaced during code generation - * The tag-class element indicates the subclass of javax.serlvet.jsp.tagext.Tag - * that implements the request time semantics for this tag. This element is - * required. - * @regexp fully qualified Java class name - - */ - public JavaClass getTagClass() { - if (tagClass != null && tagClass.eIsProxy()) { - InternalEObject oldTagClass = (InternalEObject)tagClass; - tagClass = (JavaClass)eResolveProxy(oldTagClass); - if (tagClass != oldTagClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaglibPackage.JSP_TAG__TAG_CLASS, oldTagClass, tagClass)); - } - } - return tagClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetTagClass() { - return tagClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setTagClass(JavaClass newTagClass) { - JavaClass oldTagClass = tagClass; - tagClass = newTagClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG__TAG_CLASS, oldTagClass, tagClass)); - } - - /** - * @generated This field/method will be replaced during code generation - * The tei-class element indicates the subclass of - * javax.servlet.jsp.tagext.TagExtraInfo for this tag. The class is instantiated - * at translation time. This element is optional. - * @regexp fully qualified Java class name - */ - public JavaClass getTeiClass() { - if (teiClass != null && teiClass.eIsProxy()) { - InternalEObject oldTeiClass = (InternalEObject)teiClass; - teiClass = (JavaClass)eResolveProxy(oldTeiClass); - if (teiClass != oldTeiClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaglibPackage.JSP_TAG__TEI_CLASS, oldTeiClass, teiClass)); - } - } - return teiClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetTeiClass() { - return teiClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setTeiClass(JavaClass newTeiClass) { - JavaClass oldTeiClass = teiClass; - teiClass = newTeiClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_TAG__TEI_CLASS, oldTeiClass, teiClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.JSP_TAG__ATTRIBUTES: - return ((InternalEList)getAttributes()).basicRemove(otherEnd, msgs); - case TaglibPackage.JSP_TAG__VARIABLES: - return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.JSP_TAG__BODY_CONTENT: - return getBodyContent(); - case TaglibPackage.JSP_TAG__EXAMPLE: - return getExample(); - case TaglibPackage.JSP_TAG__NAME: - return getName(); - case TaglibPackage.JSP_TAG__DYNAMIC_ATTRIBUTES: - return isDynamicAttributes() ? Boolean.TRUE : Boolean.FALSE; - case TaglibPackage.JSP_TAG__ATTRIBUTES: - return getAttributes(); - case TaglibPackage.JSP_TAG__VARIABLES: - return getVariables(); - case TaglibPackage.JSP_TAG__TAG_CLASS: - if (resolve) return getTagClass(); - return basicGetTagClass(); - case TaglibPackage.JSP_TAG__TEI_CLASS: - if (resolve) return getTeiClass(); - return basicGetTeiClass(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.JSP_TAG__BODY_CONTENT: - setBodyContent((BodyContentType)newValue); - return; - case TaglibPackage.JSP_TAG__EXAMPLE: - setExample((String)newValue); - return; - case TaglibPackage.JSP_TAG__NAME: - setName((String)newValue); - return; - case TaglibPackage.JSP_TAG__DYNAMIC_ATTRIBUTES: - setDynamicAttributes(((Boolean)newValue).booleanValue()); - return; - case TaglibPackage.JSP_TAG__ATTRIBUTES: - getAttributes().clear(); - getAttributes().addAll((Collection)newValue); - return; - case TaglibPackage.JSP_TAG__VARIABLES: - getVariables().clear(); - getVariables().addAll((Collection)newValue); - return; - case TaglibPackage.JSP_TAG__TAG_CLASS: - setTagClass((JavaClass)newValue); - return; - case TaglibPackage.JSP_TAG__TEI_CLASS: - setTeiClass((JavaClass)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.JSP_TAG__BODY_CONTENT: - unsetBodyContent(); - return; - case TaglibPackage.JSP_TAG__EXAMPLE: - setExample(EXAMPLE_EDEFAULT); - return; - case TaglibPackage.JSP_TAG__NAME: - setName(NAME_EDEFAULT); - return; - case TaglibPackage.JSP_TAG__DYNAMIC_ATTRIBUTES: - setDynamicAttributes(DYNAMIC_ATTRIBUTES_EDEFAULT); - return; - case TaglibPackage.JSP_TAG__ATTRIBUTES: - getAttributes().clear(); - return; - case TaglibPackage.JSP_TAG__VARIABLES: - getVariables().clear(); - return; - case TaglibPackage.JSP_TAG__TAG_CLASS: - setTagClass((JavaClass)null); - return; - case TaglibPackage.JSP_TAG__TEI_CLASS: - setTeiClass((JavaClass)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.JSP_TAG__BODY_CONTENT: - return isSetBodyContent(); - case TaglibPackage.JSP_TAG__EXAMPLE: - return EXAMPLE_EDEFAULT == null ? example != null : !EXAMPLE_EDEFAULT.equals(example); - case TaglibPackage.JSP_TAG__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case TaglibPackage.JSP_TAG__DYNAMIC_ATTRIBUTES: - return dynamicAttributes != DYNAMIC_ATTRIBUTES_EDEFAULT; - case TaglibPackage.JSP_TAG__ATTRIBUTES: - return attributes != null && !attributes.isEmpty(); - case TaglibPackage.JSP_TAG__VARIABLES: - return variables != null && !variables.isEmpty(); - case TaglibPackage.JSP_TAG__TAG_CLASS: - return tagClass != null; - case TaglibPackage.JSP_TAG__TEI_CLASS: - return teiClass != null; - } - return super.eIsSet(featureID); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (bodyContent: "); - if (bodyContentESet) result.append(bodyContent); else result.append("<unset>"); - result.append(", example: "); - result.append(example); - result.append(", name: "); - result.append(name); - result.append(", dynamicAttributes: "); - result.append(dynamicAttributes); - result.append(')'); - return result.toString(); - } - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPVariableImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPVariableImpl.java deleted file mode 100644 index b105351ee..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPVariableImpl.java +++ /dev/null @@ -1,398 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.Description; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope; -import org.eclipse.jst.j2ee.taglib.internal.JSPVariable; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; - - -/** - * @generated - */ -public class JSPVariableImpl extends J2EEEObjectImpl implements JSPVariable { - - /** - * The default value of the '{@link #getNameGiven() <em>Name Given</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNameGiven() - * @generated - * @ordered - */ - protected static final String NAME_GIVEN_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected String nameGiven = NAME_GIVEN_EDEFAULT; - /** - * The default value of the '{@link #getNameFromAttribute() <em>Name From Attribute</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNameFromAttribute() - * @generated - * @ordered - */ - protected static final String NAME_FROM_ATTRIBUTE_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected String nameFromAttribute = NAME_FROM_ATTRIBUTE_EDEFAULT; - /** - * The default value of the '{@link #isDeclare() <em>Declare</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDeclare() - * @generated - * @ordered - */ - protected static final boolean DECLARE_EDEFAULT = false; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected boolean declare = DECLARE_EDEFAULT; - /** - * The default value of the '{@link #getScope() <em>Scope</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getScope() - * @generated - * @ordered - */ - protected static final JSPScriptingVariableScope SCOPE_EDEFAULT = JSPScriptingVariableScope.NESTED_LITERAL; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected JSPScriptingVariableScope scope = SCOPE_EDEFAULT; - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaClass variableClass = null; - /** - * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescriptions() - * @generated - * @ordered - */ - protected EList descriptions = null; - - public JSPVariableImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.JSP_VARIABLE; - } - - /** - * @generated This field/method will be replaced during code generation - * The name-given element provides the name for the scripting variable. - * - * One of name-given or name-from-attribute is required. - */ - public String getNameGiven() { - return nameGiven; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setNameGiven(String newNameGiven) { - String oldNameGiven = nameGiven; - nameGiven = newNameGiven; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_VARIABLE__NAME_GIVEN, oldNameGiven, nameGiven)); - } - - /** - * @generated This field/method will be replaced during code generation - * The name of an attribute whose (translation-time) value will give the name of - * the variable. - */ - public String getNameFromAttribute() { - return nameFromAttribute; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setNameFromAttribute(String newNameFromAttribute) { - String oldNameFromAttribute = nameFromAttribute; - nameFromAttribute = newNameFromAttribute; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_VARIABLE__NAME_FROM_ATTRIBUTE, oldNameFromAttribute, nameFromAttribute)); - } - - /** - * @generated This field/method will be replaced during code generation - * The value of the declare element indicates whether the scripting variable is to - * be defined or not. See TagExtraInfo for details. - * This element is optional and is the default is true. - - */ - public boolean isDeclare() { - return declare; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setDeclare(boolean newDeclare) { - boolean oldDeclare = declare; - declare = newDeclare; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_VARIABLE__DECLARE, oldDeclare, declare)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JSPScriptingVariableScope getScope() { - return scope; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setScope(JSPScriptingVariableScope newScope) { - JSPScriptingVariableScope oldScope = scope; - scope = newScope == null ? SCOPE_EDEFAULT : newScope; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_VARIABLE__SCOPE, oldScope, scope)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public JavaClass getVariableClass() { - if (variableClass != null && variableClass.eIsProxy()) { - InternalEObject oldVariableClass = (InternalEObject)variableClass; - variableClass = (JavaClass)eResolveProxy(oldVariableClass); - if (variableClass != oldVariableClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaglibPackage.JSP_VARIABLE__VARIABLE_CLASS, oldVariableClass, variableClass)); - } - } - return variableClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetVariableClass() { - return variableClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setVariableClass(JavaClass newVariableClass) { - JavaClass oldVariableClass = variableClass; - variableClass = newVariableClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.JSP_VARIABLE__VARIABLE_CLASS, oldVariableClass, variableClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, TaglibPackage.JSP_VARIABLE__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.JSP_VARIABLE__DESCRIPTIONS: - return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.JSP_VARIABLE__NAME_GIVEN: - return getNameGiven(); - case TaglibPackage.JSP_VARIABLE__NAME_FROM_ATTRIBUTE: - return getNameFromAttribute(); - case TaglibPackage.JSP_VARIABLE__DECLARE: - return isDeclare() ? Boolean.TRUE : Boolean.FALSE; - case TaglibPackage.JSP_VARIABLE__SCOPE: - return getScope(); - case TaglibPackage.JSP_VARIABLE__VARIABLE_CLASS: - if (resolve) return getVariableClass(); - return basicGetVariableClass(); - case TaglibPackage.JSP_VARIABLE__DESCRIPTIONS: - return getDescriptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.JSP_VARIABLE__NAME_GIVEN: - setNameGiven((String)newValue); - return; - case TaglibPackage.JSP_VARIABLE__NAME_FROM_ATTRIBUTE: - setNameFromAttribute((String)newValue); - return; - case TaglibPackage.JSP_VARIABLE__DECLARE: - setDeclare(((Boolean)newValue).booleanValue()); - return; - case TaglibPackage.JSP_VARIABLE__SCOPE: - setScope((JSPScriptingVariableScope)newValue); - return; - case TaglibPackage.JSP_VARIABLE__VARIABLE_CLASS: - setVariableClass((JavaClass)newValue); - return; - case TaglibPackage.JSP_VARIABLE__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.JSP_VARIABLE__NAME_GIVEN: - setNameGiven(NAME_GIVEN_EDEFAULT); - return; - case TaglibPackage.JSP_VARIABLE__NAME_FROM_ATTRIBUTE: - setNameFromAttribute(NAME_FROM_ATTRIBUTE_EDEFAULT); - return; - case TaglibPackage.JSP_VARIABLE__DECLARE: - setDeclare(DECLARE_EDEFAULT); - return; - case TaglibPackage.JSP_VARIABLE__SCOPE: - setScope(SCOPE_EDEFAULT); - return; - case TaglibPackage.JSP_VARIABLE__VARIABLE_CLASS: - setVariableClass((JavaClass)null); - return; - case TaglibPackage.JSP_VARIABLE__DESCRIPTIONS: - getDescriptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.JSP_VARIABLE__NAME_GIVEN: - return NAME_GIVEN_EDEFAULT == null ? nameGiven != null : !NAME_GIVEN_EDEFAULT.equals(nameGiven); - case TaglibPackage.JSP_VARIABLE__NAME_FROM_ATTRIBUTE: - return NAME_FROM_ATTRIBUTE_EDEFAULT == null ? nameFromAttribute != null : !NAME_FROM_ATTRIBUTE_EDEFAULT.equals(nameFromAttribute); - case TaglibPackage.JSP_VARIABLE__DECLARE: - return declare != DECLARE_EDEFAULT; - case TaglibPackage.JSP_VARIABLE__SCOPE: - return scope != SCOPE_EDEFAULT; - case TaglibPackage.JSP_VARIABLE__VARIABLE_CLASS: - return variableClass != null; - case TaglibPackage.JSP_VARIABLE__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (nameGiven: "); - result.append(nameGiven); - result.append(", nameFromAttribute: "); - result.append(nameFromAttribute); - result.append(", declare: "); - result.append(declare); - result.append(", scope: "); - result.append(scope); - result.append(')'); - return result.toString(); - } - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagFileImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagFileImpl.java deleted file mode 100644 index 048642912..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagFileImpl.java +++ /dev/null @@ -1,326 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.common.internal.impl.DescriptionGroupImpl; -import org.eclipse.jst.j2ee.taglib.internal.TagFile; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Tag File</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl#getPath <em>Path</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl#getExample <em>Example</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.TagFileImpl#getTagExtensions <em>Tag Extensions</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TagFileImpl extends DescriptionGroupImpl implements TagFile { - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getPath() <em>Path</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPath() - * @generated - * @ordered - */ - protected static final String PATH_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPath() <em>Path</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPath() - * @generated - * @ordered - */ - protected String path = PATH_EDEFAULT; - - /** - * The default value of the '{@link #getExample() <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExample() - * @generated - * @ordered - */ - protected static final String EXAMPLE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getExample() <em>Example</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExample() - * @generated - * @ordered - */ - protected String example = EXAMPLE_EDEFAULT; - - /** - * The cached value of the '{@link #getTagExtensions() <em>Tag Extensions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTagExtensions() - * @generated - * @ordered - */ - protected EList tagExtensions = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TagFileImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.TAG_FILE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_FILE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPath() { - return path; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPath(String newPath) { - String oldPath = path; - path = newPath; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_FILE__PATH, oldPath, path)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getExample() { - return example; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExample(String newExample) { - String oldExample = example; - example = newExample; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_FILE__EXAMPLE, oldExample, example)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getTagExtensions() { - if (tagExtensions == null) { - tagExtensions = new EObjectContainmentEList(TldExtension.class, this, TaglibPackage.TAG_FILE__TAG_EXTENSIONS); - } - return tagExtensions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.TAG_FILE__TAG_EXTENSIONS: - return ((InternalEList)getTagExtensions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.TAG_FILE__NAME: - return getName(); - case TaglibPackage.TAG_FILE__PATH: - return getPath(); - case TaglibPackage.TAG_FILE__EXAMPLE: - return getExample(); - case TaglibPackage.TAG_FILE__TAG_EXTENSIONS: - return getTagExtensions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.TAG_FILE__NAME: - setName((String)newValue); - return; - case TaglibPackage.TAG_FILE__PATH: - setPath((String)newValue); - return; - case TaglibPackage.TAG_FILE__EXAMPLE: - setExample((String)newValue); - return; - case TaglibPackage.TAG_FILE__TAG_EXTENSIONS: - getTagExtensions().clear(); - getTagExtensions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.TAG_FILE__NAME: - setName(NAME_EDEFAULT); - return; - case TaglibPackage.TAG_FILE__PATH: - setPath(PATH_EDEFAULT); - return; - case TaglibPackage.TAG_FILE__EXAMPLE: - setExample(EXAMPLE_EDEFAULT); - return; - case TaglibPackage.TAG_FILE__TAG_EXTENSIONS: - getTagExtensions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.TAG_FILE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case TaglibPackage.TAG_FILE__PATH: - return PATH_EDEFAULT == null ? path != null : !PATH_EDEFAULT.equals(path); - case TaglibPackage.TAG_FILE__EXAMPLE: - return EXAMPLE_EDEFAULT == null ? example != null : !EXAMPLE_EDEFAULT.equals(example); - case TaglibPackage.TAG_FILE__TAG_EXTENSIONS: - return tagExtensions != null && !tagExtensions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(", path: "); - result.append(path); - result.append(", example: "); - result.append(example); - result.append(')'); - return result.toString(); - } - -} //TagFileImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagLibImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagLibImpl.java deleted file mode 100644 index dbfb1236d..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagLibImpl.java +++ /dev/null @@ -1,516 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.common.Listener; -import org.eclipse.jst.j2ee.common.internal.impl.CompatibilityDescriptionGroupImpl; -import org.eclipse.jst.j2ee.internal.common.J2EEVersionResource; -import org.eclipse.jst.j2ee.taglib.internal.Function; -import org.eclipse.jst.j2ee.taglib.internal.JSPTag; -import org.eclipse.jst.j2ee.taglib.internal.TagLib; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; -import org.eclipse.jst.j2ee.taglib.internal.Validator; - - -/** - * The taglib tag is the document root. - - */ -public class TagLibImpl extends CompatibilityDescriptionGroupImpl implements TagLib { - - /** - * The default value of the '{@link #getTagLibVersion() <em>Tag Lib Version</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTagLibVersion() - * @generated - * @ordered - */ - protected static final String TAG_LIB_VERSION_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected String tagLibVersion = TAG_LIB_VERSION_EDEFAULT; - /** - * The default value of the '{@link #getJspVersion() <em>Jsp Version</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJspVersion() - * @generated - * @ordered - */ - protected static final String JSP_VERSION_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected String jspVersion = JSP_VERSION_EDEFAULT; - /** - * The default value of the '{@link #getShortName() <em>Short Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getShortName() - * @generated - * @ordered - */ - protected static final String SHORT_NAME_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected String shortName = SHORT_NAME_EDEFAULT; - /** - * The default value of the '{@link #getUri() <em>Uri</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUri() - * @generated - * @ordered - */ - protected static final String URI_EDEFAULT = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - protected String uri = URI_EDEFAULT; - /** - * @generated This field/method will be replaced during code generation. - */ - protected EList tags = null; - /** - * @generated This field/method will be replaced during code generation. - */ - protected Validator validator = null; - /** - * @generated This field/method will be replaced during code generation. - */ - protected EList listeners = null; - /** - * The cached value of the '{@link #getFunctions() <em>Functions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFunctions() - * @generated - * @ordered - */ - protected EList functions = null; - - /** - * The cached value of the '{@link #getTaglibExtensions() <em>Taglib Extensions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaglibExtensions() - * @generated - * @ordered - */ - protected EList taglibExtensions = null; - - public TagLibImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.TAG_LIB; - } - - /** - * @generated This field/method will be replaced during code generation - * Describes this version number of the tag library (dewey decimal). - * @regexp [0-9]*{ "."[0-9] }0..3 - */ - public String getTagLibVersion() { - return tagLibVersion; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setTagLibVersion(String newTagLibVersion) { - String oldTagLibVersion = tagLibVersion; - tagLibVersion = newTagLibVersion; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_LIB__TAG_LIB_VERSION, oldTagLibVersion, tagLibVersion)); - } - - /** - * @generated This field/method will be replaced during code generation - * Describes the JSP version (number) this tag library requires in order to - * function (dewey decimal). Default is 1.2 - * @regexp [0-9]*{ "."[0-9] }0..3 - */ - public String getJspVersion() { - return jspVersion; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setJspVersion(String newJspVersion) { - String oldJspVersion = jspVersion; - jspVersion = newJspVersion; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_LIB__JSP_VERSION, oldJspVersion, jspVersion)); - } - - /** - * @generated This field/method will be replaced during code generation - * The value of the short-name element is a name that could be used by a JSP - * authoring tool to create names with a mnemonic value; for example, it may be - * used as the prefered prefix value in taglib directives. Do not use white space, - * and do not start with digits or underscore. - */ - public String getShortName() { - return shortName; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setShortName(String newShortName) { - String oldShortName = shortName; - shortName = newShortName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_LIB__SHORT_NAME, oldShortName, shortName)); - } - - /** - * @generated This field/method will be replaced during code generation - * The value of the uri element is a public URI that uniquely identifies the exact - * semantics of this taglibrary. - */ - public String getUri() { - return uri; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setUri(String newUri) { - String oldUri = uri; - uri = newUri; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_LIB__URI, oldUri, uri)); - } - - /** - * - */ - public void setDisplayName(String newDisplayName) { - super.setDisplayName(displayName); - } - - /** - This returns the module version id. Compare with J2EEVersionConstants to determine module level - */ - public int getVersionID() throws IllegalStateException { - J2EEVersionResource res = (J2EEVersionResource) eResource(); - if (res == null) throw new IllegalStateException(); - return res.getModuleVersionID(); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EList getTags() { - if (tags == null) { - tags = new EObjectContainmentEList(JSPTag.class, this, TaglibPackage.TAG_LIB__TAGS); - } - return tags; - } - - /** - * @generated This field/method will be replaced during code generation - * The validator element provides information on an optional validator that can be - * used to validate the conformance of a JSP page to using this tag library. - - */ - public Validator getValidator() { - return validator; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetValidator(Validator newValidator, NotificationChain msgs) { - Validator oldValidator = validator; - validator = newValidator; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_LIB__VALIDATOR, oldValidator, newValidator); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public void setValidator(Validator newValidator) { - if (newValidator != validator) { - NotificationChain msgs = null; - if (validator != null) - msgs = ((InternalEObject)validator).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - TaglibPackage.TAG_LIB__VALIDATOR, null, msgs); - if (newValidator != null) - msgs = ((InternalEObject)newValidator).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - TaglibPackage.TAG_LIB__VALIDATOR, null, msgs); - msgs = basicSetValidator(newValidator, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TAG_LIB__VALIDATOR, newValidator, newValidator)); - } - - /** - * @generated This field/method will be replaced during code generation - */ - public EList getListeners() { - if (listeners == null) { - listeners = new EObjectContainmentEList(Listener.class, this, TaglibPackage.TAG_LIB__LISTENERS); - } - return listeners; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getFunctions() { - if (functions == null) { - functions = new EObjectContainmentEList(Function.class, this, TaglibPackage.TAG_LIB__FUNCTIONS); - } - return functions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getTaglibExtensions() { - if (taglibExtensions == null) { - taglibExtensions = new EObjectContainmentEList(TldExtension.class, this, TaglibPackage.TAG_LIB__TAGLIB_EXTENSIONS); - } - return taglibExtensions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.TAG_LIB__TAGS: - return ((InternalEList)getTags()).basicRemove(otherEnd, msgs); - case TaglibPackage.TAG_LIB__VALIDATOR: - return basicSetValidator(null, msgs); - case TaglibPackage.TAG_LIB__LISTENERS: - return ((InternalEList)getListeners()).basicRemove(otherEnd, msgs); - case TaglibPackage.TAG_LIB__FUNCTIONS: - return ((InternalEList)getFunctions()).basicRemove(otherEnd, msgs); - case TaglibPackage.TAG_LIB__TAGLIB_EXTENSIONS: - return ((InternalEList)getTaglibExtensions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.TAG_LIB__TAG_LIB_VERSION: - return getTagLibVersion(); - case TaglibPackage.TAG_LIB__JSP_VERSION: - return getJspVersion(); - case TaglibPackage.TAG_LIB__SHORT_NAME: - return getShortName(); - case TaglibPackage.TAG_LIB__URI: - return getUri(); - case TaglibPackage.TAG_LIB__TAGS: - return getTags(); - case TaglibPackage.TAG_LIB__VALIDATOR: - return getValidator(); - case TaglibPackage.TAG_LIB__LISTENERS: - return getListeners(); - case TaglibPackage.TAG_LIB__FUNCTIONS: - return getFunctions(); - case TaglibPackage.TAG_LIB__TAGLIB_EXTENSIONS: - return getTaglibExtensions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.TAG_LIB__TAG_LIB_VERSION: - setTagLibVersion((String)newValue); - return; - case TaglibPackage.TAG_LIB__JSP_VERSION: - setJspVersion((String)newValue); - return; - case TaglibPackage.TAG_LIB__SHORT_NAME: - setShortName((String)newValue); - return; - case TaglibPackage.TAG_LIB__URI: - setUri((String)newValue); - return; - case TaglibPackage.TAG_LIB__TAGS: - getTags().clear(); - getTags().addAll((Collection)newValue); - return; - case TaglibPackage.TAG_LIB__VALIDATOR: - setValidator((Validator)newValue); - return; - case TaglibPackage.TAG_LIB__LISTENERS: - getListeners().clear(); - getListeners().addAll((Collection)newValue); - return; - case TaglibPackage.TAG_LIB__FUNCTIONS: - getFunctions().clear(); - getFunctions().addAll((Collection)newValue); - return; - case TaglibPackage.TAG_LIB__TAGLIB_EXTENSIONS: - getTaglibExtensions().clear(); - getTaglibExtensions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.TAG_LIB__TAG_LIB_VERSION: - setTagLibVersion(TAG_LIB_VERSION_EDEFAULT); - return; - case TaglibPackage.TAG_LIB__JSP_VERSION: - setJspVersion(JSP_VERSION_EDEFAULT); - return; - case TaglibPackage.TAG_LIB__SHORT_NAME: - setShortName(SHORT_NAME_EDEFAULT); - return; - case TaglibPackage.TAG_LIB__URI: - setUri(URI_EDEFAULT); - return; - case TaglibPackage.TAG_LIB__TAGS: - getTags().clear(); - return; - case TaglibPackage.TAG_LIB__VALIDATOR: - setValidator((Validator)null); - return; - case TaglibPackage.TAG_LIB__LISTENERS: - getListeners().clear(); - return; - case TaglibPackage.TAG_LIB__FUNCTIONS: - getFunctions().clear(); - return; - case TaglibPackage.TAG_LIB__TAGLIB_EXTENSIONS: - getTaglibExtensions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.TAG_LIB__TAG_LIB_VERSION: - return TAG_LIB_VERSION_EDEFAULT == null ? tagLibVersion != null : !TAG_LIB_VERSION_EDEFAULT.equals(tagLibVersion); - case TaglibPackage.TAG_LIB__JSP_VERSION: - return JSP_VERSION_EDEFAULT == null ? jspVersion != null : !JSP_VERSION_EDEFAULT.equals(jspVersion); - case TaglibPackage.TAG_LIB__SHORT_NAME: - return SHORT_NAME_EDEFAULT == null ? shortName != null : !SHORT_NAME_EDEFAULT.equals(shortName); - case TaglibPackage.TAG_LIB__URI: - return URI_EDEFAULT == null ? uri != null : !URI_EDEFAULT.equals(uri); - case TaglibPackage.TAG_LIB__TAGS: - return tags != null && !tags.isEmpty(); - case TaglibPackage.TAG_LIB__VALIDATOR: - return validator != null; - case TaglibPackage.TAG_LIB__LISTENERS: - return listeners != null && !listeners.isEmpty(); - case TaglibPackage.TAG_LIB__FUNCTIONS: - return functions != null && !functions.isEmpty(); - case TaglibPackage.TAG_LIB__TAGLIB_EXTENSIONS: - return taglibExtensions != null && !taglibExtensions.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (tagLibVersion: "); - result.append(tagLibVersion); - result.append(", jspVersion: "); - result.append(jspVersion); - result.append(", shortName: "); - result.append(shortName); - result.append(", uri: "); - result.append(uri); - result.append(')'); - return result.toString(); - } - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibFactoryImpl.java deleted file mode 100644 index dfd738b2f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibFactoryImpl.java +++ /dev/null @@ -1,245 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.jst.j2ee.taglib.internal.BodyContentType; -import org.eclipse.jst.j2ee.taglib.internal.Function; -import org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope; -import org.eclipse.jst.j2ee.taglib.internal.JSPTag; -import org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute; -import org.eclipse.jst.j2ee.taglib.internal.JSPVariable; -import org.eclipse.jst.j2ee.taglib.internal.TagFile; -import org.eclipse.jst.j2ee.taglib.internal.TagLib; -import org.eclipse.jst.j2ee.taglib.internal.TaglibFactory; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; -import org.eclipse.jst.j2ee.taglib.internal.Validator; - -/** - * @generated - */ -public class TaglibFactoryImpl extends EFactoryImpl implements TaglibFactory { - - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static TaglibFactory init() { - try { - TaglibFactory theTaglibFactory = (TaglibFactory)EPackage.Registry.INSTANCE.getEFactory("taglib.xmi"); - if (theTaglibFactory != null) { - return theTaglibFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new TaglibFactoryImpl(); - } - - public TaglibFactoryImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case TaglibPackage.TAG_LIB: return createTagLib(); - case TaglibPackage.JSP_TAG: return createJSPTag(); - case TaglibPackage.JSP_TAG_ATTRIBUTE: return createJSPTagAttribute(); - case TaglibPackage.VALIDATOR: return createValidator(); - case TaglibPackage.JSP_VARIABLE: return createJSPVariable(); - case TaglibPackage.FUNCTION: return createFunction(); - case TaglibPackage.TAG_FILE: return createTagFile(); - case TaglibPackage.TLD_EXTENSION: return createTldExtension(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case TaglibPackage.BODY_CONTENT_TYPE: - return createBodyContentTypeFromString(eDataType, initialValue); - case TaglibPackage.JSP_SCRIPTING_VARIABLE_SCOPE: - return createJSPScriptingVariableScopeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case TaglibPackage.BODY_CONTENT_TYPE: - return convertBodyContentTypeToString(eDataType, instanceValue); - case TaglibPackage.JSP_SCRIPTING_VARIABLE_SCOPE: - return convertJSPScriptingVariableScopeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); - } - } - -public static TaglibFactory getActiveFactory() { - return (TaglibFactory) getPackage().getEFactoryInstance(); -} - /** - * @generated This field/method will be replaced during code generation. - */ - public TagLib createTagLib() { - TagLibImpl tagLib = new TagLibImpl(); - return tagLib; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Validator createValidator() { - ValidatorImpl validator = new ValidatorImpl(); - return validator; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JSPTag createJSPTag() { - JSPTagImpl jspTag = new JSPTagImpl(); - return jspTag; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JSPTagAttribute createJSPTagAttribute() { - JSPTagAttributeImpl jspTagAttribute = new JSPTagAttributeImpl(); - return jspTagAttribute; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public JSPVariable createJSPVariable() { - JSPVariableImpl jspVariable = new JSPVariableImpl(); - return jspVariable; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Function createFunction() { - FunctionImpl function = new FunctionImpl(); - return function; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TagFile createTagFile() { - TagFileImpl tagFile = new TagFileImpl(); - return tagFile; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TldExtension createTldExtension() { - TldExtensionImpl tldExtension = new TldExtensionImpl(); - return tldExtension; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BodyContentType createBodyContentTypeFromString(EDataType eDataType, String initialValue) { - BodyContentType result = BodyContentType.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertBodyContentTypeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JSPScriptingVariableScope createJSPScriptingVariableScopeFromString(EDataType eDataType, String initialValue) { - JSPScriptingVariableScope result = JSPScriptingVariableScope.get(initialValue); - if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); - return result; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJSPScriptingVariableScopeToString(EDataType eDataType, Object instanceValue) { - return instanceValue == null ? null : instanceValue.toString(); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public TaglibPackage getTaglibPackage() { - return (TaglibPackage)getEPackage(); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public static TaglibPackage getPackage() { - return TaglibPackage.eINSTANCE; - } - -} - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibPackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibPackageImpl.java deleted file mode 100644 index 5649f2eb6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibPackageImpl.java +++ /dev/null @@ -1,862 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EEnum; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.emf.ecore.EcorePackage; -import org.eclipse.emf.ecore.impl.EPackageImpl; -import org.eclipse.jem.java.JavaRefPackage; -import org.eclipse.jst.j2ee.application.ApplicationPackage; -import org.eclipse.jst.j2ee.application.internal.impl.ApplicationPackageImpl; -import org.eclipse.jst.j2ee.client.ClientPackage; -import org.eclipse.jst.j2ee.client.internal.impl.ClientPackageImpl; -import org.eclipse.jst.j2ee.common.CommonPackage; -import org.eclipse.jst.j2ee.common.internal.impl.CommonPackageImpl; -import org.eclipse.jst.j2ee.ejb.EjbPackage; -import org.eclipse.jst.j2ee.ejb.internal.impl.EjbPackageImpl; -import org.eclipse.jst.j2ee.jca.JcaPackage; -import org.eclipse.jst.j2ee.jca.internal.impl.JcaPackageImpl; -import org.eclipse.jst.j2ee.jsp.JspPackage; -import org.eclipse.jst.j2ee.jsp.internal.impl.JspPackageImpl; -import org.eclipse.jst.j2ee.taglib.internal.BodyContentType; -import org.eclipse.jst.j2ee.taglib.internal.ExtensibleType; -import org.eclipse.jst.j2ee.taglib.internal.Function; -import org.eclipse.jst.j2ee.taglib.internal.JSPScriptingVariableScope; -import org.eclipse.jst.j2ee.taglib.internal.JSPTag; -import org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute; -import org.eclipse.jst.j2ee.taglib.internal.JSPVariable; -import org.eclipse.jst.j2ee.taglib.internal.TagFile; -import org.eclipse.jst.j2ee.taglib.internal.TagLib; -import org.eclipse.jst.j2ee.taglib.internal.TaglibFactory; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; -import org.eclipse.jst.j2ee.taglib.internal.Validator; -import org.eclipse.jst.j2ee.webapplication.WebapplicationPackage; -import org.eclipse.jst.j2ee.webapplication.internal.impl.WebapplicationPackageImpl; -import org.eclipse.jst.j2ee.webservice.wsclient.Webservice_clientPackage; -import org.eclipse.jst.j2ee.webservice.wsclient.internal.impl.Webservice_clientPackageImpl; -import org.eclipse.jst.j2ee.webservice.wscommon.WscommonPackage; -import org.eclipse.jst.j2ee.webservice.wscommon.internal.impl.WscommonPackageImpl; -import org.eclipse.jst.j2ee.webservice.wsdd.WsddPackage; -import org.eclipse.jst.j2ee.webservice.wsdd.internal.impl.WsddPackageImpl; - - -public class TaglibPackageImpl extends EPackageImpl implements TaglibPackage, EPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass tagLibEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass jspTagEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass jspTagAttributeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass validatorEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass jspVariableEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass functionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass tagFileEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass tldExtensionEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass extensibleTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum bodyContentTypeEEnum = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EEnum jspScriptingVariableScopeEEnum = null; - - /** - * @generated This field/method will be replaced during code generation. - */ - private TaglibPackageImpl() { - super(eNS_URI, TaglibFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private static boolean isInited = false; - - /** - * @generated This field/method will be replaced during code generation. - */ - public static TaglibPackage init() { - if (isInited) return (TaglibPackage)EPackage.Registry.INSTANCE.getEPackage(TaglibPackage.eNS_URI); - - // Obtain or create and register package - TaglibPackageImpl theTaglibPackage = (TaglibPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof TaglibPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new TaglibPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - JavaRefPackage.eINSTANCE.eClass(); - - // Obtain or create and register interdependencies - ClientPackageImpl theClientPackage = (ClientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ClientPackage.eNS_URI) instanceof ClientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ClientPackage.eNS_URI) : ClientPackage.eINSTANCE); - ApplicationPackageImpl theApplicationPackage = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE); - ApplicationPackageImpl theApplicationPackage_1 = (ApplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) instanceof ApplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(ApplicationPackage.eNS_URI) : ApplicationPackage.eINSTANCE); - CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE); - EjbPackageImpl theEjbPackage = (EjbPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) instanceof EjbPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EjbPackage.eNS_URI) : EjbPackage.eINSTANCE); - WebapplicationPackageImpl theWebapplicationPackage = (WebapplicationPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI) instanceof WebapplicationPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI) : WebapplicationPackage.eINSTANCE); - JcaPackageImpl theJcaPackage = (JcaPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) instanceof JcaPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JcaPackage.eNS_URI) : JcaPackage.eINSTANCE); - Webservice_clientPackageImpl theWebservice_clientPackage = (Webservice_clientPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(Webservice_clientPackage.eNS_URI) instanceof Webservice_clientPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(Webservice_clientPackage.eNS_URI) : Webservice_clientPackage.eINSTANCE); - JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI) : JspPackage.eINSTANCE); - WscommonPackageImpl theWscommonPackage = (WscommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WscommonPackage.eNS_URI) instanceof WscommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WscommonPackage.eNS_URI) : WscommonPackage.eINSTANCE); - WsddPackageImpl theWsddPackage = (WsddPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(WsddPackage.eNS_URI) instanceof WsddPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(WsddPackage.eNS_URI) : WsddPackage.eINSTANCE); - - // Create package meta-data objects - theTaglibPackage.createPackageContents(); - theClientPackage.createPackageContents(); - theApplicationPackage.createPackageContents(); - theApplicationPackage_1.createPackageContents(); - theCommonPackage.createPackageContents(); - theEjbPackage.createPackageContents(); - theWebapplicationPackage.createPackageContents(); - theJcaPackage.createPackageContents(); - theWebservice_clientPackage.createPackageContents(); - theJspPackage.createPackageContents(); - theWscommonPackage.createPackageContents(); - theWsddPackage.createPackageContents(); - - // Initialize created meta-data - theTaglibPackage.initializePackageContents(); - theClientPackage.initializePackageContents(); - theApplicationPackage.initializePackageContents(); - theApplicationPackage_1.initializePackageContents(); - theCommonPackage.initializePackageContents(); - theEjbPackage.initializePackageContents(); - theWebapplicationPackage.initializePackageContents(); - theJcaPackage.initializePackageContents(); - theWebservice_clientPackage.initializePackageContents(); - theJspPackage.initializePackageContents(); - theWscommonPackage.initializePackageContents(); - theWsddPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theTaglibPackage.freeze(); - - return theTaglibPackage; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getTagLib() { - return tagLibEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getTagLib_TagLibVersion() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getTagLib_JspVersion() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getTagLib_ShortName() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(2); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getTagLib_Uri() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(3); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getTagLib_Tags() { - return (EReference)tagLibEClass.getEStructuralFeatures().get(4); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getTagLib_Validator() { - return (EReference)tagLibEClass.getEStructuralFeatures().get(5); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getTagLib_Listeners() { - return (EReference)tagLibEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTagLib_Functions() { - return (EReference)tagLibEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTagLib_TaglibExtensions() { - return (EReference)tagLibEClass.getEStructuralFeatures().get(8); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getValidator() { - return validatorEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getValidator_ValidatorClass() { - return (EReference)validatorEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getValidator_InitParams() { - return (EReference)validatorEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getValidator_Descriptions() { - return (EReference)validatorEClass.getEStructuralFeatures().get(2); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJSPTag() { - return jspTagEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPTag_BodyContent() { - return (EAttribute)jspTagEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPTag_Example() { - return (EAttribute)jspTagEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJSPTag_Name() { - return (EAttribute)jspTagEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJSPTag_DynamicAttributes() { - return (EAttribute)jspTagEClass.getEStructuralFeatures().get(3); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJSPTag_Attributes() { - return (EReference)jspTagEClass.getEStructuralFeatures().get(4); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJSPTag_Variables() { - return (EReference)jspTagEClass.getEStructuralFeatures().get(5); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJSPTag_TagClass() { - return (EReference)jspTagEClass.getEStructuralFeatures().get(6); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJSPTag_TeiClass() { - return (EReference)jspTagEClass.getEStructuralFeatures().get(7); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJSPTagAttribute() { - return jspTagAttributeEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPTagAttribute_Name() { - return (EAttribute)jspTagAttributeEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPTagAttribute_Required() { - return (EAttribute)jspTagAttributeEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPTagAttribute_RtExprValue() { - return (EAttribute)jspTagAttributeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJSPTagAttribute_Fragment() { - return (EAttribute)jspTagAttributeEClass.getEStructuralFeatures().get(3); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJSPTagAttribute_Type() { - return (EReference)jspTagAttributeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJSPTagAttribute_Descriptions() { - return (EReference)jspTagAttributeEClass.getEStructuralFeatures().get(5); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EClass getJSPVariable() { - return jspVariableEClass; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPVariable_NameGiven() { - return (EAttribute)jspVariableEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPVariable_NameFromAttribute() { - return (EAttribute)jspVariableEClass.getEStructuralFeatures().get(1); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPVariable_Declare() { - return (EAttribute)jspVariableEClass.getEStructuralFeatures().get(2); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EAttribute getJSPVariable_Scope() { - return (EAttribute)jspVariableEClass.getEStructuralFeatures().get(3); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EReference getJSPVariable_VariableClass() { - return (EReference)jspVariableEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJSPVariable_Descriptions() { - return (EReference)jspVariableEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFunction() { - return functionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFunction_Name() { - return (EAttribute)functionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFunction_Signature() { - return (EAttribute)functionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFunction_Example() { - return (EAttribute)functionEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFunction_FunctionClass() { - return (EReference)functionEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFunction_FunctionExtensions() { - return (EReference)functionEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTagFile() { - return tagFileEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagFile_Name() { - return (EAttribute)tagFileEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagFile_Path() { - return (EAttribute)tagFileEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagFile_Example() { - return (EAttribute)tagFileEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTagFile_TagExtensions() { - return (EReference)tagFileEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTldExtension() { - return tldExtensionEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTldExtension_Namespace() { - return (EAttribute)tldExtensionEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getTldExtension_ExtensionElements() { - return (EReference)tldExtensionEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExtensibleType() { - return extensibleTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExtensibleType_Value() { - return (EAttribute)extensibleTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EEnum getBodyContentType() { - return bodyContentTypeEEnum; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public EEnum getJSPScriptingVariableScope() { - return jspScriptingVariableScopeEEnum; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public TaglibFactory getTaglibFactory() { - return (TaglibFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - tagLibEClass = createEClass(TAG_LIB); - createEAttribute(tagLibEClass, TAG_LIB__TAG_LIB_VERSION); - createEAttribute(tagLibEClass, TAG_LIB__JSP_VERSION); - createEAttribute(tagLibEClass, TAG_LIB__SHORT_NAME); - createEAttribute(tagLibEClass, TAG_LIB__URI); - createEReference(tagLibEClass, TAG_LIB__TAGS); - createEReference(tagLibEClass, TAG_LIB__VALIDATOR); - createEReference(tagLibEClass, TAG_LIB__LISTENERS); - createEReference(tagLibEClass, TAG_LIB__FUNCTIONS); - createEReference(tagLibEClass, TAG_LIB__TAGLIB_EXTENSIONS); - - jspTagEClass = createEClass(JSP_TAG); - createEAttribute(jspTagEClass, JSP_TAG__BODY_CONTENT); - createEAttribute(jspTagEClass, JSP_TAG__EXAMPLE); - createEAttribute(jspTagEClass, JSP_TAG__NAME); - createEAttribute(jspTagEClass, JSP_TAG__DYNAMIC_ATTRIBUTES); - createEReference(jspTagEClass, JSP_TAG__ATTRIBUTES); - createEReference(jspTagEClass, JSP_TAG__VARIABLES); - createEReference(jspTagEClass, JSP_TAG__TAG_CLASS); - createEReference(jspTagEClass, JSP_TAG__TEI_CLASS); - - jspTagAttributeEClass = createEClass(JSP_TAG_ATTRIBUTE); - createEAttribute(jspTagAttributeEClass, JSP_TAG_ATTRIBUTE__NAME); - createEAttribute(jspTagAttributeEClass, JSP_TAG_ATTRIBUTE__REQUIRED); - createEAttribute(jspTagAttributeEClass, JSP_TAG_ATTRIBUTE__RT_EXPR_VALUE); - createEAttribute(jspTagAttributeEClass, JSP_TAG_ATTRIBUTE__FRAGMENT); - createEReference(jspTagAttributeEClass, JSP_TAG_ATTRIBUTE__TYPE); - createEReference(jspTagAttributeEClass, JSP_TAG_ATTRIBUTE__DESCRIPTIONS); - - validatorEClass = createEClass(VALIDATOR); - createEReference(validatorEClass, VALIDATOR__VALIDATOR_CLASS); - createEReference(validatorEClass, VALIDATOR__INIT_PARAMS); - createEReference(validatorEClass, VALIDATOR__DESCRIPTIONS); - - jspVariableEClass = createEClass(JSP_VARIABLE); - createEAttribute(jspVariableEClass, JSP_VARIABLE__NAME_GIVEN); - createEAttribute(jspVariableEClass, JSP_VARIABLE__NAME_FROM_ATTRIBUTE); - createEAttribute(jspVariableEClass, JSP_VARIABLE__DECLARE); - createEAttribute(jspVariableEClass, JSP_VARIABLE__SCOPE); - createEReference(jspVariableEClass, JSP_VARIABLE__VARIABLE_CLASS); - createEReference(jspVariableEClass, JSP_VARIABLE__DESCRIPTIONS); - - functionEClass = createEClass(FUNCTION); - createEAttribute(functionEClass, FUNCTION__NAME); - createEAttribute(functionEClass, FUNCTION__SIGNATURE); - createEAttribute(functionEClass, FUNCTION__EXAMPLE); - createEReference(functionEClass, FUNCTION__FUNCTION_CLASS); - createEReference(functionEClass, FUNCTION__FUNCTION_EXTENSIONS); - - tagFileEClass = createEClass(TAG_FILE); - createEAttribute(tagFileEClass, TAG_FILE__NAME); - createEAttribute(tagFileEClass, TAG_FILE__PATH); - createEAttribute(tagFileEClass, TAG_FILE__EXAMPLE); - createEReference(tagFileEClass, TAG_FILE__TAG_EXTENSIONS); - - tldExtensionEClass = createEClass(TLD_EXTENSION); - createEAttribute(tldExtensionEClass, TLD_EXTENSION__NAMESPACE); - createEReference(tldExtensionEClass, TLD_EXTENSION__EXTENSION_ELEMENTS); - - extensibleTypeEClass = createEClass(EXTENSIBLE_TYPE); - createEAttribute(extensibleTypeEClass, EXTENSIBLE_TYPE__VALUE); - - // Create enums - bodyContentTypeEEnum = createEEnum(BODY_CONTENT_TYPE); - jspScriptingVariableScopeEEnum = createEEnum(JSP_SCRIPTING_VARIABLE_SCOPE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI); - JavaRefPackage theJavaRefPackage = (JavaRefPackage)EPackage.Registry.INSTANCE.getEPackage(JavaRefPackage.eNS_URI); - WebapplicationPackage theWebapplicationPackage = (WebapplicationPackage)EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI); - - // Add supertypes to classes - tagLibEClass.getESuperTypes().add(theCommonPackage.getCompatibilityDescriptionGroup()); - jspTagEClass.getESuperTypes().add(theCommonPackage.getDescriptionGroup()); - jspTagAttributeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - validatorEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - jspVariableEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - functionEClass.getESuperTypes().add(theCommonPackage.getDescriptionGroup()); - tagFileEClass.getESuperTypes().add(theCommonPackage.getDescriptionGroup()); - tldExtensionEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - extensibleTypeEClass.getESuperTypes().add(theCommonPackage.getJ2EEEObject()); - - // Initialize classes and features; add operations and parameters - initEClass(tagLibEClass, TagLib.class, "TagLib", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTagLib_TagLibVersion(), ecorePackage.getEString(), "tagLibVersion", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTagLib_JspVersion(), ecorePackage.getEString(), "jspVersion", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTagLib_ShortName(), ecorePackage.getEString(), "shortName", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTagLib_Uri(), ecorePackage.getEString(), "uri", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTagLib_Tags(), this.getJSPTag(), null, "tags", null, 1, -1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTagLib_Validator(), this.getValidator(), null, "validator", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTagLib_Listeners(), theCommonPackage.getListener(), null, "listeners", null, 0, -1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTagLib_Functions(), this.getFunction(), null, "functions", null, 0, -1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTagLib_TaglibExtensions(), this.getTldExtension(), null, "taglibExtensions", null, 0, -1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(jspTagEClass, JSPTag.class, "JSPTag", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJSPTag_BodyContent(), this.getBodyContentType(), "bodyContent", null, 0, 1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPTag_Example(), ecorePackage.getEString(), "example", null, 0, 1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPTag_Name(), ecorePackage.getEString(), "name", null, 0, 1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPTag_DynamicAttributes(), ecorePackage.getEBoolean(), "dynamicAttributes", null, 0, 1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPTag_Attributes(), this.getJSPTagAttribute(), null, "attributes", null, 0, -1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPTag_Variables(), this.getJSPVariable(), null, "variables", null, 0, -1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPTag_TagClass(), theJavaRefPackage.getJavaClass(), null, "tagClass", null, 1, 1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPTag_TeiClass(), theJavaRefPackage.getJavaClass(), null, "teiClass", null, 1, 1, JSPTag.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(jspTagAttributeEClass, JSPTagAttribute.class, "JSPTagAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJSPTagAttribute_Name(), ecorePackage.getEString(), "name", null, 0, 1, JSPTagAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPTagAttribute_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, JSPTagAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPTagAttribute_RtExprValue(), ecorePackage.getEBoolean(), "rtExprValue", "false", 0, 1, JSPTagAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPTagAttribute_Fragment(), ecorePackage.getEBoolean(), "fragment", null, 0, 1, JSPTagAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPTagAttribute_Type(), theJavaRefPackage.getJavaClass(), null, "type", null, 0, 1, JSPTagAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPTagAttribute_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, JSPTagAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(validatorEClass, Validator.class, "Validator", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getValidator_ValidatorClass(), theJavaRefPackage.getJavaClass(), null, "validatorClass", null, 0, 1, Validator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getValidator_InitParams(), theWebapplicationPackage.getInitParam(), null, "initParams", null, 0, -1, Validator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getValidator_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, Validator.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(jspVariableEClass, JSPVariable.class, "JSPVariable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getJSPVariable_NameGiven(), ecorePackage.getEString(), "nameGiven", null, 0, 1, JSPVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPVariable_NameFromAttribute(), ecorePackage.getEString(), "nameFromAttribute", null, 0, 1, JSPVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPVariable_Declare(), ecorePackage.getEBoolean(), "declare", null, 0, 1, JSPVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getJSPVariable_Scope(), this.getJSPScriptingVariableScope(), "scope", null, 0, 1, JSPVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPVariable_VariableClass(), theJavaRefPackage.getJavaClass(), null, "variableClass", null, 0, 1, JSPVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getJSPVariable_Descriptions(), theCommonPackage.getDescription(), null, "descriptions", null, 0, -1, JSPVariable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(functionEClass, Function.class, "Function", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getFunction_Name(), ecorePackage.getEString(), "name", null, 0, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFunction_Signature(), ecorePackage.getEString(), "signature", null, 0, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getFunction_Example(), ecorePackage.getEString(), "example", null, 0, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFunction_FunctionClass(), theJavaRefPackage.getJavaClass(), null, "functionClass", null, 1, 1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getFunction_FunctionExtensions(), this.getTldExtension(), null, "functionExtensions", null, 0, -1, Function.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(tagFileEClass, TagFile.class, "TagFile", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTagFile_Name(), ecorePackage.getEString(), "name", null, 0, 1, TagFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTagFile_Path(), ecorePackage.getEString(), "path", null, 0, 1, TagFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTagFile_Example(), ecorePackage.getEString(), "example", null, 0, 1, TagFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTagFile_TagExtensions(), this.getTldExtension(), null, "tagExtensions", null, 0, -1, TagFile.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(tldExtensionEClass, TldExtension.class, "TldExtension", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTldExtension_Namespace(), ecorePackage.getEString(), "namespace", null, 0, 1, TldExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getTldExtension_ExtensionElements(), this.getExtensibleType(), null, "extensionElements", null, 1, -1, TldExtension.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(extensibleTypeEClass, ExtensibleType.class, "ExtensibleType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExtensibleType_Value(), ecorePackage.getEString(), "value", null, 0, 1, ExtensibleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - // Initialize enums and add enum literals - initEEnum(bodyContentTypeEEnum, BodyContentType.class, "BodyContentType"); - addEEnumLiteral(bodyContentTypeEEnum, BodyContentType.TAGDEPENDENT_LITERAL); - addEEnumLiteral(bodyContentTypeEEnum, BodyContentType.JSP_LITERAL); - addEEnumLiteral(bodyContentTypeEEnum, BodyContentType.EMPTY_LITERAL); - addEEnumLiteral(bodyContentTypeEEnum, BodyContentType.SCRIPTLESS_LITERAL); - - initEEnum(jspScriptingVariableScopeEEnum, JSPScriptingVariableScope.class, "JSPScriptingVariableScope"); - addEEnumLiteral(jspScriptingVariableScopeEEnum, JSPScriptingVariableScope.NESTED_LITERAL); - addEEnumLiteral(jspScriptingVariableScopeEEnum, JSPScriptingVariableScope.AT_BEGIN_LITERAL); - addEEnumLiteral(jspScriptingVariableScopeEEnum, JSPScriptingVariableScope.AT_END_LITERAL); - - // Create resource - createResource(eNS_URI); - } - -} //TaglibPackageImpl - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TldExtensionImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TldExtensionImpl.java deleted file mode 100644 index 1ae1d9e64..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TldExtensionImpl.java +++ /dev/null @@ -1,218 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.taglib.internal.ExtensibleType; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Tld Extension</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.TldExtensionImpl#getNamespace <em>Namespace</em>}</li> - * <li>{@link org.eclipse.jst.j2ee.taglib.internal.impl.TldExtensionImpl#getExtensionElements <em>Extension Elements</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TldExtensionImpl extends J2EEEObjectImpl implements TldExtension { - /** - * The default value of the '{@link #getNamespace() <em>Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNamespace() - * @generated - * @ordered - */ - protected static final String NAMESPACE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getNamespace() <em>Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNamespace() - * @generated - * @ordered - */ - protected String namespace = NAMESPACE_EDEFAULT; - - /** - * The cached value of the '{@link #getExtensionElements() <em>Extension Elements</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExtensionElements() - * @generated - * @ordered - */ - protected EList extensionElements = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TldExtensionImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.TLD_EXTENSION; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getNamespace() { - return namespace; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNamespace(String newNamespace) { - String oldNamespace = namespace; - namespace = newNamespace; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.TLD_EXTENSION__NAMESPACE, oldNamespace, namespace)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getExtensionElements() { - if (extensionElements == null) { - extensionElements = new EObjectContainmentEList(ExtensibleType.class, this, TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS); - } - return extensionElements; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS: - return ((InternalEList)getExtensionElements()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.TLD_EXTENSION__NAMESPACE: - return getNamespace(); - case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS: - return getExtensionElements(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.TLD_EXTENSION__NAMESPACE: - setNamespace((String)newValue); - return; - case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS: - getExtensionElements().clear(); - getExtensionElements().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.TLD_EXTENSION__NAMESPACE: - setNamespace(NAMESPACE_EDEFAULT); - return; - case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS: - getExtensionElements().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.TLD_EXTENSION__NAMESPACE: - return NAMESPACE_EDEFAULT == null ? namespace != null : !NAMESPACE_EDEFAULT.equals(namespace); - case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS: - return extensionElements != null && !extensionElements.isEmpty(); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (namespace: "); - result.append(namespace); - result.append(')'); - return result.toString(); - } - -} //TldExtensionImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ValidatorImpl.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ValidatorImpl.java deleted file mode 100644 index 52a46a124..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ValidatorImpl.java +++ /dev/null @@ -1,239 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.impl; - -import java.util.Collection; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jem.java.JavaClass; -import org.eclipse.jst.j2ee.common.Description; -import org.eclipse.jst.j2ee.common.internal.impl.J2EEEObjectImpl; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.Validator; -import org.eclipse.jst.j2ee.webapplication.InitParam; - - -/** - * The validator element provides information on an optional validator that can be used to validate the conformance of a JSP page to using this tag library. - * @generated - */ -public class ValidatorImpl extends J2EEEObjectImpl implements Validator { - - /** - * @generated This field/method will be replaced during code generation. - */ - /** - * @generated This field/method will be replaced during code generation. - */ - protected JavaClass validatorClass = null; - public ValidatorImpl() { - super(); - } - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return TaglibPackage.Literals.VALIDATOR; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass getValidatorClass() { - if (validatorClass != null && validatorClass.eIsProxy()) { - InternalEObject oldValidatorClass = (InternalEObject)validatorClass; - validatorClass = (JavaClass)eResolveProxy(oldValidatorClass); - if (validatorClass != oldValidatorClass) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, TaglibPackage.VALIDATOR__VALIDATOR_CLASS, oldValidatorClass, validatorClass)); - } - } - return validatorClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JavaClass basicGetValidatorClass() { - return validatorClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValidatorClass(JavaClass newValidatorClass) { - JavaClass oldValidatorClass = validatorClass; - validatorClass = newValidatorClass; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, TaglibPackage.VALIDATOR__VALIDATOR_CLASS, oldValidatorClass, validatorClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getInitParams() { - if (initParams == null) { - initParams = new EObjectContainmentEList(InitParam.class, this, TaglibPackage.VALIDATOR__INIT_PARAMS); - } - return initParams; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList(Description.class, this, TaglibPackage.VALIDATOR__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case TaglibPackage.VALIDATOR__INIT_PARAMS: - return ((InternalEList)getInitParams()).basicRemove(otherEnd, msgs); - case TaglibPackage.VALIDATOR__DESCRIPTIONS: - return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case TaglibPackage.VALIDATOR__VALIDATOR_CLASS: - if (resolve) return getValidatorClass(); - return basicGetValidatorClass(); - case TaglibPackage.VALIDATOR__INIT_PARAMS: - return getInitParams(); - case TaglibPackage.VALIDATOR__DESCRIPTIONS: - return getDescriptions(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case TaglibPackage.VALIDATOR__VALIDATOR_CLASS: - setValidatorClass((JavaClass)newValue); - return; - case TaglibPackage.VALIDATOR__INIT_PARAMS: - getInitParams().clear(); - getInitParams().addAll((Collection)newValue); - return; - case TaglibPackage.VALIDATOR__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case TaglibPackage.VALIDATOR__VALIDATOR_CLASS: - setValidatorClass((JavaClass)null); - return; - case TaglibPackage.VALIDATOR__INIT_PARAMS: - getInitParams().clear(); - return; - case TaglibPackage.VALIDATOR__DESCRIPTIONS: - getDescriptions().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case TaglibPackage.VALIDATOR__VALIDATOR_CLASS: - return validatorClass != null; - case TaglibPackage.VALIDATOR__INIT_PARAMS: - return initParams != null && !initParams.isEmpty(); - case TaglibPackage.VALIDATOR__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - } - return super.eIsSet(featureID); - } - - protected EList initParams=null; - - - /** - * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescriptions() - * @generated - * @ordered - */ - protected EList descriptions = null; - - protected boolean setValidatorClass=false; - -} - - - - - - - - - - - - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/util/TaglibAdapterFactory.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/util/TaglibAdapterFactory.java deleted file mode 100644 index 9a4406043..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/util/TaglibAdapterFactory.java +++ /dev/null @@ -1,321 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup; -import org.eclipse.jst.j2ee.common.DescriptionGroup; -import org.eclipse.jst.j2ee.common.J2EEEObject; -import org.eclipse.jst.j2ee.taglib.internal.ExtensibleType; -import org.eclipse.jst.j2ee.taglib.internal.Function; -import org.eclipse.jst.j2ee.taglib.internal.JSPTag; -import org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute; -import org.eclipse.jst.j2ee.taglib.internal.JSPVariable; -import org.eclipse.jst.j2ee.taglib.internal.TagFile; -import org.eclipse.jst.j2ee.taglib.internal.TagLib; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; -import org.eclipse.jst.j2ee.taglib.internal.Validator; - - - -public class TaglibAdapterFactory extends AdapterFactoryImpl { - protected static TaglibPackage modelPackage; - - public TaglibAdapterFactory() { - if (modelPackage == null) { - modelPackage = (TaglibPackage)EPackage.Registry.INSTANCE.getEPackage(TaglibPackage.eNS_URI); - } - } - public boolean isFactoryForType(Object type) { - if (type == modelPackage) { - return true; - } - if (type instanceof EObject) { - return ((EObject)type).eClass().eContainer() == modelPackage; - } - return false; - } - - protected TaglibSwitch sw = new TaglibSwitch() { - public Object caseTagLib(TagLib object) { - return createTagLibAdapter(); - } - public Object caseValidator(Validator object) { - return createValidatorAdapter(); - } - public Object caseJSPTag(JSPTag object) { - return createJSPTagAdapter(); - } - public Object caseJSPTagAttribute(JSPTagAttribute object) { - return createJSPTagAttributeAdapter(); - } - public Object caseJSPVariable(JSPVariable object) { - return createJSPVariableAdapter(); - } - }; - - public Adapter createAdapter(Notifier target) { - return (Adapter)sw.doSwitch((EObject)target); - } - - /** - * By default create methods return null so that we can easily ignore cases. - * It's useful to ignore a case when inheritance will catch all the cases anyway. - */ - - public Adapter createTagLibAdapter() { - return null; - } - - public Adapter createValidatorAdapter() { - return null; - } - - public Adapter createJSPTagAdapter() { - return null; - } - - public Adapter createJSPTagAttributeAdapter() { - return null; - } - - public Adapter createJSPVariableAdapter() { - return null; - } - /** - * @generated This field/method will be replaced during code generation. - */ - public boolean isFactoryForTypeGen(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TaglibSwitch modelSwitch = - new TaglibSwitch() { - public Object caseTagLib(TagLib object) { - return createTagLibAdapter(); - } - public Object caseJSPTag(JSPTag object) { - return createJSPTagAdapter(); - } - public Object caseJSPTagAttribute(JSPTagAttribute object) { - return createJSPTagAttributeAdapter(); - } - public Object caseValidator(Validator object) { - return createValidatorAdapter(); - } - public Object caseJSPVariable(JSPVariable object) { - return createJSPVariableAdapter(); - } - public Object caseFunction(Function object) { - return createFunctionAdapter(); - } - public Object caseTagFile(TagFile object) { - return createTagFileAdapter(); - } - public Object caseTldExtension(TldExtension object) { - return createTldExtensionAdapter(); - } - public Object caseExtensibleType(ExtensibleType object) { - return createExtensibleTypeAdapter(); - } - public Object caseJ2EEEObject(J2EEEObject object) { - return createJ2EEEObjectAdapter(); - } - public Object caseDescriptionGroup(DescriptionGroup object) { - return createDescriptionGroupAdapter(); - } - public Object caseCompatibilityDescriptionGroup(CompatibilityDescriptionGroup object) { - return createCompatibilityDescriptionGroupAdapter(); - } - public Object defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * @generated This field/method will be replaced during code generation. - */ - public Adapter createAdapterGen(Notifier target) { - return (Adapter)modelSwitch.doSwitch((EObject)target); - } - - - /** - * By default create methods return null so that we can easily ignore cases. - * It's useful to ignore a case when inheritance will catch all the cases anyway. - */ - - /** - * @generated This field/method will be replaced during code generation. - */ - public Adapter createTagLibAdapterGen() { - - return null; - } - /** - * @generated This field/method will be replaced during code generation. - */ - public Adapter createValidatorAdapterGen() { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Adapter createJSPTagAdapterGen() { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Adapter createJSPTagAttributeAdapterGen() { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Adapter createJSPVariableAdapterGen() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.taglib.internal.Function <em>Function</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.taglib.internal.Function - * @generated - */ - public Adapter createFunctionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.taglib.internal.TagFile <em>Tag File</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.taglib.internal.TagFile - * @generated - */ - public Adapter createTagFileAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.taglib.internal.TldExtension <em>Tld Extension</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.taglib.internal.TldExtension - * @generated - */ - public Adapter createTldExtensionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.taglib.internal.ExtensibleType <em>Extensible Type</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.taglib.internal.ExtensibleType - * @generated - */ - public Adapter createExtensibleTypeAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.J2EEEObject <em>J2EEE Object</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.common.J2EEEObject - * @generated - */ - public Adapter createJ2EEEObjectAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.DescriptionGroup <em>Description Group</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.common.DescriptionGroup - * @generated - */ - public Adapter createDescriptionGroupAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup <em>Compatibility Description Group</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup - * @generated - */ - public Adapter createCompatibilityDescriptionGroupAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //TaglibAdapterFactory - - - diff --git a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/util/TaglibSwitch.java b/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/util/TaglibSwitch.java deleted file mode 100644 index fd1bd88da..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/util/TaglibSwitch.java +++ /dev/null @@ -1,378 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2001, 2006 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.j2ee.taglib.internal.util; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup; -import org.eclipse.jst.j2ee.common.DescriptionGroup; -import org.eclipse.jst.j2ee.common.J2EEEObject; -import org.eclipse.jst.j2ee.taglib.internal.ExtensibleType; -import org.eclipse.jst.j2ee.taglib.internal.Function; -import org.eclipse.jst.j2ee.taglib.internal.JSPTag; -import org.eclipse.jst.j2ee.taglib.internal.JSPTagAttribute; -import org.eclipse.jst.j2ee.taglib.internal.JSPVariable; -import org.eclipse.jst.j2ee.taglib.internal.TagFile; -import org.eclipse.jst.j2ee.taglib.internal.TagLib; -import org.eclipse.jst.j2ee.taglib.internal.TaglibFactory; -import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage; -import org.eclipse.jst.j2ee.taglib.internal.TldExtension; -import org.eclipse.jst.j2ee.taglib.internal.Validator; -import org.eclipse.jst.j2ee.taglib.internal.impl.TaglibFactoryImpl; - -public class TaglibSwitch { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static TaglibPackage modelPackage; - - protected static TaglibFactory factory; - - public TaglibSwitch() { - factory = (TaglibFactory)TaglibFactoryImpl.getPackage().getEFactoryInstance(); - modelPackage = TaglibFactoryImpl.getPackage(); - } - public Object doSwitch(EObject theEObject) { - EClass theEClass = theEObject.eClass(); - if (theEClass.eContainer() != modelPackage) return defaultCase(theEObject); - - switch (theEClass.getClassifierID()) { - case TaglibPackage.TAG_LIB: - { - TagLib castedObject = (TagLib)theEObject; - Object result = caseTagLib(castedObject); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.VALIDATOR: - { - Validator castedObject = (Validator)theEObject; - Object result = caseValidator(castedObject); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.JSP_TAG: - { - JSPTag castedObject = (JSPTag)theEObject; - Object result = caseJSPTag(castedObject); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.JSP_TAG_ATTRIBUTE: - { - JSPTagAttribute castedObject = (JSPTagAttribute)theEObject; - Object result = caseJSPTagAttribute(castedObject); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.JSP_VARIABLE: - { - JSPVariable castedObject = (JSPVariable)theEObject; - Object result = caseJSPVariable(castedObject); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } // doSwitch - - public Object caseTagLib(TagLib object) { - return null; - } - - public Object caseValidator(Validator object) { - return null; - } - - public Object caseJSPTag(JSPTag object) { - return null; - } - - public Object caseJSPTagAttribute(JSPTagAttribute object) { - return null; - } - - public Object caseJSPVariable(JSPVariable object) { - return null; - } - - public Object defaultCase(EObject object) { - return null; - } - /** - * @generated This field/method will be replaced during code generation. - */ - public Object doSwitchGen(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch((EClass)eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected Object doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case TaglibPackage.TAG_LIB: { - TagLib tagLib = (TagLib)theEObject; - Object result = caseTagLib(tagLib); - if (result == null) result = caseCompatibilityDescriptionGroup(tagLib); - if (result == null) result = caseDescriptionGroup(tagLib); - if (result == null) result = caseJ2EEEObject(tagLib); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.JSP_TAG: { - JSPTag jspTag = (JSPTag)theEObject; - Object result = caseJSPTag(jspTag); - if (result == null) result = caseDescriptionGroup(jspTag); - if (result == null) result = caseJ2EEEObject(jspTag); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.JSP_TAG_ATTRIBUTE: { - JSPTagAttribute jspTagAttribute = (JSPTagAttribute)theEObject; - Object result = caseJSPTagAttribute(jspTagAttribute); - if (result == null) result = caseJ2EEEObject(jspTagAttribute); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.VALIDATOR: { - Validator validator = (Validator)theEObject; - Object result = caseValidator(validator); - if (result == null) result = caseJ2EEEObject(validator); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.JSP_VARIABLE: { - JSPVariable jspVariable = (JSPVariable)theEObject; - Object result = caseJSPVariable(jspVariable); - if (result == null) result = caseJ2EEEObject(jspVariable); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.FUNCTION: { - Function function = (Function)theEObject; - Object result = caseFunction(function); - if (result == null) result = caseDescriptionGroup(function); - if (result == null) result = caseJ2EEEObject(function); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.TAG_FILE: { - TagFile tagFile = (TagFile)theEObject; - Object result = caseTagFile(tagFile); - if (result == null) result = caseDescriptionGroup(tagFile); - if (result == null) result = caseJ2EEEObject(tagFile); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.TLD_EXTENSION: { - TldExtension tldExtension = (TldExtension)theEObject; - Object result = caseTldExtension(tldExtension); - if (result == null) result = caseJ2EEEObject(tldExtension); - if (result == null) result = defaultCase(theEObject); - return result; - } - case TaglibPackage.EXTENSIBLE_TYPE: { - ExtensibleType extensibleType = (ExtensibleType)theEObject; - Object result = caseExtensibleType(extensibleType); - if (result == null) result = caseJ2EEEObject(extensibleType); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Object caseTagLibGen(TagLib object) { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Object caseValidatorGen(Validator object) { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Object caseJSPTagGen(JSPTag object) { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Object caseJSPTagAttributeGen(JSPTagAttribute object) { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Object caseJSPVariableGen(JSPVariable object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Function</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Function</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseFunction(Function object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Tag File</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Tag File</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseTagFile(TagFile object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Tld Extension</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Tld Extension</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseTldExtension(TldExtension object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Extensible Type</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Extensible Type</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseExtensibleType(ExtensibleType object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>J2EEE Object</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>J2EEE Object</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseJ2EEEObject(J2EEEObject object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Description Group</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Description Group</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseDescriptionGroup(DescriptionGroup object) { - return null; - } - - /** - * Returns the result of interpretting the object as an instance of '<em>Compatibility Description Group</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpretting the object as an instance of '<em>Compatibility Description Group</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public Object caseCompatibilityDescriptionGroup(CompatibilityDescriptionGroup object) { - return null; - } - - /** - * @generated This field/method will be replaced during code generation. - */ - public Object defaultCaseGen(EObject object) { - return null; - } - -} //TaglibSwitch - - - - - - - - |