Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco')
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/ComposedAttribute.java31
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPAction.java65
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPComment.java64
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDeclaration.java30
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDirective.java31
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPExpression.java30
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScript.java60
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScriptlet.java30
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPStdAction.java26
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPTagLib.java31
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JavaScript.java32
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspFactory.java159
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspPackage.java1205
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Model.java53
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Page.java190
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ComposedAttributeImpl.java50
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPActionImpl.java173
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPCommentImpl.java173
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDeclarationImpl.java48
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDirectiveImpl.java50
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPExpressionImpl.java48
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptImpl.java173
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptletImpl.java48
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPStdActionImpl.java48
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPTagLibImpl.java48
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JavaScriptImpl.java48
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspFactoryImpl.java236
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspPackageImpl.java641
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ModelImpl.java176
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/PageImpl.java480
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspAdapterFactory.java384
-rw-r--r--org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspSwitch.java446
32 files changed, 5307 insertions, 0 deletions
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/ComposedAttribute.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/ComposedAttribute.java
new file mode 100644
index 000000000..6da702261
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/ComposedAttribute.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.gmt.modisco.xml.Element;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Composed Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * ComposedAttribute is an Attribute which value is composed with Elements, like tag, JSP scriplet, actions &#xD;&#xA;Eg : &amp;#60;tag name=&quot; &amp;#60;%= variable %&amp;#62; &quot; &amp;#62;
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getComposedAttribute()
+ * @model
+ * @generated
+ */
+public interface ComposedAttribute extends Element {
+} // ComposedAttribute
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPAction.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPAction.java
new file mode 100644
index 000000000..347ec0c58
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPAction.java
@@ -0,0 +1,65 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.gmt.modisco.xml.Element;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Action</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Reference to a declared taglib :&#60;%@ taglib prefix="myprefix" uri="taglib/mytag.tld" %&#62;
+ * Eg : &#60;myprefix:getText() /&#62;
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.JSPAction#isIsTagFragment <em>Is Tag Fragment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPAction()
+ * @model
+ * @generated
+ */
+public interface JSPAction extends Element {
+ /**
+ * Returns the value of the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Tag Fragment</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Tag Fragment</em>' attribute.
+ * @see #setIsTagFragment(boolean)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPAction_IsTagFragment()
+ * @model default="false"
+ * @generated
+ */
+ boolean isIsTagFragment();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.JSPAction#isIsTagFragment <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Tag Fragment</em>' attribute.
+ * @see #isIsTagFragment()
+ * @generated
+ */
+ void setIsTagFragment(boolean value);
+
+} // JSPAction
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPComment.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPComment.java
new file mode 100644
index 000000000..c437fd8ab
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPComment.java
@@ -0,0 +1,64 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.gmt.modisco.xml.Node;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Comment</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * &#60;%-- Here is a JSP Comment --%&#62;
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.JSPComment#isIsTagFragment <em>Is Tag Fragment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPComment()
+ * @model
+ * @generated
+ */
+public interface JSPComment extends Node {
+ /**
+ * Returns the value of the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Tag Fragment</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Tag Fragment</em>' attribute.
+ * @see #setIsTagFragment(boolean)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPComment_IsTagFragment()
+ * @model default="false"
+ * @generated
+ */
+ boolean isIsTagFragment();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.JSPComment#isIsTagFragment <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Tag Fragment</em>' attribute.
+ * @see #isIsTagFragment()
+ * @generated
+ */
+ void setIsTagFragment(boolean value);
+
+} // JSPComment
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDeclaration.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDeclaration.java
new file mode 100644
index 000000000..ccbf21fc0
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDeclaration.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Declaration</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Eg : &#60;%! int myVariable= 0; %&#62;
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPDeclaration()
+ * @model
+ * @generated
+ */
+public interface JSPDeclaration extends JSPScript {
+} // JSPDeclaration
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDirective.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDirective.java
new file mode 100644
index 000000000..0463fa341
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPDirective.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.gmt.modisco.xml.Element;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Directive</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Eg : &#60;jsp:directive.page import="java.util.*" /&#62;
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPDirective()
+ * @model
+ * @generated
+ */
+public interface JSPDirective extends Element {
+} // JSPDirective
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPExpression.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPExpression.java
new file mode 100644
index 000000000..094daf485
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPExpression.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Expression</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Eg : &#60;%= variable %&#62;
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPExpression()
+ * @model
+ * @generated
+ */
+public interface JSPExpression extends JSPScript {
+} // JSPExpression
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScript.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScript.java
new file mode 100644
index 000000000..eb4ae8c31
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScript.java
@@ -0,0 +1,60 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.gmt.modisco.xml.Element;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Script</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.JSPScript#isIsTagFragment <em>Is Tag Fragment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPScript()
+ * @model
+ * @generated
+ */
+public interface JSPScript extends Element {
+ /**
+ * Returns the value of the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Is Tag Fragment</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Is Tag Fragment</em>' attribute.
+ * @see #setIsTagFragment(boolean)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPScript_IsTagFragment()
+ * @model default="false"
+ * @generated
+ */
+ boolean isIsTagFragment();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.JSPScript#isIsTagFragment <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Is Tag Fragment</em>' attribute.
+ * @see #isIsTagFragment()
+ * @generated
+ */
+ void setIsTagFragment(boolean value);
+
+} // JSPScript
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScriptlet.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScriptlet.java
new file mode 100644
index 000000000..c3103efeb
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPScriptlet.java
@@ -0,0 +1,30 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Scriptlet</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Eg : &#60;% Some code %&#62;
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPScriptlet()
+ * @model
+ * @generated
+ */
+public interface JSPScriptlet extends JSPScript {
+} // JSPScriptlet
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPStdAction.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPStdAction.java
new file mode 100644
index 000000000..3ffc119ef
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPStdAction.java
@@ -0,0 +1,26 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Std Action</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPStdAction()
+ * @model
+ * @generated
+ */
+public interface JSPStdAction extends JSPAction {
+} // JSPStdAction
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPTagLib.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPTagLib.java
new file mode 100644
index 000000000..b31ec09f9
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JSPTagLib.java
@@ -0,0 +1,31 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>JSP Tag Lib</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Eg : &#60;%@ taglib prefix="myprefix" uri="taglib/mytag.tld" %&#62;
+ *
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJSPTagLib()
+ * @model
+ * @generated
+ */
+public interface JSPTagLib extends JSPDirective {
+} // JSPTagLib
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JavaScript.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JavaScript.java
new file mode 100644
index 000000000..5faa3be3b
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JavaScript.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.gmt.modisco.xml.Element;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Java Script</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Eg :
+ * &#60;script type="text/javascript"&#62; &#60;/script&#62;
+ * <!-- end-model-doc -->
+ *
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getJavaScript()
+ * @model
+ * @generated
+ */
+public interface JavaScript extends Element {
+} // JavaScript
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspFactory.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspFactory.java
new file mode 100644
index 000000000..641879fc2
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspFactory.java
@@ -0,0 +1,159 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.JspPackage
+ * @generated
+ */
+public interface JspFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ JspFactory eINSTANCE = org.eclipse.modisco.jee.jsp.impl.JspFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>JSP Script</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Script</em>'.
+ * @generated
+ */
+ JSPScript createJSPScript();
+
+ /**
+ * Returns a new object of class '<em>JSP Scriptlet</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Scriptlet</em>'.
+ * @generated
+ */
+ JSPScriptlet createJSPScriptlet();
+
+ /**
+ * Returns a new object of class '<em>JSP Expression</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Expression</em>'.
+ * @generated
+ */
+ JSPExpression createJSPExpression();
+
+ /**
+ * Returns a new object of class '<em>JSP Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Declaration</em>'.
+ * @generated
+ */
+ JSPDeclaration createJSPDeclaration();
+
+ /**
+ * Returns a new object of class '<em>JSP Action</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Action</em>'.
+ * @generated
+ */
+ JSPAction createJSPAction();
+
+ /**
+ * Returns a new object of class '<em>JSP Std Action</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Std Action</em>'.
+ * @generated
+ */
+ JSPStdAction createJSPStdAction();
+
+ /**
+ * Returns a new object of class '<em>JSP Directive</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Directive</em>'.
+ * @generated
+ */
+ JSPDirective createJSPDirective();
+
+ /**
+ * Returns a new object of class '<em>JSP Tag Lib</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Tag Lib</em>'.
+ * @generated
+ */
+ JSPTagLib createJSPTagLib();
+
+ /**
+ * Returns a new object of class '<em>Java Script</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Java Script</em>'.
+ * @generated
+ */
+ JavaScript createJavaScript();
+
+ /**
+ * Returns a new object of class '<em>JSP Comment</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>JSP Comment</em>'.
+ * @generated
+ */
+ JSPComment createJSPComment();
+
+ /**
+ * Returns a new object of class '<em>Page</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Page</em>'.
+ * @generated
+ */
+ Page createPage();
+
+ /**
+ * Returns a new object of class '<em>Model</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Model</em>'.
+ * @generated
+ */
+ Model createModel();
+
+ /**
+ * Returns a new object of class '<em>Composed Attribute</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Composed Attribute</em>'.
+ * @generated
+ */
+ ComposedAttribute createComposedAttribute();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ JspPackage getJspPackage();
+
+} //JspFactory
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspPackage.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspPackage.java
new file mode 100644
index 000000000..53b678b11
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/JspPackage.java
@@ -0,0 +1,1205 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.gmt.modisco.xml.emf.MoDiscoXMLPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.JspFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface JspPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "jsp"; //$NON-NLS-1$
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/MoDisco/JSP/0.1.incubation/jsp"; //$NON-NLS-1$
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "jsp"; //$NON-NLS-1$
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ JspPackage eINSTANCE = org.eclipse.modisco.jee.jsp.impl.JspPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPScriptImpl <em>JSP Script</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPScriptImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPScript()
+ * @generated
+ */
+ int JSP_SCRIPT = 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPT__NAME = MoDiscoXMLPackage.ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPT__PARENT = MoDiscoXMLPackage.ELEMENT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPT__CHILDREN = MoDiscoXMLPackage.ELEMENT__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPT__IS_TAG_FRAGMENT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>JSP Script</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPT_FEATURE_COUNT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPScriptletImpl <em>JSP Scriptlet</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPScriptletImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPScriptlet()
+ * @generated
+ */
+ int JSP_SCRIPTLET = 1;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPTLET__NAME = JSP_SCRIPT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPTLET__PARENT = JSP_SCRIPT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPTLET__CHILDREN = JSP_SCRIPT__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPTLET__IS_TAG_FRAGMENT = JSP_SCRIPT__IS_TAG_FRAGMENT;
+
+ /**
+ * The number of structural features of the '<em>JSP Scriptlet</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_SCRIPTLET_FEATURE_COUNT = JSP_SCRIPT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPExpressionImpl <em>JSP Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPExpressionImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPExpression()
+ * @generated
+ */
+ int JSP_EXPRESSION = 2;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_EXPRESSION__NAME = JSP_SCRIPT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_EXPRESSION__PARENT = JSP_SCRIPT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_EXPRESSION__CHILDREN = JSP_SCRIPT__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_EXPRESSION__IS_TAG_FRAGMENT = JSP_SCRIPT__IS_TAG_FRAGMENT;
+
+ /**
+ * The number of structural features of the '<em>JSP Expression</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_EXPRESSION_FEATURE_COUNT = JSP_SCRIPT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPDeclarationImpl <em>JSP Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPDeclarationImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPDeclaration()
+ * @generated
+ */
+ int JSP_DECLARATION = 3;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DECLARATION__NAME = JSP_SCRIPT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DECLARATION__PARENT = JSP_SCRIPT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DECLARATION__CHILDREN = JSP_SCRIPT__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DECLARATION__IS_TAG_FRAGMENT = JSP_SCRIPT__IS_TAG_FRAGMENT;
+
+ /**
+ * The number of structural features of the '<em>JSP Declaration</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DECLARATION_FEATURE_COUNT = JSP_SCRIPT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPActionImpl <em>JSP Action</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPActionImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPAction()
+ * @generated
+ */
+ int JSP_ACTION = 4;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_ACTION__NAME = MoDiscoXMLPackage.ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_ACTION__PARENT = MoDiscoXMLPackage.ELEMENT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_ACTION__CHILDREN = MoDiscoXMLPackage.ELEMENT__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_ACTION__IS_TAG_FRAGMENT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>JSP Action</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_ACTION_FEATURE_COUNT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPStdActionImpl <em>JSP Std Action</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPStdActionImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPStdAction()
+ * @generated
+ */
+ int JSP_STD_ACTION = 5;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_STD_ACTION__NAME = JSP_ACTION__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_STD_ACTION__PARENT = JSP_ACTION__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_STD_ACTION__CHILDREN = JSP_ACTION__CHILDREN;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_STD_ACTION__IS_TAG_FRAGMENT = JSP_ACTION__IS_TAG_FRAGMENT;
+
+ /**
+ * The number of structural features of the '<em>JSP Std Action</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_STD_ACTION_FEATURE_COUNT = JSP_ACTION_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPDirectiveImpl <em>JSP Directive</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPDirectiveImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPDirective()
+ * @generated
+ */
+ int JSP_DIRECTIVE = 6;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DIRECTIVE__NAME = MoDiscoXMLPackage.ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DIRECTIVE__PARENT = MoDiscoXMLPackage.ELEMENT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DIRECTIVE__CHILDREN = MoDiscoXMLPackage.ELEMENT__CHILDREN;
+
+ /**
+ * The number of structural features of the '<em>JSP Directive</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_DIRECTIVE_FEATURE_COUNT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPTagLibImpl <em>JSP Tag Lib</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPTagLibImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPTagLib()
+ * @generated
+ */
+ int JSP_TAG_LIB = 7;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_TAG_LIB__NAME = JSP_DIRECTIVE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_TAG_LIB__PARENT = JSP_DIRECTIVE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_TAG_LIB__CHILDREN = JSP_DIRECTIVE__CHILDREN;
+
+ /**
+ * The number of structural features of the '<em>JSP Tag Lib</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_TAG_LIB_FEATURE_COUNT = JSP_DIRECTIVE_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JavaScriptImpl <em>Java Script</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JavaScriptImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJavaScript()
+ * @generated
+ */
+ int JAVA_SCRIPT = 8;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_SCRIPT__NAME = MoDiscoXMLPackage.ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_SCRIPT__PARENT = MoDiscoXMLPackage.ELEMENT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_SCRIPT__CHILDREN = MoDiscoXMLPackage.ELEMENT__CHILDREN;
+
+ /**
+ * The number of structural features of the '<em>Java Script</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JAVA_SCRIPT_FEATURE_COUNT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPCommentImpl <em>JSP Comment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPCommentImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPComment()
+ * @generated
+ */
+ int JSP_COMMENT = 9;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_COMMENT__NAME = MoDiscoXMLPackage.NODE__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_COMMENT__PARENT = MoDiscoXMLPackage.NODE__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Is Tag Fragment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_COMMENT__IS_TAG_FRAGMENT = MoDiscoXMLPackage.NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>JSP Comment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int JSP_COMMENT_FEATURE_COUNT = MoDiscoXMLPackage.NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.PageImpl <em>Page</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.PageImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getPage()
+ * @generated
+ */
+ int PAGE = 10;
+
+ /**
+ * The feature id for the '<em><b>Original File Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE__ORIGINAL_FILE_PATH = 0;
+
+ /**
+ * The feature id for the '<em><b>Xml Declaration</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE__XML_DECLARATION = 1;
+
+ /**
+ * The feature id for the '<em><b>Doctype</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE__DOCTYPE = 2;
+
+ /**
+ * The feature id for the '<em><b>Owned Elements</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE__OWNED_ELEMENTS = 3;
+
+ /**
+ * The feature id for the '<em><b>Page Owner</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE__PAGE_OWNER = 4;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE__NAME = 5;
+
+ /**
+ * The number of structural features of the '<em>Page</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PAGE_FEATURE_COUNT = 6;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.ModelImpl <em>Model</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.ModelImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getModel()
+ * @generated
+ */
+ int MODEL = 11;
+
+ /**
+ * The feature id for the '<em><b>Pages</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODEL__PAGES = 0;
+
+ /**
+ * The number of structural features of the '<em>Model</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MODEL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.modisco.jee.jsp.impl.ComposedAttributeImpl <em>Composed Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.ComposedAttributeImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getComposedAttribute()
+ * @generated
+ */
+ int COMPOSED_ATTRIBUTE = 12;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPOSED_ATTRIBUTE__NAME = MoDiscoXMLPackage.ELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPOSED_ATTRIBUTE__PARENT = MoDiscoXMLPackage.ELEMENT__PARENT;
+
+ /**
+ * The feature id for the '<em><b>Children</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPOSED_ATTRIBUTE__CHILDREN = MoDiscoXMLPackage.ELEMENT__CHILDREN;
+
+ /**
+ * The number of structural features of the '<em>Composed Attribute</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPOSED_ATTRIBUTE_FEATURE_COUNT = MoDiscoXMLPackage.ELEMENT_FEATURE_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPScript <em>JSP Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Script</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPScript
+ * @generated
+ */
+ EClass getJSPScript();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.JSPScript#isIsTagFragment <em>Is Tag Fragment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Tag Fragment</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPScript#isIsTagFragment()
+ * @see #getJSPScript()
+ * @generated
+ */
+ EAttribute getJSPScript_IsTagFragment();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPScriptlet <em>JSP Scriptlet</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Scriptlet</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPScriptlet
+ * @generated
+ */
+ EClass getJSPScriptlet();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPExpression <em>JSP Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Expression</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPExpression
+ * @generated
+ */
+ EClass getJSPExpression();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPDeclaration <em>JSP Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Declaration</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPDeclaration
+ * @generated
+ */
+ EClass getJSPDeclaration();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPAction <em>JSP Action</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Action</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPAction
+ * @generated
+ */
+ EClass getJSPAction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.JSPAction#isIsTagFragment <em>Is Tag Fragment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Tag Fragment</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPAction#isIsTagFragment()
+ * @see #getJSPAction()
+ * @generated
+ */
+ EAttribute getJSPAction_IsTagFragment();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPStdAction <em>JSP Std Action</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Std Action</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPStdAction
+ * @generated
+ */
+ EClass getJSPStdAction();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPDirective <em>JSP Directive</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Directive</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPDirective
+ * @generated
+ */
+ EClass getJSPDirective();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPTagLib <em>JSP Tag Lib</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Tag Lib</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPTagLib
+ * @generated
+ */
+ EClass getJSPTagLib();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JavaScript <em>Java Script</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Java Script</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JavaScript
+ * @generated
+ */
+ EClass getJavaScript();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.JSPComment <em>JSP Comment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>JSP Comment</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPComment
+ * @generated
+ */
+ EClass getJSPComment();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.JSPComment#isIsTagFragment <em>Is Tag Fragment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Is Tag Fragment</em>'.
+ * @see org.eclipse.modisco.jee.jsp.JSPComment#isIsTagFragment()
+ * @see #getJSPComment()
+ * @generated
+ */
+ EAttribute getJSPComment_IsTagFragment();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.Page <em>Page</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Page</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page
+ * @generated
+ */
+ EClass getPage();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.Page#getOriginalFilePath <em>Original File Path</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Original File Path</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page#getOriginalFilePath()
+ * @see #getPage()
+ * @generated
+ */
+ EAttribute getPage_OriginalFilePath();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.Page#getXmlDeclaration <em>Xml Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xml Declaration</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page#getXmlDeclaration()
+ * @see #getPage()
+ * @generated
+ */
+ EAttribute getPage_XmlDeclaration();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.Page#getDoctype <em>Doctype</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Doctype</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page#getDoctype()
+ * @see #getPage()
+ * @generated
+ */
+ EAttribute getPage_Doctype();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.modisco.jee.jsp.Page#getOwnedElements <em>Owned Elements</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Owned Elements</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page#getOwnedElements()
+ * @see #getPage()
+ * @generated
+ */
+ EReference getPage_OwnedElements();
+
+ /**
+ * Returns the meta object for the container reference '{@link org.eclipse.modisco.jee.jsp.Page#getPageOwner <em>Page Owner</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the container reference '<em>Page Owner</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page#getPageOwner()
+ * @see #getPage()
+ * @generated
+ */
+ EReference getPage_PageOwner();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.modisco.jee.jsp.Page#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Page#getName()
+ * @see #getPage()
+ * @generated
+ */
+ EAttribute getPage_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.Model <em>Model</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Model</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Model
+ * @generated
+ */
+ EClass getModel();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.eclipse.modisco.jee.jsp.Model#getPages <em>Pages</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Pages</em>'.
+ * @see org.eclipse.modisco.jee.jsp.Model#getPages()
+ * @see #getModel()
+ * @generated
+ */
+ EReference getModel_Pages();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.modisco.jee.jsp.ComposedAttribute <em>Composed Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Composed Attribute</em>'.
+ * @see org.eclipse.modisco.jee.jsp.ComposedAttribute
+ * @generated
+ */
+ EClass getComposedAttribute();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ JspFactory getJspFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPScriptImpl <em>JSP Script</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPScriptImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPScript()
+ * @generated
+ */
+ EClass JSP_SCRIPT = eINSTANCE.getJSPScript();
+
+ /**
+ * The meta object literal for the '<em><b>Is Tag Fragment</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JSP_SCRIPT__IS_TAG_FRAGMENT = eINSTANCE.getJSPScript_IsTagFragment();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPScriptletImpl <em>JSP Scriptlet</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPScriptletImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPScriptlet()
+ * @generated
+ */
+ EClass JSP_SCRIPTLET = eINSTANCE.getJSPScriptlet();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPExpressionImpl <em>JSP Expression</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPExpressionImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPExpression()
+ * @generated
+ */
+ EClass JSP_EXPRESSION = eINSTANCE.getJSPExpression();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPDeclarationImpl <em>JSP Declaration</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPDeclarationImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPDeclaration()
+ * @generated
+ */
+ EClass JSP_DECLARATION = eINSTANCE.getJSPDeclaration();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPActionImpl <em>JSP Action</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPActionImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPAction()
+ * @generated
+ */
+ EClass JSP_ACTION = eINSTANCE.getJSPAction();
+
+ /**
+ * The meta object literal for the '<em><b>Is Tag Fragment</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JSP_ACTION__IS_TAG_FRAGMENT = eINSTANCE.getJSPAction_IsTagFragment();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPStdActionImpl <em>JSP Std Action</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPStdActionImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPStdAction()
+ * @generated
+ */
+ EClass JSP_STD_ACTION = eINSTANCE.getJSPStdAction();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPDirectiveImpl <em>JSP Directive</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPDirectiveImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPDirective()
+ * @generated
+ */
+ EClass JSP_DIRECTIVE = eINSTANCE.getJSPDirective();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPTagLibImpl <em>JSP Tag Lib</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPTagLibImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPTagLib()
+ * @generated
+ */
+ EClass JSP_TAG_LIB = eINSTANCE.getJSPTagLib();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JavaScriptImpl <em>Java Script</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JavaScriptImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJavaScript()
+ * @generated
+ */
+ EClass JAVA_SCRIPT = eINSTANCE.getJavaScript();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.JSPCommentImpl <em>JSP Comment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.JSPCommentImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getJSPComment()
+ * @generated
+ */
+ EClass JSP_COMMENT = eINSTANCE.getJSPComment();
+
+ /**
+ * The meta object literal for the '<em><b>Is Tag Fragment</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute JSP_COMMENT__IS_TAG_FRAGMENT = eINSTANCE.getJSPComment_IsTagFragment();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.PageImpl <em>Page</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.PageImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getPage()
+ * @generated
+ */
+ EClass PAGE = eINSTANCE.getPage();
+
+ /**
+ * The meta object literal for the '<em><b>Original File Path</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PAGE__ORIGINAL_FILE_PATH = eINSTANCE.getPage_OriginalFilePath();
+
+ /**
+ * The meta object literal for the '<em><b>Xml Declaration</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PAGE__XML_DECLARATION = eINSTANCE.getPage_XmlDeclaration();
+
+ /**
+ * The meta object literal for the '<em><b>Doctype</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PAGE__DOCTYPE = eINSTANCE.getPage_Doctype();
+
+ /**
+ * The meta object literal for the '<em><b>Owned Elements</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PAGE__OWNED_ELEMENTS = eINSTANCE.getPage_OwnedElements();
+
+ /**
+ * The meta object literal for the '<em><b>Page Owner</b></em>' container reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PAGE__PAGE_OWNER = eINSTANCE.getPage_PageOwner();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PAGE__NAME = eINSTANCE.getPage_Name();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.ModelImpl <em>Model</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.ModelImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getModel()
+ * @generated
+ */
+ EClass MODEL = eINSTANCE.getModel();
+
+ /**
+ * The meta object literal for the '<em><b>Pages</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference MODEL__PAGES = eINSTANCE.getModel_Pages();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.modisco.jee.jsp.impl.ComposedAttributeImpl <em>Composed Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.impl.ComposedAttributeImpl
+ * @see org.eclipse.modisco.jee.jsp.impl.JspPackageImpl#getComposedAttribute()
+ * @generated
+ */
+ EClass COMPOSED_ATTRIBUTE = eINSTANCE.getComposedAttribute();
+
+ }
+
+} //JspPackage
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Model.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Model.java
new file mode 100644
index 000000000..005c5e18d
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Model.java
@@ -0,0 +1,53 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Model</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Model#getPages <em>Pages</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getModel()
+ * @model
+ * @generated
+ */
+public interface Model extends EObject {
+ /**
+ * Returns the value of the '<em><b>Pages</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.modisco.jee.jsp.Page}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.modisco.jee.jsp.Page#getPageOwner <em>Page Owner</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Pages</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Pages</em>' containment reference list.
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getModel_Pages()
+ * @see org.eclipse.modisco.jee.jsp.Page#getPageOwner
+ * @model opposite="pageOwner" containment="true"
+ * @generated
+ */
+ EList<Page> getPages();
+
+} // Model
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Page.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Page.java
new file mode 100644
index 000000000..0e105b6b2
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/Page.java
@@ -0,0 +1,190 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.gmt.modisco.xml.Node;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Page</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Page#getOriginalFilePath <em>Original File Path</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Page#getXmlDeclaration <em>Xml Declaration</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Page#getDoctype <em>Doctype</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Page#getOwnedElements <em>Owned Elements</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Page#getPageOwner <em>Page Owner</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.Page#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage()
+ * @model
+ * @generated
+ */
+public interface Page extends EObject {
+ /**
+ * Returns the value of the '<em><b>Original File Path</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Original File Path</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Original File Path</em>' attribute.
+ * @see #setOriginalFilePath(String)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage_OriginalFilePath()
+ * @model
+ * @generated
+ */
+ String getOriginalFilePath();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.Page#getOriginalFilePath <em>Original File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Original File Path</em>' attribute.
+ * @see #getOriginalFilePath()
+ * @generated
+ */
+ void setOriginalFilePath(String value);
+
+ /**
+ * Returns the value of the '<em><b>Xml Declaration</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xml Declaration</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xml Declaration</em>' attribute.
+ * @see #setXmlDeclaration(String)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage_XmlDeclaration()
+ * @model
+ * @generated
+ */
+ String getXmlDeclaration();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.Page#getXmlDeclaration <em>Xml Declaration</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xml Declaration</em>' attribute.
+ * @see #getXmlDeclaration()
+ * @generated
+ */
+ void setXmlDeclaration(String value);
+
+ /**
+ * Returns the value of the '<em><b>Doctype</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Doctype</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Doctype</em>' attribute.
+ * @see #setDoctype(String)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage_Doctype()
+ * @model
+ * @generated
+ */
+ String getDoctype();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.Page#getDoctype <em>Doctype</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Doctype</em>' attribute.
+ * @see #getDoctype()
+ * @generated
+ */
+ void setDoctype(String value);
+
+ /**
+ * Returns the value of the '<em><b>Owned Elements</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.gmt.modisco.xml.Node}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Owned Elements</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Owned Elements</em>' containment reference list.
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage_OwnedElements()
+ * @model containment="true"
+ * @generated
+ */
+ EList<Node> getOwnedElements();
+
+ /**
+ * Returns the value of the '<em><b>Page Owner</b></em>' container reference.
+ * It is bidirectional and its opposite is '{@link org.eclipse.modisco.jee.jsp.Model#getPages <em>Pages</em>}'.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Page Owner</em>' container reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Page Owner</em>' container reference.
+ * @see #setPageOwner(Model)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage_PageOwner()
+ * @see org.eclipse.modisco.jee.jsp.Model#getPages
+ * @model opposite="pages" required="true" transient="false"
+ * @generated
+ */
+ Model getPageOwner();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.Page#getPageOwner <em>Page Owner</em>}' container reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Page Owner</em>' container reference.
+ * @see #getPageOwner()
+ * @generated
+ */
+ void setPageOwner(Model value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#getPage_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.modisco.jee.jsp.Page#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // Page
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ComposedAttributeImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ComposedAttributeImpl.java
new file mode 100644
index 000000000..7061e2829
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ComposedAttributeImpl.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+
+import org.eclipse.gmt.modisco.xml.emf.impl.ElementImpl;
+import org.eclipse.modisco.jee.jsp.ComposedAttribute;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Composed Attribute</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class ComposedAttributeImpl extends ElementImpl implements ComposedAttribute {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAttributeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.COMPOSED_ATTRIBUTE;
+ }
+
+} //ComposedAttributeImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPActionImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPActionImpl.java
new file mode 100644
index 000000000..d6c33cb76
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPActionImpl.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+
+import org.eclipse.gmt.modisco.xml.emf.impl.ElementImpl;
+import org.eclipse.modisco.jee.jsp.JSPAction;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Action</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.JSPActionImpl#isIsTagFragment <em>Is Tag Fragment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPActionImpl extends ElementImpl implements JSPAction {
+ /**
+ * The default value of the '{@link #isIsTagFragment() <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsTagFragment()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_TAG_FRAGMENT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsTagFragment() <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsTagFragment()
+ * @generated
+ * @ordered
+ */
+ protected boolean isTagFragment = IS_TAG_FRAGMENT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPActionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_ACTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsTagFragment() {
+ return isTagFragment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsTagFragment(boolean newIsTagFragment) {
+ boolean oldIsTagFragment = isTagFragment;
+ isTagFragment = newIsTagFragment;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_ACTION__IS_TAG_FRAGMENT, oldIsTagFragment, isTagFragment));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JspPackage.JSP_ACTION__IS_TAG_FRAGMENT:
+ return isIsTagFragment();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JspPackage.JSP_ACTION__IS_TAG_FRAGMENT:
+ setIsTagFragment((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JspPackage.JSP_ACTION__IS_TAG_FRAGMENT:
+ setIsTagFragment(IS_TAG_FRAGMENT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JspPackage.JSP_ACTION__IS_TAG_FRAGMENT:
+ return isTagFragment != IS_TAG_FRAGMENT_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isTagFragment: "); //$NON-NLS-1$
+ result.append(isTagFragment);
+ result.append(')');
+ return result.toString();
+ }
+
+} //JSPActionImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPCommentImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPCommentImpl.java
new file mode 100644
index 000000000..0bbb8742f
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPCommentImpl.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+
+import org.eclipse.gmt.modisco.xml.emf.impl.NodeImpl;
+import org.eclipse.modisco.jee.jsp.JSPComment;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Comment</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.JSPCommentImpl#isIsTagFragment <em>Is Tag Fragment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPCommentImpl extends NodeImpl implements JSPComment {
+ /**
+ * The default value of the '{@link #isIsTagFragment() <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsTagFragment()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_TAG_FRAGMENT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsTagFragment() <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsTagFragment()
+ * @generated
+ * @ordered
+ */
+ protected boolean isTagFragment = IS_TAG_FRAGMENT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPCommentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_COMMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsTagFragment() {
+ return isTagFragment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsTagFragment(boolean newIsTagFragment) {
+ boolean oldIsTagFragment = isTagFragment;
+ isTagFragment = newIsTagFragment;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_COMMENT__IS_TAG_FRAGMENT, oldIsTagFragment, isTagFragment));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JspPackage.JSP_COMMENT__IS_TAG_FRAGMENT:
+ return isIsTagFragment();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JspPackage.JSP_COMMENT__IS_TAG_FRAGMENT:
+ setIsTagFragment((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JspPackage.JSP_COMMENT__IS_TAG_FRAGMENT:
+ setIsTagFragment(IS_TAG_FRAGMENT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JspPackage.JSP_COMMENT__IS_TAG_FRAGMENT:
+ return isTagFragment != IS_TAG_FRAGMENT_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isTagFragment: "); //$NON-NLS-1$
+ result.append(isTagFragment);
+ result.append(')');
+ return result.toString();
+ }
+
+} //JSPCommentImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDeclarationImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDeclarationImpl.java
new file mode 100644
index 000000000..41e55b882
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDeclarationImpl.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.modisco.jee.jsp.JSPDeclaration;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Declaration</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPDeclarationImpl extends JSPScriptImpl implements JSPDeclaration {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPDeclarationImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_DECLARATION;
+ }
+
+} //JSPDeclarationImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDirectiveImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDirectiveImpl.java
new file mode 100644
index 000000000..db5fa1b28
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPDirectiveImpl.java
@@ -0,0 +1,50 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+
+import org.eclipse.gmt.modisco.xml.emf.impl.ElementImpl;
+import org.eclipse.modisco.jee.jsp.JSPDirective;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Directive</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPDirectiveImpl extends ElementImpl implements JSPDirective {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPDirectiveImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_DIRECTIVE;
+ }
+
+} //JSPDirectiveImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPExpressionImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPExpressionImpl.java
new file mode 100644
index 000000000..cc87c4865
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPExpressionImpl.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.modisco.jee.jsp.JSPExpression;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Expression</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPExpressionImpl extends JSPScriptImpl implements JSPExpression {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPExpressionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_EXPRESSION;
+ }
+
+} //JSPExpressionImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptImpl.java
new file mode 100644
index 000000000..1297a3f6c
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptImpl.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+
+import org.eclipse.gmt.modisco.xml.emf.impl.ElementImpl;
+import org.eclipse.modisco.jee.jsp.JSPScript;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Script</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.JSPScriptImpl#isIsTagFragment <em>Is Tag Fragment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPScriptImpl extends ElementImpl implements JSPScript {
+ /**
+ * The default value of the '{@link #isIsTagFragment() <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsTagFragment()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean IS_TAG_FRAGMENT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isIsTagFragment() <em>Is Tag Fragment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isIsTagFragment()
+ * @generated
+ * @ordered
+ */
+ protected boolean isTagFragment = IS_TAG_FRAGMENT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPScriptImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_SCRIPT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isIsTagFragment() {
+ return isTagFragment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIsTagFragment(boolean newIsTagFragment) {
+ boolean oldIsTagFragment = isTagFragment;
+ isTagFragment = newIsTagFragment;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_SCRIPT__IS_TAG_FRAGMENT, oldIsTagFragment, isTagFragment));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JspPackage.JSP_SCRIPT__IS_TAG_FRAGMENT:
+ return isIsTagFragment();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JspPackage.JSP_SCRIPT__IS_TAG_FRAGMENT:
+ setIsTagFragment((Boolean)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JspPackage.JSP_SCRIPT__IS_TAG_FRAGMENT:
+ setIsTagFragment(IS_TAG_FRAGMENT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JspPackage.JSP_SCRIPT__IS_TAG_FRAGMENT:
+ return isTagFragment != IS_TAG_FRAGMENT_EDEFAULT;
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (isTagFragment: "); //$NON-NLS-1$
+ result.append(isTagFragment);
+ result.append(')');
+ return result.toString();
+ }
+
+} //JSPScriptImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptletImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptletImpl.java
new file mode 100644
index 000000000..f63792dce
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPScriptletImpl.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.modisco.jee.jsp.JSPScriptlet;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Scriptlet</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPScriptletImpl extends JSPScriptImpl implements JSPScriptlet {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPScriptletImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_SCRIPTLET;
+ }
+
+} //JSPScriptletImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPStdActionImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPStdActionImpl.java
new file mode 100644
index 000000000..eee1c5dce
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPStdActionImpl.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.modisco.jee.jsp.JSPStdAction;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Std Action</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPStdActionImpl extends JSPActionImpl implements JSPStdAction {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPStdActionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_STD_ACTION;
+ }
+
+} //JSPStdActionImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPTagLibImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPTagLibImpl.java
new file mode 100644
index 000000000..b0133e262
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JSPTagLibImpl.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.modisco.jee.jsp.JSPTagLib;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JSP Tag Lib</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JSPTagLibImpl extends JSPDirectiveImpl implements JSPTagLib {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JSPTagLibImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JSP_TAG_LIB;
+ }
+
+} //JSPTagLibImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JavaScriptImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JavaScriptImpl.java
new file mode 100644
index 000000000..87105c836
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JavaScriptImpl.java
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.gmt.modisco.xml.emf.impl.ElementImpl;
+import org.eclipse.modisco.jee.jsp.JavaScript;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>Java Script</b></em>'. <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public class JavaScriptImpl extends ElementImpl implements JavaScript {
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ protected JavaScriptImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.JAVA_SCRIPT;
+ }
+
+} // JavaScriptImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspFactoryImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspFactoryImpl.java
new file mode 100644
index 000000000..f59a8b46a
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspFactoryImpl.java
@@ -0,0 +1,236 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.modisco.jee.jsp.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class JspFactoryImpl extends EFactoryImpl implements JspFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static JspFactory init() {
+ try {
+ JspFactory theJspFactory = (JspFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/MoDisco/JSP/0.1.incubation/jsp"); //$NON-NLS-1$
+ if (theJspFactory != null) {
+ return theJspFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new JspFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JspFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case JspPackage.JSP_SCRIPT: return createJSPScript();
+ case JspPackage.JSP_SCRIPTLET: return createJSPScriptlet();
+ case JspPackage.JSP_EXPRESSION: return createJSPExpression();
+ case JspPackage.JSP_DECLARATION: return createJSPDeclaration();
+ case JspPackage.JSP_ACTION: return createJSPAction();
+ case JspPackage.JSP_STD_ACTION: return createJSPStdAction();
+ case JspPackage.JSP_DIRECTIVE: return createJSPDirective();
+ case JspPackage.JSP_TAG_LIB: return createJSPTagLib();
+ case JspPackage.JAVA_SCRIPT: return createJavaScript();
+ case JspPackage.JSP_COMMENT: return createJSPComment();
+ case JspPackage.PAGE: return createPage();
+ case JspPackage.MODEL: return createModel();
+ case JspPackage.COMPOSED_ATTRIBUTE: return createComposedAttribute();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPScript createJSPScript() {
+ JSPScriptImpl jspScript = new JSPScriptImpl();
+ return jspScript;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPScriptlet createJSPScriptlet() {
+ JSPScriptletImpl jspScriptlet = new JSPScriptletImpl();
+ return jspScriptlet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPExpression createJSPExpression() {
+ JSPExpressionImpl jspExpression = new JSPExpressionImpl();
+ return jspExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPDeclaration createJSPDeclaration() {
+ JSPDeclarationImpl jspDeclaration = new JSPDeclarationImpl();
+ return jspDeclaration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPAction createJSPAction() {
+ JSPActionImpl jspAction = new JSPActionImpl();
+ return jspAction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPStdAction createJSPStdAction() {
+ JSPStdActionImpl jspStdAction = new JSPStdActionImpl();
+ return jspStdAction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPDirective createJSPDirective() {
+ JSPDirectiveImpl jspDirective = new JSPDirectiveImpl();
+ return jspDirective;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPTagLib createJSPTagLib() {
+ JSPTagLibImpl jspTagLib = new JSPTagLibImpl();
+ return jspTagLib;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavaScript createJavaScript() {
+ JavaScriptImpl javaScript = new JavaScriptImpl();
+ return javaScript;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JSPComment createJSPComment() {
+ JSPCommentImpl jspComment = new JSPCommentImpl();
+ return jspComment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Page createPage() {
+ PageImpl page = new PageImpl();
+ return page;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Model createModel() {
+ ModelImpl model = new ModelImpl();
+ return model;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposedAttribute createComposedAttribute() {
+ ComposedAttributeImpl composedAttribute = new ComposedAttributeImpl();
+ return composedAttribute;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JspPackage getJspPackage() {
+ return (JspPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static JspPackage getPackage() {
+ return JspPackage.eINSTANCE;
+ }
+
+} //JspFactoryImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspPackageImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspPackageImpl.java
new file mode 100644
index 000000000..9564c4234
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/JspPackageImpl.java
@@ -0,0 +1,641 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+
+import org.eclipse.gmt.modisco.xml.emf.MoDiscoXMLPackage;
+import org.eclipse.modisco.jee.jsp.ComposedAttribute;
+import org.eclipse.modisco.jee.jsp.JSPAction;
+import org.eclipse.modisco.jee.jsp.JSPComment;
+import org.eclipse.modisco.jee.jsp.JSPDeclaration;
+import org.eclipse.modisco.jee.jsp.JSPDirective;
+import org.eclipse.modisco.jee.jsp.JSPExpression;
+import org.eclipse.modisco.jee.jsp.JSPScript;
+import org.eclipse.modisco.jee.jsp.JSPScriptlet;
+import org.eclipse.modisco.jee.jsp.JSPStdAction;
+import org.eclipse.modisco.jee.jsp.JSPTagLib;
+import org.eclipse.modisco.jee.jsp.JavaScript;
+import org.eclipse.modisco.jee.jsp.JspFactory;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+import org.eclipse.modisco.jee.jsp.Model;
+import org.eclipse.modisco.jee.jsp.Page;
+
+/**
+ * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!--
+ * end-user-doc -->
+ *
+ * @generated
+ */
+public class JspPackageImpl extends EPackageImpl implements JspPackage {
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspScriptEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspScriptletEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspExpressionEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspDeclarationEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspActionEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspStdActionEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspDirectiveEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspTagLibEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass javaScriptEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass jspCommentEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass pageEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass modelEClass = null;
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private EClass composedAttributeEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
+ * package package URI value.
+ * <p>
+ * Note: the correct way to create the package is via the static factory
+ * method {@link #init init()}, which also performs initialization of the
+ * package, or returns the registered package, if one already exists. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.modisco.jee.jsp.JspPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private JspPackageImpl() {
+ super(eNS_URI, JspFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this model,
+ * and for any others upon which it depends.
+ *
+ * <p>
+ * This method is used to initialize {@link JspPackage#eINSTANCE} when that
+ * field is accessed. Clients should not invoke it directly. Instead, they
+ * should simply access that field to obtain the package. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static JspPackage init() {
+ if (isInited)
+ return (JspPackage) EPackage.Registry.INSTANCE
+ .getEPackage(JspPackage.eNS_URI);
+
+ // Obtain or create and register package
+ JspPackageImpl theJspPackage = (JspPackageImpl) (EPackage.Registry.INSTANCE
+ .get(eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE
+ .get(eNS_URI) : new JspPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ MoDiscoXMLPackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theJspPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theJspPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theJspPackage.freeze();
+
+ // Update the registry and return the package
+ EPackage.Registry.INSTANCE.put(JspPackage.eNS_URI, theJspPackage);
+ return theJspPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPScript() {
+ return jspScriptEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getJSPScript_IsTagFragment() {
+ return (EAttribute) jspScriptEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPScriptlet() {
+ return jspScriptletEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPExpression() {
+ return jspExpressionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPDeclaration() {
+ return jspDeclarationEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPAction() {
+ return jspActionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getJSPAction_IsTagFragment() {
+ return (EAttribute) jspActionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPStdAction() {
+ return jspStdActionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPDirective() {
+ return jspDirectiveEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPTagLib() {
+ return jspTagLibEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJavaScript() {
+ return javaScriptEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getJSPComment() {
+ return jspCommentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getJSPComment_IsTagFragment() {
+ return (EAttribute) jspCommentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getPage() {
+ return pageEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPage_OriginalFilePath() {
+ return (EAttribute) pageEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPage_XmlDeclaration() {
+ return (EAttribute) pageEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPage_Doctype() {
+ return (EAttribute) pageEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getPage_OwnedElements() {
+ return (EReference) pageEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getPage_PageOwner() {
+ return (EReference) pageEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getPage_Name() {
+ return (EAttribute) pageEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getModel() {
+ return modelEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getModel_Pages() {
+ return (EReference) modelEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getComposedAttribute() {
+ return composedAttributeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public JspFactory getJspFactory() {
+ return (JspFactory) 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
+ jspScriptEClass = createEClass(JSP_SCRIPT);
+ createEAttribute(jspScriptEClass, JSP_SCRIPT__IS_TAG_FRAGMENT);
+
+ jspScriptletEClass = createEClass(JSP_SCRIPTLET);
+
+ jspExpressionEClass = createEClass(JSP_EXPRESSION);
+
+ jspDeclarationEClass = createEClass(JSP_DECLARATION);
+
+ jspActionEClass = createEClass(JSP_ACTION);
+ createEAttribute(jspActionEClass, JSP_ACTION__IS_TAG_FRAGMENT);
+
+ jspStdActionEClass = createEClass(JSP_STD_ACTION);
+
+ jspDirectiveEClass = createEClass(JSP_DIRECTIVE);
+
+ jspTagLibEClass = createEClass(JSP_TAG_LIB);
+
+ javaScriptEClass = createEClass(JAVA_SCRIPT);
+
+ jspCommentEClass = createEClass(JSP_COMMENT);
+ createEAttribute(jspCommentEClass, JSP_COMMENT__IS_TAG_FRAGMENT);
+
+ pageEClass = createEClass(PAGE);
+ createEAttribute(pageEClass, PAGE__ORIGINAL_FILE_PATH);
+ createEAttribute(pageEClass, PAGE__XML_DECLARATION);
+ createEAttribute(pageEClass, PAGE__DOCTYPE);
+ createEReference(pageEClass, PAGE__OWNED_ELEMENTS);
+ createEReference(pageEClass, PAGE__PAGE_OWNER);
+ createEAttribute(pageEClass, PAGE__NAME);
+
+ modelEClass = createEClass(MODEL);
+ createEReference(modelEClass, MODEL__PAGES);
+
+ composedAttributeEClass = createEClass(COMPOSED_ATTRIBUTE);
+ }
+
+ /**
+ * <!-- 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
+ MoDiscoXMLPackage theMoDiscoXMLPackage = (MoDiscoXMLPackage) EPackage.Registry.INSTANCE
+ .getEPackage(MoDiscoXMLPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ jspScriptEClass.getESuperTypes().add(theMoDiscoXMLPackage.getElement());
+ jspScriptletEClass.getESuperTypes().add(this.getJSPScript());
+ jspExpressionEClass.getESuperTypes().add(this.getJSPScript());
+ jspDeclarationEClass.getESuperTypes().add(this.getJSPScript());
+ jspActionEClass.getESuperTypes().add(theMoDiscoXMLPackage.getElement());
+ jspStdActionEClass.getESuperTypes().add(this.getJSPAction());
+ jspDirectiveEClass.getESuperTypes().add(
+ theMoDiscoXMLPackage.getElement());
+ jspTagLibEClass.getESuperTypes().add(this.getJSPDirective());
+ javaScriptEClass.getESuperTypes()
+ .add(theMoDiscoXMLPackage.getElement());
+ jspCommentEClass.getESuperTypes().add(theMoDiscoXMLPackage.getNode());
+ composedAttributeEClass.getESuperTypes().add(
+ theMoDiscoXMLPackage.getElement());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(
+ jspScriptEClass,
+ JSPScript.class,
+ "JSPScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+ initEAttribute(
+ getJSPScript_IsTagFragment(),
+ ecorePackage.getEBoolean(),
+ "isTagFragment", "false", 0, 1, JSPScript.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
+
+ initEClass(
+ jspScriptletEClass,
+ JSPScriptlet.class,
+ "JSPScriptlet", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ jspExpressionEClass,
+ JSPExpression.class,
+ "JSPExpression", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ jspDeclarationEClass,
+ JSPDeclaration.class,
+ "JSPDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ jspActionEClass,
+ JSPAction.class,
+ "JSPAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+ initEAttribute(
+ getJSPAction_IsTagFragment(),
+ ecorePackage.getEBoolean(),
+ "isTagFragment", "false", 0, 1, JSPAction.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
+
+ initEClass(
+ jspStdActionEClass,
+ JSPStdAction.class,
+ "JSPStdAction", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ jspDirectiveEClass,
+ JSPDirective.class,
+ "JSPDirective", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ jspTagLibEClass,
+ JSPTagLib.class,
+ "JSPTagLib", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ javaScriptEClass,
+ JavaScript.class,
+ "JavaScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ initEClass(
+ jspCommentEClass,
+ JSPComment.class,
+ "JSPComment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+ initEAttribute(
+ getJSPComment_IsTagFragment(),
+ ecorePackage.getEBoolean(),
+ "isTagFragment", "false", 0, 1, JSPComment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
+
+ initEClass(
+ pageEClass,
+ Page.class,
+ "Page", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+ initEAttribute(
+ getPage_OriginalFilePath(),
+ ecorePackage.getEString(),
+ "originalFilePath", null, 0, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(
+ getPage_XmlDeclaration(),
+ ecorePackage.getEString(),
+ "xmlDeclaration", null, 0, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(
+ getPage_Doctype(),
+ ecorePackage.getEString(),
+ "doctype", null, 0, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEReference(
+ getPage_OwnedElements(),
+ theMoDiscoXMLPackage.getNode(),
+ null,
+ "ownedElements", null, 0, -1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEReference(
+ getPage_PageOwner(),
+ this.getModel(),
+ this.getModel_Pages(),
+ "pageOwner", null, 1, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(
+ getPage_Name(),
+ ecorePackage.getEString(),
+ "name", null, 0, 1, Page.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+
+ initEClass(
+ modelEClass,
+ Model.class,
+ "Model", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+ initEReference(
+ getModel_Pages(),
+ this.getPage(),
+ this.getPage_PageOwner(),
+ "pages", null, 0, -1, Model.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+
+ initEClass(
+ composedAttributeEClass,
+ ComposedAttribute.class,
+ "ComposedAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} // JspPackageImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ModelImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ModelImpl.java
new file mode 100644
index 000000000..0dc8ba8db
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/ModelImpl.java
@@ -0,0 +1,176 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.modisco.jee.jsp.JspPackage;
+import org.eclipse.modisco.jee.jsp.Model;
+import org.eclipse.modisco.jee.jsp.Page;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Model</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.ModelImpl#getPages <em>Pages</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ModelImpl extends EObjectImpl implements Model {
+ /**
+ * The cached value of the '{@link #getPages() <em>Pages</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPages()
+ * @generated
+ * @ordered
+ */
+ protected EList<Page> pages;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ModelImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.MODEL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Page> getPages() {
+ if (pages == null) {
+ pages = new EObjectContainmentWithInverseEList<Page>(Page.class, this, JspPackage.MODEL__PAGES, JspPackage.PAGE__PAGE_OWNER);
+ }
+ return pages;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JspPackage.MODEL__PAGES:
+ return ((InternalEList<InternalEObject>)(InternalEList<?>)getPages()).basicAdd(otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JspPackage.MODEL__PAGES:
+ return ((InternalEList<?>)getPages()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JspPackage.MODEL__PAGES:
+ return getPages();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JspPackage.MODEL__PAGES:
+ getPages().clear();
+ getPages().addAll((Collection<? extends Page>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JspPackage.MODEL__PAGES:
+ getPages().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JspPackage.MODEL__PAGES:
+ return pages != null && !pages.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ModelImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/PageImpl.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/PageImpl.java
new file mode 100644
index 000000000..8cb263134
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/impl/PageImpl.java
@@ -0,0 +1,480 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+
+import org.eclipse.gmt.modisco.xml.Node;
+import org.eclipse.modisco.jee.jsp.JspPackage;
+import org.eclipse.modisco.jee.jsp.Model;
+import org.eclipse.modisco.jee.jsp.Page;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Page</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.PageImpl#getOriginalFilePath <em>Original File Path</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.PageImpl#getXmlDeclaration <em>Xml Declaration</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.PageImpl#getDoctype <em>Doctype</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.PageImpl#getOwnedElements <em>Owned Elements</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.PageImpl#getPageOwner <em>Page Owner</em>}</li>
+ * <li>{@link org.eclipse.modisco.jee.jsp.impl.PageImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class PageImpl extends EObjectImpl implements Page {
+ /**
+ * The default value of the '{@link #getOriginalFilePath() <em>Original File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOriginalFilePath()
+ * @generated
+ * @ordered
+ */
+ protected static final String ORIGINAL_FILE_PATH_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getOriginalFilePath() <em>Original File Path</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOriginalFilePath()
+ * @generated
+ * @ordered
+ */
+ protected String originalFilePath = ORIGINAL_FILE_PATH_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getXmlDeclaration() <em>Xml Declaration</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlDeclaration()
+ * @generated
+ * @ordered
+ */
+ protected static final String XML_DECLARATION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getXmlDeclaration() <em>Xml Declaration</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmlDeclaration()
+ * @generated
+ * @ordered
+ */
+ protected String xmlDeclaration = XML_DECLARATION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDoctype() <em>Doctype</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDoctype()
+ * @generated
+ * @ordered
+ */
+ protected static final String DOCTYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDoctype() <em>Doctype</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDoctype()
+ * @generated
+ * @ordered
+ */
+ protected String doctype = DOCTYPE_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getOwnedElements() <em>Owned Elements</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOwnedElements()
+ * @generated
+ * @ordered
+ */
+ protected EList<Node> ownedElements;
+
+ /**
+ * 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;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PageImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JspPackage.Literals.PAGE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getOriginalFilePath() {
+ return originalFilePath;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOriginalFilePath(String newOriginalFilePath) {
+ String oldOriginalFilePath = originalFilePath;
+ originalFilePath = newOriginalFilePath;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.PAGE__ORIGINAL_FILE_PATH, oldOriginalFilePath, originalFilePath));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getXmlDeclaration() {
+ return xmlDeclaration;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setXmlDeclaration(String newXmlDeclaration) {
+ String oldXmlDeclaration = xmlDeclaration;
+ xmlDeclaration = newXmlDeclaration;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.PAGE__XML_DECLARATION, oldXmlDeclaration, xmlDeclaration));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDoctype() {
+ return doctype;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDoctype(String newDoctype) {
+ String oldDoctype = doctype;
+ doctype = newDoctype;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.PAGE__DOCTYPE, oldDoctype, doctype));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Node> getOwnedElements() {
+ if (ownedElements == null) {
+ ownedElements = new EObjectContainmentEList<Node>(Node.class, this, JspPackage.PAGE__OWNED_ELEMENTS);
+ }
+ return ownedElements;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Model getPageOwner() {
+ if (eContainerFeatureID() != JspPackage.PAGE__PAGE_OWNER) return null;
+ return (Model)eContainer();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetPageOwner(Model newPageOwner, NotificationChain msgs) {
+ msgs = eBasicSetContainer((InternalEObject)newPageOwner, JspPackage.PAGE__PAGE_OWNER, msgs);
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPageOwner(Model newPageOwner) {
+ if (newPageOwner != eInternalContainer() || (eContainerFeatureID() != JspPackage.PAGE__PAGE_OWNER && newPageOwner != null)) {
+ if (EcoreUtil.isAncestor(this, newPageOwner))
+ throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); //$NON-NLS-1$
+ NotificationChain msgs = null;
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ if (newPageOwner != null)
+ msgs = ((InternalEObject)newPageOwner).eInverseAdd(this, JspPackage.MODEL__PAGES, Model.class, msgs);
+ msgs = basicSetPageOwner(newPageOwner, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.PAGE__PAGE_OWNER, newPageOwner, newPageOwner));
+ }
+
+ /**
+ * <!-- 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, JspPackage.PAGE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JspPackage.PAGE__PAGE_OWNER:
+ if (eInternalContainer() != null)
+ msgs = eBasicRemoveFromContainer(msgs);
+ return basicSetPageOwner((Model)otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JspPackage.PAGE__OWNED_ELEMENTS:
+ return ((InternalEList<?>)getOwnedElements()).basicRemove(otherEnd, msgs);
+ case JspPackage.PAGE__PAGE_OWNER:
+ return basicSetPageOwner(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
+ switch (eContainerFeatureID()) {
+ case JspPackage.PAGE__PAGE_OWNER:
+ return eInternalContainer().eInverseRemove(this, JspPackage.MODEL__PAGES, Model.class, msgs);
+ }
+ return super.eBasicRemoveFromContainerFeature(msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JspPackage.PAGE__ORIGINAL_FILE_PATH:
+ return getOriginalFilePath();
+ case JspPackage.PAGE__XML_DECLARATION:
+ return getXmlDeclaration();
+ case JspPackage.PAGE__DOCTYPE:
+ return getDoctype();
+ case JspPackage.PAGE__OWNED_ELEMENTS:
+ return getOwnedElements();
+ case JspPackage.PAGE__PAGE_OWNER:
+ return getPageOwner();
+ case JspPackage.PAGE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JspPackage.PAGE__ORIGINAL_FILE_PATH:
+ setOriginalFilePath((String)newValue);
+ return;
+ case JspPackage.PAGE__XML_DECLARATION:
+ setXmlDeclaration((String)newValue);
+ return;
+ case JspPackage.PAGE__DOCTYPE:
+ setDoctype((String)newValue);
+ return;
+ case JspPackage.PAGE__OWNED_ELEMENTS:
+ getOwnedElements().clear();
+ getOwnedElements().addAll((Collection<? extends Node>)newValue);
+ return;
+ case JspPackage.PAGE__PAGE_OWNER:
+ setPageOwner((Model)newValue);
+ return;
+ case JspPackage.PAGE__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JspPackage.PAGE__ORIGINAL_FILE_PATH:
+ setOriginalFilePath(ORIGINAL_FILE_PATH_EDEFAULT);
+ return;
+ case JspPackage.PAGE__XML_DECLARATION:
+ setXmlDeclaration(XML_DECLARATION_EDEFAULT);
+ return;
+ case JspPackage.PAGE__DOCTYPE:
+ setDoctype(DOCTYPE_EDEFAULT);
+ return;
+ case JspPackage.PAGE__OWNED_ELEMENTS:
+ getOwnedElements().clear();
+ return;
+ case JspPackage.PAGE__PAGE_OWNER:
+ setPageOwner((Model)null);
+ return;
+ case JspPackage.PAGE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JspPackage.PAGE__ORIGINAL_FILE_PATH:
+ return ORIGINAL_FILE_PATH_EDEFAULT == null ? originalFilePath != null : !ORIGINAL_FILE_PATH_EDEFAULT.equals(originalFilePath);
+ case JspPackage.PAGE__XML_DECLARATION:
+ return XML_DECLARATION_EDEFAULT == null ? xmlDeclaration != null : !XML_DECLARATION_EDEFAULT.equals(xmlDeclaration);
+ case JspPackage.PAGE__DOCTYPE:
+ return DOCTYPE_EDEFAULT == null ? doctype != null : !DOCTYPE_EDEFAULT.equals(doctype);
+ case JspPackage.PAGE__OWNED_ELEMENTS:
+ return ownedElements != null && !ownedElements.isEmpty();
+ case JspPackage.PAGE__PAGE_OWNER:
+ return getPageOwner() != null;
+ case JspPackage.PAGE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (originalFilePath: "); //$NON-NLS-1$
+ result.append(originalFilePath);
+ result.append(", xmlDeclaration: "); //$NON-NLS-1$
+ result.append(xmlDeclaration);
+ result.append(", doctype: "); //$NON-NLS-1$
+ result.append(doctype);
+ result.append(", name: "); //$NON-NLS-1$
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //PageImpl
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspAdapterFactory.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspAdapterFactory.java
new file mode 100644
index 000000000..5c1896a11
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspAdapterFactory.java
@@ -0,0 +1,384 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+
+import org.eclipse.gmt.modisco.xml.Element;
+import org.eclipse.gmt.modisco.xml.Node;
+import org.eclipse.modisco.jee.jsp.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.JspPackage
+ * @generated
+ */
+public class JspAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static JspPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JspAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = JspPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected JspSwitch<Adapter> modelSwitch =
+ new JspSwitch<Adapter>() {
+ @Override
+ public Adapter caseJSPScript(JSPScript object) {
+ return createJSPScriptAdapter();
+ }
+ @Override
+ public Adapter caseJSPScriptlet(JSPScriptlet object) {
+ return createJSPScriptletAdapter();
+ }
+ @Override
+ public Adapter caseJSPExpression(JSPExpression object) {
+ return createJSPExpressionAdapter();
+ }
+ @Override
+ public Adapter caseJSPDeclaration(JSPDeclaration object) {
+ return createJSPDeclarationAdapter();
+ }
+ @Override
+ public Adapter caseJSPAction(JSPAction object) {
+ return createJSPActionAdapter();
+ }
+ @Override
+ public Adapter caseJSPStdAction(JSPStdAction object) {
+ return createJSPStdActionAdapter();
+ }
+ @Override
+ public Adapter caseJSPDirective(JSPDirective object) {
+ return createJSPDirectiveAdapter();
+ }
+ @Override
+ public Adapter caseJSPTagLib(JSPTagLib object) {
+ return createJSPTagLibAdapter();
+ }
+ @Override
+ public Adapter caseJavaScript(JavaScript object) {
+ return createJavaScriptAdapter();
+ }
+ @Override
+ public Adapter caseJSPComment(JSPComment object) {
+ return createJSPCommentAdapter();
+ }
+ @Override
+ public Adapter casePage(Page object) {
+ return createPageAdapter();
+ }
+ @Override
+ public Adapter caseModel(Model object) {
+ return createModelAdapter();
+ }
+ @Override
+ public Adapter caseComposedAttribute(ComposedAttribute object) {
+ return createComposedAttributeAdapter();
+ }
+ @Override
+ public Adapter caseNode(Node object) {
+ return createNodeAdapter();
+ }
+ @Override
+ public Adapter caseElement(Element object) {
+ return createElementAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPScript <em>JSP Script</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPScript
+ * @generated
+ */
+ public Adapter createJSPScriptAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPScriptlet <em>JSP Scriptlet</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPScriptlet
+ * @generated
+ */
+ public Adapter createJSPScriptletAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPExpression <em>JSP Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPExpression
+ * @generated
+ */
+ public Adapter createJSPExpressionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPDeclaration <em>JSP Declaration</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPDeclaration
+ * @generated
+ */
+ public Adapter createJSPDeclarationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPAction <em>JSP Action</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPAction
+ * @generated
+ */
+ public Adapter createJSPActionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPStdAction <em>JSP Std Action</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPStdAction
+ * @generated
+ */
+ public Adapter createJSPStdActionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPDirective <em>JSP Directive</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPDirective
+ * @generated
+ */
+ public Adapter createJSPDirectiveAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPTagLib <em>JSP Tag Lib</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPTagLib
+ * @generated
+ */
+ public Adapter createJSPTagLibAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JavaScript <em>Java Script</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JavaScript
+ * @generated
+ */
+ public Adapter createJavaScriptAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.JSPComment <em>JSP Comment</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.JSPComment
+ * @generated
+ */
+ public Adapter createJSPCommentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.Page <em>Page</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.Page
+ * @generated
+ */
+ public Adapter createPageAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.Model <em>Model</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.Model
+ * @generated
+ */
+ public Adapter createModelAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.modisco.jee.jsp.ComposedAttribute <em>Composed Attribute</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.modisco.jee.jsp.ComposedAttribute
+ * @generated
+ */
+ public Adapter createComposedAttributeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.gmt.modisco.xml.Node <em>Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.gmt.modisco.xml.Node
+ * @generated
+ */
+ public Adapter createNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.gmt.modisco.xml.Element <em>Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.gmt.modisco.xml.Element
+ * @generated
+ */
+ public Adapter createElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //JspAdapterFactory
diff --git a/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspSwitch.java b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspSwitch.java
new file mode 100644
index 000000000..5fb39abe5
--- /dev/null
+++ b/org.eclipse.modisco.jee.jsp/src-gen/org/eclipse/modisco/jee/jsp/util/JspSwitch.java
@@ -0,0 +1,446 @@
+/**
+ * Copyright (c) 2010 Mia-Software.
+ * 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:
+ *
+ * Nicolas Guyomar (Mia-Software) - initial API and implementation
+ */
+package org.eclipse.modisco.jee.jsp.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+
+import org.eclipse.gmt.modisco.xml.Element;
+import org.eclipse.gmt.modisco.xml.Node;
+import org.eclipse.modisco.jee.jsp.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.modisco.jee.jsp.JspPackage
+ * @generated
+ */
+public class JspSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static JspPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JspSwitch() {
+ if (modelPackage == null) {
+ modelPackage = JspPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public T doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List<EClass> eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch(eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected T doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case JspPackage.JSP_SCRIPT: {
+ JSPScript jspScript = (JSPScript)theEObject;
+ T result = caseJSPScript(jspScript);
+ if (result == null) result = caseElement(jspScript);
+ if (result == null) result = caseNode(jspScript);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_SCRIPTLET: {
+ JSPScriptlet jspScriptlet = (JSPScriptlet)theEObject;
+ T result = caseJSPScriptlet(jspScriptlet);
+ if (result == null) result = caseJSPScript(jspScriptlet);
+ if (result == null) result = caseElement(jspScriptlet);
+ if (result == null) result = caseNode(jspScriptlet);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_EXPRESSION: {
+ JSPExpression jspExpression = (JSPExpression)theEObject;
+ T result = caseJSPExpression(jspExpression);
+ if (result == null) result = caseJSPScript(jspExpression);
+ if (result == null) result = caseElement(jspExpression);
+ if (result == null) result = caseNode(jspExpression);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_DECLARATION: {
+ JSPDeclaration jspDeclaration = (JSPDeclaration)theEObject;
+ T result = caseJSPDeclaration(jspDeclaration);
+ if (result == null) result = caseJSPScript(jspDeclaration);
+ if (result == null) result = caseElement(jspDeclaration);
+ if (result == null) result = caseNode(jspDeclaration);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_ACTION: {
+ JSPAction jspAction = (JSPAction)theEObject;
+ T result = caseJSPAction(jspAction);
+ if (result == null) result = caseElement(jspAction);
+ if (result == null) result = caseNode(jspAction);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_STD_ACTION: {
+ JSPStdAction jspStdAction = (JSPStdAction)theEObject;
+ T result = caseJSPStdAction(jspStdAction);
+ if (result == null) result = caseJSPAction(jspStdAction);
+ if (result == null) result = caseElement(jspStdAction);
+ if (result == null) result = caseNode(jspStdAction);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_DIRECTIVE: {
+ JSPDirective jspDirective = (JSPDirective)theEObject;
+ T result = caseJSPDirective(jspDirective);
+ if (result == null) result = caseElement(jspDirective);
+ if (result == null) result = caseNode(jspDirective);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_TAG_LIB: {
+ JSPTagLib jspTagLib = (JSPTagLib)theEObject;
+ T result = caseJSPTagLib(jspTagLib);
+ if (result == null) result = caseJSPDirective(jspTagLib);
+ if (result == null) result = caseElement(jspTagLib);
+ if (result == null) result = caseNode(jspTagLib);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JAVA_SCRIPT: {
+ JavaScript javaScript = (JavaScript)theEObject;
+ T result = caseJavaScript(javaScript);
+ if (result == null) result = caseElement(javaScript);
+ if (result == null) result = caseNode(javaScript);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.JSP_COMMENT: {
+ JSPComment jspComment = (JSPComment)theEObject;
+ T result = caseJSPComment(jspComment);
+ if (result == null) result = caseNode(jspComment);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.PAGE: {
+ Page page = (Page)theEObject;
+ T result = casePage(page);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.MODEL: {
+ Model model = (Model)theEObject;
+ T result = caseModel(model);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JspPackage.COMPOSED_ATTRIBUTE: {
+ ComposedAttribute composedAttribute = (ComposedAttribute)theEObject;
+ T result = caseComposedAttribute(composedAttribute);
+ if (result == null) result = caseElement(composedAttribute);
+ if (result == null) result = caseNode(composedAttribute);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Script</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Script</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPScript(JSPScript object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Scriptlet</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Scriptlet</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPScriptlet(JSPScriptlet object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Expression</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Expression</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPExpression(JSPExpression object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Declaration</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Declaration</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPDeclaration(JSPDeclaration object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Action</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Action</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPAction(JSPAction object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Std Action</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Std Action</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPStdAction(JSPStdAction object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Directive</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Directive</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPDirective(JSPDirective object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Tag Lib</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Tag Lib</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPTagLib(JSPTagLib object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Java Script</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Java Script</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJavaScript(JavaScript object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>JSP Comment</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>JSP Comment</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseJSPComment(JSPComment object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Page</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Page</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePage(Page object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Model</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Model</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseModel(Model object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Composed Attribute</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Composed Attribute</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComposedAttribute(ComposedAttribute object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseNode(Node object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Element</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Element</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseElement(Element object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public T defaultCase(EObject object) {
+ return null;
+ }
+
+} //JspSwitch

Back to the top