Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl')
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ExtensibleTypeImpl.java164
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/FunctionImpl.java431
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagAttributeImpl.java473
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagImpl.java599
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPVariableImpl.java397
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagFileImpl.java370
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagLibImpl.java594
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibFactoryImpl.java190
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibPackageImpl.java858
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TldExtensionImpl.java223
-rw-r--r--plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ValidatorImpl.java245
11 files changed, 0 insertions, 4544 deletions
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 167084705..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ExtensibleTypeImpl.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.jst.j2ee.taglib.internal.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-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 EObjectImpl 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.eINSTANCE.getExtensibleType();
- }
-
- /**
- * <!-- 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(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.EXTENSIBLE_TYPE__VALUE:
- return getValue();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.EXTENSIBLE_TYPE__VALUE:
- setValue((String)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.EXTENSIBLE_TYPE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.EXTENSIBLE_TYPE__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- 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 74455dda0..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/FunctionImpl.java
+++ /dev/null
@@ -1,431 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EStructuralFeature;
-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.eINSTANCE.getFunction();
- }
-
- /**
- * <!-- 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()) {
- JavaClass oldFunctionClass = functionClass;
- functionClass = (JavaClass)eResolveProxy((InternalEObject)functionClass);
- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.FUNCTION__ICONS:
- return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
- case TaglibPackage.FUNCTION__DISPLAY_NAMES:
- return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
- case TaglibPackage.FUNCTION__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- case TaglibPackage.FUNCTION__FUNCTION_EXTENSIONS:
- return ((InternalEList)getFunctionExtensions()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.FUNCTION__ICONS:
- return getIcons();
- case TaglibPackage.FUNCTION__DISPLAY_NAMES:
- return getDisplayNames();
- case TaglibPackage.FUNCTION__DESCRIPTIONS:
- return getDescriptions();
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.FUNCTION__ICONS:
- getIcons().clear();
- getIcons().addAll((Collection)newValue);
- return;
- case TaglibPackage.FUNCTION__DISPLAY_NAMES:
- getDisplayNames().clear();
- getDisplayNames().addAll((Collection)newValue);
- return;
- case TaglibPackage.FUNCTION__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.FUNCTION__ICONS:
- getIcons().clear();
- return;
- case TaglibPackage.FUNCTION__DISPLAY_NAMES:
- getDisplayNames().clear();
- return;
- case TaglibPackage.FUNCTION__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- 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;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.FUNCTION__ICONS:
- return icons != null && !icons.isEmpty();
- case TaglibPackage.FUNCTION__DISPLAY_NAMES:
- return displayNames != null && !displayNames.isEmpty();
- case TaglibPackage.FUNCTION__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- 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 508a5d6b9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagAttributeImpl.java
+++ /dev/null
@@ -1,473 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-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.taglib.internal.JSPTagAttribute;
-import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage;
-
-
-/**
- * The attribute tag defines an attribute for the nesting tag
- */
-public class JSPTagAttributeImpl extends EObjectImpl implements JSPTagAttribute, EObject{
-
- /**
- * 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.eINSTANCE.getJSPTagAttribute();
- }
-
- /**
- * @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()) {
- JavaClass oldType = type;
- type = (JavaClass)eResolveProxy((InternalEObject)type);
- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.JSP_TAG_ATTRIBUTE__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @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 1a440fbf0..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPTagImpl.java
+++ /dev/null
@@ -1,599 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EStructuralFeature;
-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.eINSTANCE.getJSPTag();
- }
-
- /**
- * @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()) {
- JavaClass oldTagClass = tagClass;
- tagClass = (JavaClass)eResolveProxy((InternalEObject)tagClass);
- 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()) {
- JavaClass oldTeiClass = teiClass;
- teiClass = (JavaClass)eResolveProxy((InternalEObject)teiClass);
- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.JSP_TAG__ICONS:
- return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
- case TaglibPackage.JSP_TAG__DISPLAY_NAMES:
- return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
- case TaglibPackage.JSP_TAG__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- case TaglibPackage.JSP_TAG__ATTRIBUTES:
- return ((InternalEList)getAttributes()).basicRemove(otherEnd, msgs);
- case TaglibPackage.JSP_TAG__VARIABLES:
- return ((InternalEList)getVariables()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.JSP_TAG__ICONS:
- return getIcons();
- case TaglibPackage.JSP_TAG__DISPLAY_NAMES:
- return getDisplayNames();
- case TaglibPackage.JSP_TAG__DESCRIPTIONS:
- return getDescriptions();
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.JSP_TAG__ICONS:
- return icons != null && !icons.isEmpty();
- case TaglibPackage.JSP_TAG__DISPLAY_NAMES:
- return displayNames != null && !displayNames.isEmpty();
- case TaglibPackage.JSP_TAG__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.JSP_TAG__ICONS:
- getIcons().clear();
- getIcons().addAll((Collection)newValue);
- return;
- case TaglibPackage.JSP_TAG__DISPLAY_NAMES:
- getDisplayNames().clear();
- getDisplayNames().addAll((Collection)newValue);
- return;
- case TaglibPackage.JSP_TAG__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.JSP_TAG__ICONS:
- getIcons().clear();
- return;
- case TaglibPackage.JSP_TAG__DISPLAY_NAMES:
- getDisplayNames().clear();
- return;
- case TaglibPackage.JSP_TAG__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- 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;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @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 c416fe815..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/JSPVariableImpl.java
+++ /dev/null
@@ -1,397 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-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.taglib.internal.JSPScriptingVariableScope;
-import org.eclipse.jst.j2ee.taglib.internal.JSPVariable;
-import org.eclipse.jst.j2ee.taglib.internal.TaglibPackage;
-
-
-/**
- * @generated
- */
-public class JSPVariableImpl extends EObjectImpl 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.eINSTANCE.getJSPVariable();
- }
-
- /**
- * @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()) {
- JavaClass oldVariableClass = variableClass;
- variableClass = (JavaClass)eResolveProxy((InternalEObject)variableClass);
- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.JSP_VARIABLE__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @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 4b1956ba9..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagFileImpl.java
+++ /dev/null
@@ -1,370 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EStructuralFeature;
-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.eINSTANCE.getTagFile();
- }
-
- /**
- * <!-- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.TAG_FILE__ICONS:
- return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
- case TaglibPackage.TAG_FILE__DISPLAY_NAMES:
- return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
- case TaglibPackage.TAG_FILE__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- case TaglibPackage.TAG_FILE__TAG_EXTENSIONS:
- return ((InternalEList)getTagExtensions()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_FILE__ICONS:
- return getIcons();
- case TaglibPackage.TAG_FILE__DISPLAY_NAMES:
- return getDisplayNames();
- case TaglibPackage.TAG_FILE__DESCRIPTIONS:
- return getDescriptions();
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_FILE__ICONS:
- getIcons().clear();
- getIcons().addAll((Collection)newValue);
- return;
- case TaglibPackage.TAG_FILE__DISPLAY_NAMES:
- getDisplayNames().clear();
- getDisplayNames().addAll((Collection)newValue);
- return;
- case TaglibPackage.TAG_FILE__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_FILE__ICONS:
- getIcons().clear();
- return;
- case TaglibPackage.TAG_FILE__DISPLAY_NAMES:
- getDisplayNames().clear();
- return;
- case TaglibPackage.TAG_FILE__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- 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;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_FILE__ICONS:
- return icons != null && !icons.isEmpty();
- case TaglibPackage.TAG_FILE__DISPLAY_NAMES:
- return displayNames != null && !displayNames.isEmpty();
- case TaglibPackage.TAG_FILE__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- 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 c3161223f..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TagLibImpl.java
+++ /dev/null
@@ -1,594 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EStructuralFeature;
-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.eINSTANCE.getTagLib();
- }
-
- /**
- * @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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.TAG_LIB__ICONS:
- return ((InternalEList)getIcons()).basicRemove(otherEnd, msgs);
- case TaglibPackage.TAG_LIB__DISPLAY_NAMES:
- return ((InternalEList)getDisplayNames()).basicRemove(otherEnd, msgs);
- case TaglibPackage.TAG_LIB__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- 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);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_LIB__ICONS:
- return getIcons();
- case TaglibPackage.TAG_LIB__DISPLAY_NAMES:
- return getDisplayNames();
- case TaglibPackage.TAG_LIB__DESCRIPTIONS:
- return getDescriptions();
- case TaglibPackage.TAG_LIB__SMALL_ICON:
- return getSmallIcon();
- case TaglibPackage.TAG_LIB__LARGE_ICON:
- return getLargeIcon();
- case TaglibPackage.TAG_LIB__DESCRIPTION:
- return getDescription();
- case TaglibPackage.TAG_LIB__DISPLAY_NAME:
- return getDisplayName();
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_LIB__ICONS:
- return icons != null && !icons.isEmpty();
- case TaglibPackage.TAG_LIB__DISPLAY_NAMES:
- return displayNames != null && !displayNames.isEmpty();
- case TaglibPackage.TAG_LIB__DESCRIPTIONS:
- return descriptions != null && !descriptions.isEmpty();
- case TaglibPackage.TAG_LIB__SMALL_ICON:
- return SMALL_ICON_EDEFAULT == null ? smallIcon != null : !SMALL_ICON_EDEFAULT.equals(smallIcon);
- case TaglibPackage.TAG_LIB__LARGE_ICON:
- return LARGE_ICON_EDEFAULT == null ? largeIcon != null : !LARGE_ICON_EDEFAULT.equals(largeIcon);
- case TaglibPackage.TAG_LIB__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case TaglibPackage.TAG_LIB__DISPLAY_NAME:
- return DISPLAY_NAME_EDEFAULT == null ? displayName != null : !DISPLAY_NAME_EDEFAULT.equals(displayName);
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_LIB__ICONS:
- getIcons().clear();
- getIcons().addAll((Collection)newValue);
- return;
- case TaglibPackage.TAG_LIB__DISPLAY_NAMES:
- getDisplayNames().clear();
- getDisplayNames().addAll((Collection)newValue);
- return;
- case TaglibPackage.TAG_LIB__DESCRIPTIONS:
- getDescriptions().clear();
- getDescriptions().addAll((Collection)newValue);
- return;
- case TaglibPackage.TAG_LIB__SMALL_ICON:
- setSmallIcon((String)newValue);
- return;
- case TaglibPackage.TAG_LIB__LARGE_ICON:
- setLargeIcon((String)newValue);
- return;
- case TaglibPackage.TAG_LIB__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case TaglibPackage.TAG_LIB__DISPLAY_NAME:
- setDisplayName((String)newValue);
- return;
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * @generated This field/method will be replaced during code generation.
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TAG_LIB__ICONS:
- getIcons().clear();
- return;
- case TaglibPackage.TAG_LIB__DISPLAY_NAMES:
- getDisplayNames().clear();
- return;
- case TaglibPackage.TAG_LIB__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- case TaglibPackage.TAG_LIB__SMALL_ICON:
- setSmallIcon(SMALL_ICON_EDEFAULT);
- return;
- case TaglibPackage.TAG_LIB__LARGE_ICON:
- setLargeIcon(LARGE_ICON_EDEFAULT);
- return;
- case TaglibPackage.TAG_LIB__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case TaglibPackage.TAG_LIB__DISPLAY_NAME:
- setDisplayName(DISPLAY_NAME_EDEFAULT);
- return;
- 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;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * @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 c95ec5318..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibFactoryImpl.java
+++ /dev/null
@@ -1,190 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.impl.EFactoryImpl;
-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{
-
- 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: {
- BodyContentType result = BodyContentType.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
- case TaglibPackage.JSP_SCRIPTING_VARIABLE_SCOPE: {
- JSPScriptingVariableScope result = JSPScriptingVariableScope.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
- 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 instanceValue == null ? null : instanceValue.toString();
- case TaglibPackage.JSP_SCRIPTING_VARIABLE_SCOPE:
- return instanceValue == null ? null : instanceValue.toString();
- 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;
- }
-
- /**
- * @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 9508daa09..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TaglibPackageImpl.java
+++ /dev/null
@@ -1,858 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.impl.EPackageImpl;
-import org.eclipse.emf.ecore.impl.EcorePackageImpl;
-import org.eclipse.jem.java.JavaRefPackage;
-import org.eclipse.jem.java.internal.impl.JavaRefPackageImpl;
-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
- EcorePackageImpl.init();
- JavaRefPackageImpl.init();
-
- // 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
- CommonPackageImpl theCommonPackage = (CommonPackageImpl)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
- JavaRefPackageImpl theJavaRefPackage = (JavaRefPackageImpl)EPackage.Registry.INSTANCE.getEPackage(JavaRefPackage.eNS_URI);
- WebapplicationPackageImpl theWebapplicationPackage = (WebapplicationPackageImpl)EPackage.Registry.INSTANCE.getEPackage(WebapplicationPackage.eNS_URI);
-
- // Add supertypes to classes
- tagLibEClass.getESuperTypes().add(theCommonPackage.getCompatibilityDescriptionGroup());
- jspTagEClass.getESuperTypes().add(theCommonPackage.getDescriptionGroup());
- functionEClass.getESuperTypes().add(theCommonPackage.getDescriptionGroup());
- tagFileEClass.getESuperTypes().add(theCommonPackage.getDescriptionGroup());
-
- // 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 92ba8b095..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/TldExtensionImpl.java
+++ /dev/null
@@ -1,223 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-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 EObjectImpl 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.eINSTANCE.getTldExtension();
- }
-
- /**
- * <!-- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS:
- return ((InternalEList)getExtensionElements()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TLD_EXTENSION__NAMESPACE:
- return getNamespace();
- case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS:
- return getExtensionElements();
- }
- return eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TLD_EXTENSION__NAMESPACE:
- setNamespace((String)newValue);
- return;
- case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS:
- getExtensionElements().clear();
- getExtensionElements().addAll((Collection)newValue);
- return;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.TLD_EXTENSION__NAMESPACE:
- setNamespace(NAMESPACE_EDEFAULT);
- return;
- case TaglibPackage.TLD_EXTENSION__EXTENSION_ELEMENTS:
- getExtensionElements().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicIsSet(eFeature);
- }
-
- /**
- * <!-- 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 4df3ac43a..000000000
--- a/plugins/org.eclipse.jst.j2ee.core/mofj2ee/org/eclipse/jst/j2ee/taglib/internal/impl/ValidatorImpl.java
+++ /dev/null
@@ -1,245 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2001, 2005 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.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.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-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.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.
-
- */
-public class ValidatorImpl extends EObjectImpl implements Validator, EObject{
-
- /**
- * @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.eINSTANCE.getValidator();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public JavaClass getValidatorClass() {
- if (validatorClass != null && validatorClass.eIsProxy()) {
- JavaClass oldValidatorClass = validatorClass;
- validatorClass = (JavaClass)eResolveProxy((InternalEObject)validatorClass);
- 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, Class baseClass, NotificationChain msgs) {
- if (featureID >= 0) {
- switch (eDerivedStructuralFeatureID(featureID, baseClass)) {
- case TaglibPackage.VALIDATOR__INIT_PARAMS:
- return ((InternalEList)getInitParams()).basicRemove(otherEnd, msgs);
- case TaglibPackage.VALIDATOR__DESCRIPTIONS:
- return ((InternalEList)getDescriptions()).basicRemove(otherEnd, msgs);
- default:
- return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs);
- }
- }
- return eBasicSetContainer(null, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(EStructuralFeature eFeature, boolean resolve) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicGet(eFeature, resolve);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(EStructuralFeature eFeature, Object newValue) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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;
- }
- eDynamicSet(eFeature, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- case TaglibPackage.VALIDATOR__VALIDATOR_CLASS:
- setValidatorClass((JavaClass)null);
- return;
- case TaglibPackage.VALIDATOR__INIT_PARAMS:
- getInitParams().clear();
- return;
- case TaglibPackage.VALIDATOR__DESCRIPTIONS:
- getDescriptions().clear();
- return;
- }
- eDynamicUnset(eFeature);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(EStructuralFeature eFeature) {
- switch (eDerivedStructuralFeatureID(eFeature)) {
- 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 eDynamicIsSet(eFeature);
- }
-
- 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;
-
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Back to the top