<?xml version="1.0" encoding="UTF-8"?> | |
<ecore:EPackage xmi:version="2.0" | |
xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="jsp" | |
nsURI="http://www.eclipse.org/MoDisco/JSP/0.1.incubation/jsp" nsPrefix="jsp"> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPScript" eSuperTypes="platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Element"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isTagFragment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | |
defaultValueLiteral="false"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPScriptlet" eSuperTypes="#//JSPScript"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Eg : &#60;% Some code %&#62;"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPExpression" eSuperTypes="#//JSPScript"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Eg : &#60;%= variable %&#62;"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPDeclaration" eSuperTypes="#//JSPScript"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Eg : &#60;%! int myVariable= 0; %&#62;"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPAction" eSuperTypes="platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Element"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Reference to a declared taglib :&#60;%@ taglib prefix="myprefix" uri="taglib/mytag.tld" %&#62;
Eg : &#60;myprefix:getText() /&#62;"/> | |
</eAnnotations> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isTagFragment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | |
defaultValueLiteral="false"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPStdAction" eSuperTypes="#//JSPAction"/> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPDirective" eSuperTypes="platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Element"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Eg : &#60;jsp:directive.page import="java.util.*" /&#62;"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPTagLib" eSuperTypes="#//JSPDirective"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Eg : &#60;%@ taglib prefix="myprefix" uri="taglib/mytag.tld" %&#62;
"/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JavaScript" eSuperTypes="platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Element"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="Eg : 
&#60;script type="text/javascript"&#62; &#60;/script&#62; "/> | |
</eAnnotations> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="JSPComment" eSuperTypes="platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Node"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="&#60;%-- Here is a JSP Comment --%&#62;"/> | |
</eAnnotations> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="isTagFragment" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean" | |
defaultValueLiteral="false"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Page"> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="originalFilePath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="xmlDeclaration" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="doctype" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="ownedElements" upperBound="-1" | |
eType="ecore:EClass platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Node" | |
containment="true"/> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="pageOwner" lowerBound="1" | |
eType="#//Model" eOpposite="#//Model/pages"/> | |
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="Model"> | |
<eStructuralFeatures xsi:type="ecore:EReference" name="pages" upperBound="-1" | |
eType="#//Page" containment="true" eOpposite="#//Page/pageOwner"/> | |
</eClassifiers> | |
<eClassifiers xsi:type="ecore:EClass" name="ComposedAttribute" eSuperTypes="platform:/plugin/org.eclipse.modisco.xml/model/xml.ecore#//Element"> | |
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel"> | |
<details key="documentation" value="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;"/> | |
</eAnnotations> | |
</eClassifiers> | |
</ecore:EPackage> |