JBoss Tools SVN: r14753 - in trunk/common/plugins/org.jboss.tools.common.projecttemplates: lib/RichFaces3.1 and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-04-15 05:49:21 -0400 (Wed, 15 Apr 2009)
New Revision: 14753
Added:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-api-3.1.6.SR1.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-impl-3.1.6.SR1.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-ui-3.1.6.SR1.jar
Removed:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/…
[View More]RichFaces3.1/richfaces-api-3.1.3.GA.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-impl-3.1.3.GA.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-ui-3.1.3.GA.jar
trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.2/
Modified:
trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-4169 Updated RichFaces 3.1 and removed 3.2
Deleted: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-api-3.1.3.GA.jar
===================================================================
(Binary files differ)
Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-api-3.1.6.SR1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-api-3.1.6.SR1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-impl-3.1.3.GA.jar
===================================================================
(Binary files differ)
Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-impl-3.1.6.SR1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-impl-3.1.6.SR1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-ui-3.1.3.GA.jar
===================================================================
(Binary files differ)
Added: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-ui-3.1.6.SR1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/common/plugins/org.jboss.tools.common.projecttemplates/lib/RichFaces3.1/richfaces-ui-3.1.6.SR1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml 2009-04-15 09:22:23 UTC (rev 14752)
+++ trunk/common/plugins/org.jboss.tools.common.projecttemplates/templates/JSFCapabilities.xml 2009-04-15 09:49:21 UTC (rev 14753)
@@ -51,35 +51,6 @@
</filter-mapping> ]]>
</file-addition>
</capability>
- <capability name="JBoss RichFaces 3.2">
- <library name="RichFaces3.2" />
- <conflicting-library name="richfaces-api-3.2.*"/>
- <file-addition file-name="/WEB-INF/web.xml"
- label="Skin Parameter" x-path="/web-app">
- <![CDATA[<context-param>
- <param-name>org.ajax4jsf.SKIN</param-name>
- <param-value>classic</param-value>
-</context-param>]]>
- </file-addition>
- <file-addition file-name="/WEB-INF/web.xml"
- label="Ajax4jsf Filter" x-path="/web-app">
- <![CDATA[<filter>
- <display-name>Ajax4jsf Filter</display-name>
- <filter-name>ajax4jsf</filter-name>
- <filter-class>org.ajax4jsf.Filter</filter-class>
-</filter>]]>
- </file-addition>
- <file-addition file-name="/WEB-INF/web.xml"
- label="Ajax4jsf Filter mapping" x-path="/web-app">
- <![CDATA[<filter-mapping>
- <filter-name>ajax4jsf</filter-name>
- <servlet-name>Faces Servlet</servlet-name>
- <dispatcher>REQUEST</dispatcher>
- <dispatcher>FORWARD</dispatcher>
- <dispatcher>INCLUDE</dispatcher>
-</filter-mapping> ]]>
- </file-addition>
- </capability>
<capability name="JBoss RichFaces 3.1">
<library name="RichFaces3.1" />
<conflicting-library name="richfaces-api-3.1.*"/>
[View Less]
15 years, 9 months
JBoss Tools SVN: r14752 - trunk/birt/docs/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-04-15 05:22:23 -0400 (Wed, 15 Apr 2009)
New Revision: 14752
Modified:
trunk/birt/docs/en/modules/birt_integration_with_seam.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-687
Modified: trunk/birt/docs/en/modules/birt_integration_with_seam.xml
===================================================================
--- trunk/birt/docs/en/modules/birt_integration_with_seam.xml 2009-04-15 09:21:47 UTC (rev 14751)
+++ trunk/birt/docs/en/modules/…
[View More]birt_integration_with_seam.xml 2009-04-15 09:22:23 UTC (rev 14752)
@@ -288,7 +288,7 @@
<property>org.jboss.birt.core/resources/jboss-seam-birt.jar</property>
</emphasis> library that contains source. </para>
- <!--para>It is also possible to embed a BIRT report in some Seam <emphasis>
+ <para>It is also possible to embed a BIRT report in some Seam <emphasis>
<property>.xhtml</property>
</emphasis> page. See how it may be done:</para>
<para/>
@@ -298,7 +298,7 @@
</para>
<programlisting role="XHTML"><![CDATA[<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <ui:composition xmlns="http://www.w3.org/1999/xhtml"
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
@@ -316,45 +316,23 @@
</rich:panel>
<div class="actionButtons">
<s:button view="/ProductsEdit.xhtml" id="edit" value="Edit"/>
- <s:button view="/BirtProductsPdf.xhtml"
- id="BirtProductPdf" value="Product Catalog - PDF"/>
- <s:button view="/BirtProductsFrameset.xhtml"
- id="BirtProductFrameset" value="Product Catalog - Frameset"/>
- <s:button view="/BirtProductsEmbedded.xhtml"
- id="BirtProductEmbedded" value="Product Catalog - Embedded"/>
- <s:button view="/TopSellingProducts.xhtml"
- id="TopSellingProducts" value="Top Selling Products"/>
+
<s:button view="/#{empty productsFrom ? 'ProductsList' : productsFrom}.xhtml"
id="done" value="Done"/>
</div>
</ui:define>
- </ui:composition>]]></programlisting>
+</ui:composition>]]></programlisting>
+ <para>See the result in a Browser:</para>
+
<figure>
- <title>Embedding BIRT Report in Seam xhtml Page. First Page</title>
+ <title>Embedding BIRT Report in Seam xhtml Page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/BirtIntegration/BirtReportInSeamPage1.png"/>
+ <imagedata fileref="images/birt_integration_with_seam/embeddedReportInSeamPage.png"/>
</imageobject>
</mediaobject>
</figure>
- <figure>
- <title>Embedding BIRT Report in Seam xhtml Page. Second Page</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtIntegration/BirtReportInSeamPage2.png"/>
- </imageobject>
- </mediaobject>
- </figure>
-
- <figure>
- <title>Embedding BIRT Report in Seam xhtml Page. Third Page</title>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/BirtIntegration/BirtReportInSeamPage3.png"/>
- </imageobject>
- </mediaobject>
- </figure-->
</section>
</chapter>
[View Less]
15 years, 9 months
JBoss Tools SVN: r14751 - trunk/birt/docs/en/images/birt_integration_with_seam.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-04-15 05:21:47 -0400 (Wed, 15 Apr 2009)
New Revision: 14751
Added:
trunk/birt/docs/en/images/birt_integration_with_seam/embeddedReportInSeamPage.png
Log:
https://jira.jboss.org/jira/browse/JBDS-687 - adding new image;
Added: trunk/birt/docs/en/images/birt_integration_with_seam/embeddedReportInSeamPage.png
===================================================================
(Binary files differ)
Property changes on: trunk/birt/docs/en/images/…
[View More]birt_integration_with_seam/embeddedReportInSeamPage.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
[View Less]
15 years, 9 months
JBoss Tools SVN: r14750 - in trunk: jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources and 19 other directories.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-04-15 04:24:26 -0400 (Wed, 15 Apr 2009)
New Revision: 14750
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.classpath
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.project
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/
trunk/jsf/tests/…
[View More]org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/.jsdtscope
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jdt.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.component
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/demo/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/demo/Person.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/resources.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/META-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/META-INF/MANIFEST.MF
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/.faces-config.xml.jsfdia
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/demo/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/demo/Person.class
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/resources.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/faces-config.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/lib/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/web.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/index.jsp
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/echo.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/paginator.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/facelets.taglib.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/templates/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/templates/common.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.properties
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3197Test.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDData.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDParser.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDReference.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/templates/vpe-templates-facelets.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java
trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3197, initial support of custom tags has been added to vpe
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/templates/vpe-templates-facelets.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/templates/vpe-templates-facelets.xml 2009-04-15 04:38:38 UTC (rev 14749)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.facelets/templates/vpe-templates-facelets.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -62,6 +62,9 @@
<vpe:tag name="ui:include" case-sensitive="yes">
<vpe:template children="yes" file="{@src}" class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate"/>
</vpe:tag>
+ <vpe:tag name="vpeCustomTemplate" case-sensitive="yes">
+ <vpe:template children="yes" class="org.jboss.tools.vpe.editor.template.VpeCustomTemplate"></vpe:template>
+ </vpe:tag>
<vpe:tag name="ui:debug" case-sensitive="yes" >
<vpe:template children="yes" modify="yes">
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.classpath
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.classpath (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.classpath 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="JavaSource"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/jboss-eap Runtime"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.project
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.project (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.project 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>customFaceletsTestProject</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.common.verification.verifybuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.jboss.tools.jsf.jsfnature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/.jsdtscope
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/.jsdtscope (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/.jsdtscope 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jdt.core.prefs 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,7 @@
+#Wed Apr 08 14:46:01 EEST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.jst.common.project.facet.core.prefs 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,4 @@
+#Wed Apr 08 14:46:02 EEST 2009
+classpath.helper/org.eclipse.jdt.launching.JRE_CONTAINER\:\:org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType\:\:jdk1.5.0_12/owners=jst.java\:5.0
+classpath.helper/org.eclipse.jst.server.core.container\:\:org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget\:\:jboss-eap\ Runtime/owners=jst.web\:2.5
+eclipse.preferences.version=1
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.component 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="customFaceletsTestProject">
+ <wb-resource deploy-path="/" source-path="/WebContent"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/JavaSource"/>
+ <property name="context-root" value="customFaceletsTestProject"/>
+ <property name="java-output-path"/>
+ </wb-module>
+</project-modules>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.common.project.facet.core.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="jboss-eap Runtime"/>
+ <fixed facet="jst.java"/>
+ <fixed facet="jst.web"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.5"/>
+</faceted-project>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.container 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/.settings/org.eclipse.wst.jsdt.ui.superType.name 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/demo/Person.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/demo/Person.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/demo/Person.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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:
+ * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package demo;
+
+/**
+ * Created by JBoss Tools
+ */
+public class Person {
+ private String name;
+
+ public Person() {
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/resources.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/resources.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/JavaSource/resources.properties 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,2 @@
+prompt=Your Name\:
+greeting=Hello
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/META-INF/MANIFEST.MF 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/.faces-config.xml.jsfdia
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/.faces-config.xml.jsfdia (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/.faces-config.xml.jsfdia 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PROCESS model-entity="JSFProcess">
+ <PROCESS-ITEM NAME="rules:#pages#correctCustomTags.xhtml"
+ PATH="/pages/correctCustomTags.xhtml" model-entity="JSFProcessGroup">
+ <PROCESS-ITEM ID="rules:#pages#correctCustomTags.xhtml:0" NAME="item"
+ PATH="/pages/correctCustomTags.xhtml" model-entity="JSFProcessItem">
+ <PROCESS-ITEM-OUTPUT ID="greeting::#pages#incorrectCustomTags.xhtml"
+ NAME="output" PATH="/pages/incorrectCustomTags.xhtml"
+ TARGET="rules:#pages#incorrectCustomTags.xhtml" TITLE="greeting" model-entity="JSFProcessItemOutput"/>
+ </PROCESS-ITEM>
+ </PROCESS-ITEM>
+ <PROCESS-ITEM NAME="rules:#pages#incorrectCustomTags.xhtml"
+ PATH="/pages/incorrectCustomTags.xhtml" model-entity="JSFProcessGroup"/>
+</PROCESS>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/demo/Person.class
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/demo/Person.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/resources.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/resources.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/classes/resources.properties 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,2 @@
+prompt=Your Name\:
+greeting=Hello
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/faces-config.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/faces-config.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/faces-config.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
+ <managed-bean>
+ <managed-bean-name>person</managed-bean-name>
+ <managed-bean-class>demo.Person</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ <managed-property>
+ <property-name>name</property-name>
+ <value/>
+ </managed-property>
+ </managed-bean>
+ <navigation-rule>
+ <from-view-id>/pages/correctCustomTags.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>greeting</from-outcome>
+ <to-view-id>/pages/incorrectCustomTags.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <application>
+ <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
+ </application>
+</faces-config>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/web.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/web.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/WEB-INF/web.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
+ <description>Facelets StarterKit</description>
+ <display-name>customFaceletsTestProject</display-name>
+ <context-param>
+ <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
+ <param-value>.xhtml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.REFRESH_PERIOD</param-name>
+ <param-value>2</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.DEVELOPMENT</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
+ <param-value>client</param-value>
+ </context-param>
+ <context-param>
+ <param-name>facelets.LIBRARIES</param-name>
+ <param-value>/tags/facelets.taglib.xml</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.validateXml</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <context-param>
+ <param-name>com.sun.faces.verifyObjects</param-name>
+ <param-value>true</param-value>
+ </context-param>
+ <servlet>
+ <servlet-name>Faces Servlet</servlet-name>
+ <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Faces Servlet</servlet-name>
+ <url-pattern>*.jsf</url-pattern>
+ </servlet-mapping>
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ </login-config>
+</web-app>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/index.jsp
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/index.jsp (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/index.jsp 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,7 @@
+<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+<html>
+<head></head>
+ <body>
+ <jsp:forward page="pages/inputname.jsf" />
+ </body>
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:c="http://java.sun.com/jstl/core"
+ xmlns:ma="http://mareshkau/tags">
+
+<head></head>
+<body>
+<div id="correctCustomTags">
+<!-- Test case when custom template defined -->
+<ma:paginator/>
+<!-- Another custom template defined -->
+<ma:echo echo="Echo"></ma:echo>
+<ma:paginator/>
+</div>
+</body>
+</html>
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/correctCustomTags.xhtml.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,47 @@
+<tests>
+<test id="correctCustomTags">
+<DIV ID="correctCustomTags" STYLE="-moz-user-modify: read-write;" >
+<!-- Test case when custom template defined -->
+<DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify: read-only;">
+<TABLE BORDER="0" STYLE="margin-right: auto; margin-left: auto; -moz-user-modify: read-only;">
+<TBODY>
+<TR>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;"><<</SPAN></A>
+</TD>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;"><</SPAN></A>
+</TD>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">></SPAN></A>
+</TD>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">>></SPAN></A>
+</TD>
+</TR>
+</TBODY>
+</TABLE>
+</DIV>
+<!-- Another custom template defined -->
+<DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify: read-only;" >
+<SPAN STYLE="-moz-user-modify: read-only;">
+<SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">
+${echo}
+</SPAN>
+</SPAN>
+</DIV>
+<DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify: read-only;">
+<TABLE BORDER="0" STYLE="margin-right: auto; margin-left: auto; -moz-user-modify: read-only;">
+<TBODY>
+<TR>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;"><<</SPAN></A>
+</TD>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;"><</SPAN></A>
+</TD>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">></SPAN></A>
+</TD>
+<TD><A STYLE="-moz-user-modify: read-only;" ><SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">>></SPAN></A>
+</TD>
+</TR>
+</TBODY>
+</TABLE>
+</DIV>
+</DIV>
+</test>
+</tests>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:ma="http://mareshkau/tags">
+<head>
+</head>
+<body id="incorrectCustomTags">
+<!-- Custom template doesn't defined -->
+<ma:test />
+<!-- Custom template defined, but hasn't source node -->
+<mo:paginator />
+
+<mo:test />
+
+<ma:test1 />
+
+</body>
+
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/pages/incorrectCustomTags.xhtml.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,24 @@
+<tests>
+<test id="incorrectCustomTags">
+<DIV ID="incorrectCustomTags" >
+<!-- Custom template doesn't defined -->
+<DIV STYLE="margin: 3px 0pt; padding: 0pt 5px; background-color: rgb(236, 243, 255); cursor: pointer; font-style: italic; color: rgb(0, 81, 221);" VPE:INCLUDE-ELEMENT="yes" >
+ma:test<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"/>
+
+</DIV>
+<!-- Custom template defined, but hasn't source node -->
+<DIV CLASS="__any__tag__caption" STYLE="border: 1px solid green; -moz-user-modify: read-only;">
+mo:paginator<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"/>
+
+</DIV>
+<DIV CLASS="__any__tag__caption" STYLE="border: 1px solid green; -moz-user-modify: read-only;">
+mo:test<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"/>
+
+</DIV>
+<DIV STYLE="margin: 3px 0pt; padding: 0pt 5px; background-color: rgb(236, 243, 255); cursor: pointer; font-style: italic; color: rgb(0, 81, 221);" VPE:INCLUDE-ELEMENT="yes">
+ma:test1<BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"/>
+
+</DIV>
+</DIV>
+</test>
+</tests>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/echo.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/echo.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/echo.xhtml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,10 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets">
+THIS TEXT SHOULD BE REMOVED
+<ui:composition>
+ <span>${echo}</span>
+</ui:composition>
+THIS TEXT SHOULD BE REMOVED
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/paginator.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/paginator.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/components/paginator.xhtml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core">
+This Text will be removed
+<ui:component>
+ <h:panelGrid style="margin-right:auto;margin-left:auto;" columns="4">
+ <h:outputLink>
+ <h:outputText value="<<" /></h:outputLink>
+ <h:outputLink>
+ <h:outputText value="<" /></h:outputLink>
+ <h:outputLink>
+ <h:outputText value=">" /></h:outputLink>
+ <h:outputLink>
+ <h:outputText value=">>" /></h:outputLink>
+ </h:panelGrid>
+</ui:component>
+This Text will be removed
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/facelets.taglib.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/facelets.taglib.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/tags/facelets.taglib.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,17 @@
+<!DOCTYPE facelet-taglib PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
+ "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
+<facelet-taglib>
+ <namespace>http://mareshkau/tags</namespace>
+ <tag>
+ <tag-name>echo</tag-name>
+ <source>components/echo.xhtml</source>
+ </tag>
+ <tag>
+ <tag-name>paginator</tag-name>
+ <source>components/paginator.xhtml</source>
+ </tag>
+ <tag>
+ <tag-name>test1</tag-name>
+ </tag>
+</facelet-taglib>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/templates/common.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/templates/common.xhtml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/WebContent/templates/common.xhtml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,17 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:ma="http://mareshkau/tags">
+ <head>
+ </head>
+<body>
+<div id="correctCustomTags">
+<!-- Test case when custom template defined -->
+<ma:paginator/>
+<!-- Another custom template defined -->
+<ma:echo echo="Echo"></ma:echo>
+<ma:paginator/>
+</div>
+</body>
+
+</html>
\ No newline at end of file
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.properties
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.properties (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.properties 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,3 @@
+#
+#Wed Apr 08 14:46:00 EEST 2009
+classpath.external=
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.xml (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/customFaceletsTestProject/ant/build.xml 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,87 @@
+<project name="customFaceletsTestProject" basedir="../" default="deploy">
+
+ <!-- Project settings -->
+ <property name="project.distname" value="customFaceletsTestProject"/>
+
+ <!-- Local system paths -->
+ <property file="${basedir}/ant/build.properties"/>
+ <property name="webroot.dir" value="${basedir}/WebContent"/>
+ <property name="webinf.dir" value="${webroot.dir}/WEB-INF"/>
+ <property name="build.dir" value="build"/>
+
+
+ <!-- classpath for JSF 1.0 -->
+ <path id="compile.classpath">
+ <pathelement path ="${webinf.dir}/lib/commons-beanutils.jar"/>
+ <pathelement path ="${webinf.dir}/lib/commons-collections.jar"/>
+ <pathelement path ="${webinf.dir}/lib/commons-digester.jar"/>
+ <pathelement path ="${webinf.dir}/lib/commons-logging.jar"/>
+ <pathelement path ="${webinf.dir}/lib/jsf-api.jar"/>
+ <pathelement path ="${webinf.dir}/lib/jsf-impl.jar"/>
+ <pathelement path ="${webinf.dir}/lib/jstl.jar"/>
+ <pathelement path ="${webinf.dir}/lib/standard.jar"/>
+ <pathelement path ="${webinf.dir}/classes"/>
+ <pathelement path ="${classpath.external}"/>
+ <pathelement path ="${classpath}"/>
+ </path>
+
+ <!-- define your folder for deployment -->
+ <property name="deploy.dir" value="deploy"/>
+
+ <!-- Check timestamp on files -->
+ <target name="prepare">
+ <tstamp/>
+ </target>
+
+ <!-- Copy any resource or configuration files -->
+ <target name="resources">
+ <copy todir="${webinf.dir}/classes" includeEmptyDirs="no">
+ <fileset dir="JavaSource">
+ <patternset>
+ <include name="**/*.conf"/>
+ <include name="**/*.properties"/>
+ <include name="**/*.xml"/>
+ </patternset>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- Normal build of application -->
+ <target name="compile" depends="prepare,resources">
+ <javac srcdir="JavaSource" destdir="${webinf.dir}/classes">
+ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
+
+ <!-- Remove classes directory for clean build -->
+ <target name="clean"
+ description="Prepare for clean build">
+ <delete dir="${webinf.dir}/classes"/>
+ <mkdir dir="${webinf.dir}/classes"/>
+ </target>
+
+ <!-- Build entire project -->
+ <target name="build" depends="prepare,compile"/>
+ <target name="rebuild" depends="clean,prepare,compile"/>
+
+ <!-- Create binary distribution -->
+ <target name="war" depends="build">
+ <mkdir dir="${build.dir}"/>
+ <war
+ basedir="${webroot.dir}"
+ warfile="${build.dir}/${project.distname}.war"
+ webxml="${webinf.dir}/web.xml">
+ <exclude name="WEB-INF/${build.dir}/**"/>
+ <exclude name="WEB-INF/src/**"/>
+ <exclude name="WEB-INF/web.xml"/>
+ </war>
+
+ </target>
+
+ <target name="deploy" depends="war">
+ <delete file="${deploy.dir}/${project.distname}.war"/>
+ <delete dir="${deploy.dir}/${project.distname}"/>
+ <copy file="${build.dir}/${project.distname}.war" todir="${deploy.dir}"/>
+ </target>
+
+</project>
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2009-04-15 04:38:38 UTC (rev 14749)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -44,6 +44,7 @@
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3127Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3144Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3163Test;
+import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3197Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3376Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3396Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE3441Test;
@@ -77,6 +78,7 @@
public static final String IMPORT_PROJECT_NAME = "jsfTest"; //$NON-NLS-1$
public static final String IMPORT_JSF_20_PROJECT_NAME = "jsf2test"; //$NON-NLS-1$
+ public static final String IMPORT_CUSTOM_FACELETS_PROJECT = "customFaceletsTestProject";//$NON-NLS-1$
public static Test suite() {
@@ -133,6 +135,7 @@
suite.addTestSuite(JBIDE3482Test.class);
suite.addTestSuite(JBIDE3632Test.class);
suite.addTestSuite(JBIDE3650Test.class);
+ suite.addTestSuite(JBIDE3197Test.class);
// $JUnit-END$
// added by Max Areshkau
@@ -148,6 +151,11 @@
importBeanJsf20.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
projectToImport.add(importBeanJsf20);
+ ImportBean customFaceletsTestProject = new ImportBean();
+ customFaceletsTestProject.setImportProjectName(JsfAllTests.IMPORT_CUSTOM_FACELETS_PROJECT);
+ customFaceletsTestProject.setImportProjectPath(JsfTestPlugin.getPluginResourcePath());
+ projectToImport.add(customFaceletsTestProject);
+
return new VpeTestSetup(suite, projectToImport);
}
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3197Test.java
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3197Test.java (rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/JBIDE3197Test.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.jsf.test.jbide;
+
+import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+
+/**
+ * @author mareshkau
+ *
+ */
+public class JBIDE3197Test extends ComponentContentTest {
+
+ public JBIDE3197Test(String name) {
+ super(name);
+ }
+
+ public void testIncorrectTags() throws Throwable {
+ performContentTest("incorrectCustomTags.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testContentCustomTagsWithSourceSupport() throws Throwable {
+ performContentTest("correctCustomTags.xhtml"); //$NON-NLS-1$
+ }
+
+ @Override
+ protected String getTestProjectName() {
+ return JsfAllTests.IMPORT_CUSTOM_FACELETS_PROJECT;
+ }
+}
Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeCustomTemplate.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,119 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2009 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.editor.template;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.ui.IWorkbenchPage;
+import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.ide.IDE;
+import org.jboss.tools.vpe.VpePlugin;
+import org.jboss.tools.vpe.editor.VpeIncludeInfo;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.custom.CustomTLDReference;
+import org.mozilla.interfaces.nsIDOMDocument;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ * @author mareshkau
+ *
+ */
+public class VpeCustomTemplate extends VpeIncludeTemplate {
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.jboss.tools.vpe.editor.template.VpeIncludeTemplate#create(org.jboss
+ * .tools.vpe.editor.context.VpePageContext, org.w3c.dom.Node,
+ * org.mozilla.interfaces.nsIDOMDocument)
+ */
+ @Override
+ public VpeCreationData create(VpePageContext pageContext, Node sourceNode,
+ nsIDOMDocument visualDocument) {
+
+ IPath pathToFile = CustomTLDReference
+ .getCustomElementPath(sourceNode, pageContext);
+
+ if (pathToFile != null) {
+
+ IFile file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(
+ pathToFile);
+ if (file != null && file.exists()) {
+ if (!pageContext.getVisualBuilder().isFileInIncludeStack(
+ file)) {
+ Document document = pageContext.getVisualBuilder()
+ .getIncludeDocuments().get(file);
+ if (document == null) {
+ document = VpeCreatorUtil.getDocumentForRead(file);
+ if (document != null)
+ pageContext.getVisualBuilder()
+ .getIncludeDocuments().put(file,
+ document);
+ }
+ if (document != null) {
+ VpeCreationData creationData = createInclude(
+ document, visualDocument);
+ creationData.setData(file);
+ pageContext.getVisualBuilder().pushIncludeStack(
+ new VpeIncludeInfo((Element) sourceNode,
+ file, document));
+ return creationData;
+ }
+ }
+ }
+ }
+ VpeCreationData creationData = createStub(sourceNode.getNodeName(), visualDocument);
+ creationData.setData(null);
+ return creationData;
+ }
+ @Override
+ public void openIncludeEditor(VpePageContext pageContext, Element sourceElement, Object data) {
+
+ IFile file = getFileForOpenOn(pageContext, sourceElement);
+
+ if(file!=null && file.exists()) {
+ IWorkbenchPage workbenchPage = VpePlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage();
+ try {
+ IDE.openEditor(workbenchPage, file,true);
+ } catch (PartInitException e) {
+ VpePlugin.reportProblem(e);
+ }
+ }
+ }
+ /**
+ * Looks for file to open on each editor, for open on click
+ * @param pageContext
+ * @param sourceElement
+ * @return file, if file has been founded or null otherwise
+ */
+ private static IFile getFileForOpenOn(VpePageContext pageContext, Element sourceElement) {
+ IPath pathToFile = CustomTLDReference
+ .getCustomElementPath(sourceElement, pageContext);
+
+ IFile file =null;
+
+ if(pathToFile!=null) {
+ file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(
+ pathToFile);
+ }
+ //if we cann't find source file, then just open tld definition file
+ if(file==null || !file.exists()) {
+ pathToFile = CustomTLDReference.getCustomTLDPath(pageContext, sourceElement);
+ file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(
+ pathToFile);
+ }
+ return file;
+ }
+}
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java 2009-04-15 04:38:38 UTC (rev 14749)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeIncludeTemplate.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -113,7 +113,7 @@
return true;
}
- private VpeCreationData createInclude(Document sourceDocument, nsIDOMDocument visualDocument) {
+ protected VpeCreationData createInclude(Document sourceDocument, nsIDOMDocument visualDocument) {
nsIDOMElement visualNewElement = visualDocument.createElement(HTML.TAG_DIV);
VpeVisualDomBuilder.markIncludeElement(visualNewElement);
VpeCreationData creationData = new VpeCreationData(visualNewElement);
@@ -136,7 +136,7 @@
return creationData;
}
- private VpeCreationData createStub(String fileName, nsIDOMDocument visualDocument) {
+ protected VpeCreationData createStub(String fileName, nsIDOMDocument visualDocument) {
nsIDOMElement visualNewElement = visualDocument.createElement(HTML.TAG_DIV);
visualNewElement.setAttribute("style", "background-color:#ECF3FF;cursor:pointer;padding:0 5px;margin:3px 0;font-style:italic;color:#0051DD;");
VpeVisualDomBuilder.markIncludeElement(visualNewElement);
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java 2009-04-15 04:38:38 UTC (rev 14749)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpeTemplateManager.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -21,6 +21,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
+
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Platform;
@@ -29,6 +30,7 @@
import org.jboss.tools.jst.web.tld.TaglibData;
import org.jboss.tools.vpe.VpePlugin;
import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.template.custom.CustomTLDReference;
import org.jboss.tools.vpe.editor.template.textformating.TextFormatingData;
import org.jboss.tools.vpe.editor.util.HTML;
import org.jboss.tools.vpe.editor.util.XmlUtil;
@@ -257,6 +259,9 @@
private static final String ATTRIBUTE_TEMPLATE_NAME="attribute"; //$NON-NLS-1$
+ //mareshkau, contains a name of custom template
+ private static final String CUSTOM_TEMPLATE_NAME="vpeCustomTemplate"; //$NON-NLS-1$
+
/**
* added by Max Areshkau, JBIDE-1494
* Contains default text formating data
@@ -280,7 +285,6 @@
* so to render h:column we should load the specific class for h:column from richfaces template
*/
private static final String NAMESPACE_IDENTIFIER_ATTRIBUTE = "namespaceIdentifier"; //$NON-NLS-1$
-
private VpeTemplateManager() {
// singleton
@@ -368,10 +372,14 @@
}
String sourceNodeUri = sourceNodeTaglib.getUri();
+ if(sourceNodeUri!=null && CustomTLDReference.isExistInCustomTlds(pageContext,sourceNodeUri)){
+ return VpeTemplateManager.CUSTOM_TEMPLATE_NAME;
+ }
+
String templateTaglibPrefix = getTemplateTaglibPrefix(sourceNodeUri);
if(templateTaglibPrefix != null) {
- return templateTaglibPrefix + ":" + sourceNode.getLocalName(); //$NON-NLS-1$
+ return templateTaglibPrefix + ":" + sourceNode.getLocalName(); //$NON-NLS-1
}
return null;
default :
Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDData.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDData.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDData.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.editor.template.custom;
+
+import org.eclipse.core.runtime.IPath;
+
+/**
+ * Class which contains information about
+ * @author mareshkau
+ *
+ */
+public class CustomTLDData {
+
+ private IPath tldFilePath;
+ private String namespace;
+
+ /**
+ *
+ * @param tldFilePath
+ */
+ public CustomTLDData(IPath tldFilePath, String namespace) {
+ this.tldFilePath=tldFilePath;
+ this.namespace=namespace;
+ }
+
+ /**
+ * @return the tldFilePath
+ */
+ public IPath getTldFilePath() {
+ return this.tldFilePath;
+ }
+
+ /**
+ * @return the namespace
+ */
+ public String getNamespace() {
+ return this.namespace;
+ }
+
+}
Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDParser.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDParser.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDParser.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,107 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.editor.template.custom;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IPath;
+import org.jboss.tools.vpe.VpePlugin;
+import org.jboss.tools.vpe.editor.template.VpeCreatorUtil;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+
+/**
+ *
+ * Class which created for parsing custom class definitions
+ * @author mareshkau
+ *
+ */
+public class CustomTLDParser {
+
+ private static final String NAMESPACE="namespace"; //$NON-NLS-1$
+ private static final String TAG="tag"; //$NON-NLS-1$
+ private static final String TAG_NAME="tag-name"; //$NON-NLS-1$
+ private static final String SOURCE="source"; //$NON-NLS-1$
+
+ /**
+ * Looks for namespace, defined for custom template definition file
+ *
+ * @param absolute path for template definition file
+ * @return namespace element if such was founded or null otherwise
+ */
+ public static final String getNameSpace(IPath pathToFile){
+
+ IFile file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(pathToFile);
+ if(file!=null && file.exists()) {
+ Document document=null;
+ try {
+ document = VpeCreatorUtil.getDocumentForRead(file);
+ Element rootElement = document.getDocumentElement();
+ NodeList nodeList = rootElement.getElementsByTagName(NAMESPACE);
+ return nodeList.item(0).getFirstChild().getNodeValue();
+ } catch (Exception e) {
+ VpePlugin.reportProblem(e);
+ } finally {
+ if(document!=null) {
+ VpeCreatorUtil.releaseDocumentFromRead(document);
+ }
+ }
+ }
+ return null;
+ }
+ /**
+ * Looks for source value like in example bellow
+ <tag>
+ <tag-name>paginator</tag-name>
+ <source>components/paginator.xhtml</source>
+ </tag>
+ * @param pathToFile
+ * @param name of tag
+ * @return source value if exists or null otherwise
+ */
+ public static final String getSourceValuetInTag(IPath pathToFile, String name){
+ IFile file = ResourcesPlugin.getWorkspace().getRoot().getFileForLocation(pathToFile);
+ Document document=null;
+ if(file!=null &&file.exists()) {
+ try{
+ document= VpeCreatorUtil.getDocumentForRead(file);
+ Element rootElement = document.getDocumentElement();
+ NodeList nodeList = rootElement.getElementsByTagName(TAG);
+ for(int i=0;i<nodeList.getLength();i++) {
+ Node child = nodeList.item(i);
+ if(!(child instanceof Element)) {
+ continue;
+ }
+ NodeList tagsList =((Element)child).getElementsByTagName(TAG_NAME);
+ for(int j=0;j<tagsList.getLength();j++) {
+ if(name.equals(tagsList.item(j).getFirstChild().getNodeValue())){
+ NodeList sourceList =((Element)child).getElementsByTagName(SOURCE);
+ //no source element has been founded
+ if(sourceList.getLength()==0) {
+ return null;
+ }
+ return sourceList.item(0).getFirstChild().getNodeValue();
+ }
+ }
+ }
+
+ } finally {
+ if(document!=null) {
+ VpeCreatorUtil.releaseDocumentFromRead(document);
+ }
+ }
+ }
+ return null;
+ }
+}
Added: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDReference.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDReference.java (rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/custom/CustomTLDReference.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -0,0 +1,148 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2008 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is 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
+ *
+ * Contributor:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.vpe.editor.template.custom;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.IFileEditorInput;
+import org.jboss.tools.common.model.XModel;
+import org.jboss.tools.common.model.XModelObject;
+import org.jboss.tools.common.model.project.IModelNature;
+import org.jboss.tools.common.model.util.EclipseResourceUtil;
+import org.jboss.tools.jst.web.model.helpers.WebAppHelper;
+import org.jboss.tools.jst.web.tld.TaglibData;
+import org.jboss.tools.vpe.editor.context.VpePageContext;
+import org.jboss.tools.vpe.editor.util.VpeStyleUtil;
+import org.jboss.tools.vpe.editor.util.XmlUtil;
+import org.w3c.dom.Node;
+
+/**
+ * Class which contains information about custom taglibs Singleton
+ *
+ * @author mareshkau
+ *
+ */
+public class CustomTLDReference {
+
+ private static final String FACELETS_LIBS_PARAMETER = "facelets.LIBRARIES"; //$NON-NLS-1$
+
+ private static final String PARAM_VALUE = "param-value"; //$NON-NLS-1$
+
+ /**
+ * Returns absolute path to custom template file, if such exist or null otherwise
+ *
+ * @param sourceNode
+ * @return full path to custom template if exist or null if not exist
+ */
+ public static IPath getCustomElementPath(Node sourceNode,
+ VpePageContext pageContext) {
+ List<TaglibData> taglibs = XmlUtil.getTaglibsForNode(sourceNode,
+ pageContext);
+ TaglibData sourceNodeTaglib = XmlUtil.getTaglibForPrefix(sourceNode
+ .getPrefix(), taglibs);
+ String uri = sourceNodeTaglib.getUri();
+ CustomTLDData customTLDData = getCustomTLDDataMap(pageContext).get(uri);
+ if (customTLDData == null) {
+ return null;
+ }
+ IPath pathToSourceFile = (IPath) customTLDData.getTldFilePath();
+ pathToSourceFile = pathToSourceFile.removeLastSegments(1);
+ String sourceParamValue = CustomTLDParser.getSourceValuetInTag(
+ customTLDData.getTldFilePath(), sourceNode.getLocalName());
+ if (sourceParamValue == null) {
+ return null;
+ }
+ pathToSourceFile = pathToSourceFile.append(sourceParamValue);
+ return pathToSourceFile;
+ }
+ /**
+ *
+ * @param pageContext
+ * @param uri node namespace uri
+ * @return true if such template defined in facelets lib or falce if not defined
+ */
+ public static boolean isExistInCustomTlds(VpePageContext pageContext,
+ String uri) {
+ return getCustomTLDDataMap(pageContext).containsKey(uri);
+ }
+
+ /**
+ * Looks for taglibs library
+ * @param pageContext
+ * @param sourceNode node for which we look for taglib library
+ * @return path to taglibs, if such exists or null otherwise
+ */
+ public static IPath getCustomTLDPath(VpePageContext pageContext, Node sourceNode) {
+ List<TaglibData> taglibs = XmlUtil.getTaglibsForNode(sourceNode,
+ pageContext);
+ TaglibData sourceNodeTaglib = XmlUtil.getTaglibForPrefix(sourceNode
+ .getPrefix(), taglibs);
+ String uri = sourceNodeTaglib.getUri();
+ CustomTLDData customTLDData = getCustomTLDDataMap(pageContext).get(uri);
+ if(customTLDData!=null) {
+ return customTLDData.getTldFilePath();
+ }
+ return null;
+ }
+ /**
+ * Looks for custom taglib library map
+ * @return the customTLDDataMap
+ */
+ private static Map<String, CustomTLDData> getCustomTLDDataMap(
+ VpePageContext pageContext) {
+
+ Map<String, CustomTLDData> customTLDMap = new HashMap<String, CustomTLDData>();
+
+ IEditorInput iEditorInput = pageContext.getEditPart().getEditorInput();
+
+ if (iEditorInput instanceof IFileEditorInput) {
+
+ IFileEditorInput iFileEditorInput = (IFileEditorInput) iEditorInput;
+
+ IFile iFile = iFileEditorInput.getFile();
+
+ IProject project = iFile.getProject();
+ IModelNature nature = EclipseResourceUtil.getModelNature(project);
+ if (nature != null) {
+ XModel model = nature.getModel();
+ XModelObject webXML = WebAppHelper.getWebApp(model);
+ XModelObject param = WebAppHelper.findWebAppContextParam(
+ webXML, CustomTLDReference.FACELETS_LIBS_PARAMETER);
+ if (param != null) {
+ String value = param.getAttributeValue(PARAM_VALUE);
+ if (value != null) {
+ String[] libs = value.split(";");//$NON-NLS-1$
+ for (String faceletLib : libs) {
+ IPath rootPath = VpeStyleUtil
+ .getRootPath(iEditorInput);
+ IPath pathToCustonTld = new Path(faceletLib);
+ pathToCustonTld = rootPath.append(pathToCustonTld);
+ CustomTLDData customTLDData = new CustomTLDData(
+ pathToCustonTld, CustomTLDParser
+ .getNameSpace(pathToCustonTld));
+ if (customTLDData.getNamespace() != null) {
+ customTLDMap.put(customTLDData.getNamespace(),
+ customTLDData);
+ }
+ }
+ }
+ }
+ }
+ }
+ return customTLDMap;
+ }
+}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java 2009-04-15 04:38:38 UTC (rev 14749)
+++ trunk/vpe/tests/org.jboss.tools.vpe.ui.test/src/org/jboss/tools/vpe/ui/test/ComponentContentTest.java 2009-04-15 08:24:26 UTC (rev 14750)
@@ -86,7 +86,7 @@
// get document
Document xmlTestDocument = TestDomUtil.getDocument(xmlTestFile);
- assertNotNull(xmlTestDocument);
+ assertNotNull("Can't get test file, possibly file not exists "+xmlTestFile,xmlTestDocument); //$NON-NLS-1$
List<String> ids = TestDomUtil.getTestIds(xmlTestDocument);
@@ -116,7 +116,7 @@
// get element by id
nsIDOMElement vpeElement = findElementById(controller, elementId);
- assertNotNull(vpeElement);
+ assertNotNull("Cann't find element with id="+elementId,vpeElement); //$NON-NLS-1$
// DOMTreeDumper dumper = new DOMTreeDumper(
// VpeDebug.VISUAL_DUMP_PRINT_HASH);
[View Less]
15 years, 9 months
JBoss Tools SVN: r14749 - in trunk/smooks/plugins/org.jboss.tools.smooks.core: icons/full/ctool16 and 11 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2009-04-15 00:38:38 -0400 (Wed, 15 Apr 2009)
New Revision: 14749
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateCalcDocumentRoot_counter_Counter.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_direct_Direct.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_jNDI_DataSourceJndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.…
[View More]core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Counter.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_DataSourceJndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Direct.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/CalcDocumentRoot.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Counter.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceDocumentRoot.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceJndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Direct.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties
trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml
Log:
JBIDE-4171
Add new model of "datasource-1.1.xsd"
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateCalcDocumentRoot_counter_Counter.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateCalcDocumentRoot_counter_Counter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_direct_Direct.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_direct_Direct.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_jNDI_DataSourceJndi.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDataSourceDocumentRoot_jNDI_DataSourceJndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Counter.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Counter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_DataSourceJndi.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_DataSourceJndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Direct.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Direct.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/CalcDocumentRoot.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/CalcDocumentRoot.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Counter.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Counter.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceDocumentRoot.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceDocumentRoot.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceJndi.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/DataSourceJndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Direct.gif
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Direct.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,183 @@
+<?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="calc"
+ nsURI="http://www.milyn.org/xsd/smooks/calc-1.1.xsd" nsPrefix="calc">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Calculation Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EEnum" name="CountDirection">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			If the counter is executed after the element else it will execute before the element.
 			Default is 'false'.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection"/>
+ </eAnnotations>
+ <eLiterals name="INCREMENT">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		 			Count up.
		 		"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="DECREMENT" value="1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		 			Count down.
		 		"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="CountDirectionObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection:Object"/>
+ <details key="baseType" value="CountDirection"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Counter" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Counter
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="counter"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="startExpression" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The result of this expression is the counter start value.
								This expression is executed at the first count and every time the counter
								is reset. The expression must result in an integer or a long.
								If the startIndex attribute of the counter is set then this expression never gets
								executed.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="startExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="amountExpression" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The result of this expression is the amount the counter increments or decrements.
								This expression is executed every time the counter counts.
								The expression must result in an integer.
								If the amount attribute of the counter is set then this expression never gets
								executed.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="amountExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resetCondition" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								When the expression is set and results in a true value then the counter is reset to
								the start index. The expression must result in a boolean.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resetCondition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The amount that the counter increments or decrements the counter value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="amount"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The beanId in which the counter value is stored. The value is always stored
							as a Long type.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="countOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the counter counts.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="countOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the countOnElement element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="#//CountDirection"
+ defaultValueLiteral="INCREMENT" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The direction that the counter counts. Can be INCREMENT (default) or DECREMENT.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="direction"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeAfter" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			If the counter is executed after the element else it will execute before the element.
			 			Default is 'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeAfter"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="start" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The counter start value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="start"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CalcDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="counter" upperBound="-2"
+ eType="#//Counter" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				Counter configuration
				The counter can increment or decrement a value.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="counter"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/calc-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,16 @@
+<?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="common"
+ nsURI="http://www.jboss.org/smookstools" nsPrefix="common">
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractAnyType" abstract="true" eSuperTypes="http://www.eclipse.org/emf/2003/XMLType#//AnyType">
+ <eOperations name="getCDATA"/>
+ <eOperations name="setCDATA">
+ <eParameters name="cdata" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eOperations>
+ <eOperations name="getStringValue"/>
+ <eOperations name="setStringValue">
+ <eParameters name="stringValue" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"/>
+ </eOperations>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/common.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,116 @@
+<?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="csv"
+ nsURI="http://www.milyn.org/xsd/smooks/csv-1.1.xsd" nsPrefix="cvs">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks CSV Reader Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EDataType" name="Char" instanceClassName="java.lang.String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="char"/>
+ <details key="baseType" value="http://www.eclipse.org/emf/2003/XMLType#string"/>
+ <details key="length" value="1"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CsvDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader" upperBound="-2"
+ eType="#//CsvReader" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			CSV Reader Configuration
 		 	The CSV reader reads and validates a CSV stream and converts it to SAX events that Smooks
 		 	can process.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CsvReader" eSuperTypes="smooks-1.1.ecore#//AbstractReader">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="CSV Reader"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The encoding of the input stream. Default of 'UTF-8'
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fields" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						Comma separated list of CSV record field names
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="fields"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="quote" eType="#//Char"
+ defaultValueLiteral=""" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						Quote character. Default of '"'.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="quote"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="separator" eType="#//Char"
+ defaultValueLiteral="," unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						 Field separator character. Default of ','.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="separator"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="skipLines" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Integer"
+ defaultValueLiteral="0" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						Number of lines to skip before processing starts. Default of 0.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="skipLines"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/csv-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,191 @@
+<?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="datasource"
+ nsURI="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd" nsPrefix="ds">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Datasource Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="Direct" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Direct Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="direct"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							If the datasource should automaticly commit.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the datasource is bound. On the visitAfter
			 			of the element the connection does a Commit or Rollback depending
			 			if a exception got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bindOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the bindOnElement element
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="datasource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The reference name of the datasource. This name must be used
			 			to retrieve the datasource from the ExecutionContext.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driver" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The JDBC driver name
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="driver"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="password" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The password
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="password"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The JDBC URL
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="url"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="username" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The username
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="username"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataSourceDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="direct" upperBound="-2"
+ eType="#//Direct" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Direct datasource configuration
 			The direct datasource resource creates a connection to a datasource and
 			makes it available in the ExecutionContext. The datasource can then be used
 			by other cartridges to access the datasource.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="direct"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="jNDI" upperBound="-2" eType="#//DataSourceJndi"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			JNDI datasource configuration
 			The JNDI datasource resource retrieves a datasource from the JNDI and
 			makes it available in the ExecutionContext. The datasource can then be used
 			by other cartridges to access the datasource.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="JNDI"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataSourceJndi" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			JNDI Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Jndi"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							If the datasource should automaticly commit.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the datasource is bound. On the visitAfter
			 			of the element the connection does a Commit or Rollback depending
			 			if a exception got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="datasource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The reference name of the datasource. This name must be used
			 			to retrieve the datasource from the ExecutionContext.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/datasource-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,251 @@
+<?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="dbrouting"
+ nsURI="http://www.milyn.org/xsd/smooks/db-routing-1.1.xsd" nsPrefix="db">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks SQL Routing Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="DBRoutingDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="executor" upperBound="-2"
+ eType="#//Executor" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			SQL Executor configuration
 			The SQL Executor can be used to perform event driven read and write operations on a DataSource,
 			using data in the bean context as the query/update parameters.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="executor"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resultSetRowSelector" upperBound="-2"
+ eType="#//ResultSetRowSelector" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			ResultSet Row Selector configuration
 			The ResultSet row Selector can search though a resultset for a specific row.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resultSetRowSelector"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Executor" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			SQL Executor
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="executor"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="statement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The SQL statement to be executed. Supports templating in the form of ${variable}.
				 			The variables are resolved from the bean context.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="statement"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resultSet" eType="#//ResultSet"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			Sets the resultSet specific configuration like the resultSet name, scope and timeToLive.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resultSet"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="datasource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The name of the datasource configuration to use. See the datasource configuration
			 			of the Smooks core library.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			If the query is executed before the element else it will execute after the element.
			 			Default is 'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the query is executed. With the 'executeBefore'
			 			attribute can be set if the query is executed before or after the element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the executeOnElement element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResultSet">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSet"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				If the statement is a query statement then the ResultSet will be bound
	 			with this id in the ExecutionContext. Must be specified if the 'statement' is a query
	 			statement, otherwise it is optional.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="scope" eType="#//ResultSetScopeType"
+ defaultValueLiteral="EXECUTION" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				The scope on which the resultSet will be stored. The scope can be on a EXECUTION or
 				on a APPLICATION level. On a EXECUTION level the query is executed every time on the selected element.
 				On a APPLICATION level the query is only executed once for the
 				whole Smooks instance until the resultSet expires. With the 'timeToLive' attribute the expire time
 				can be configured. After the resultSet is expired the query will be executed again.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="scope"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeToLive" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
+ defaultValueLiteral="900000" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				If the 'scope' attribute is set to APPLICATION this attribute determines the expire time
 				in milliseconds of the resultSet. After the resultSet is expired the query will be executed again.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeToLive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResultSetRowSelector" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			ResultSet row selector
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSetRowSelector"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="where" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The MVEL condition to select the correct row.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="where"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="failedSelectError" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The error message that is thrown in org.milyn.routing.db.DataSelectionException
				 			exception when no row was found that matches the 'where' query.
				 			If the error message is not set then no exception will be thrown.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="failedSelectError"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The beanId under which the selected row will be added in the bean context.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						If the selection is done before or after the selected element. Default is 'false'.
						"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resultSetName" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The name of the resultSet to select the row from.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="resultSetName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="selectRowOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the row selection is executed.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="selectRowOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="ResultSetScopeType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSetScopeType"/>
+ </eAnnotations>
+ <eLiterals name="EXECUTION"/>
+ <eLiterals name="APPLICATION" value="1"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="ResultSetScopeTypeObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resultSetScopeType:Object"/>
+ <details key="baseType" value="resultSetScopeType"/>
+ </eAnnotations>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/db-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,79 @@
+<?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="edi"
+ nsURI="http://www.milyn.org/xsd/smooks/edi-1.1.xsd" nsPrefix="edi">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks EDI Reader Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="EDIDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader" upperBound="-2"
+ eType="#//EDIReader" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 		 	EDI Reader Configuration
 		 	The EDI reader reads and validates a EDI stream and converts it to SAX events that Smooks
 		 	can process.
 		 	A mapping is used to map the EDI segments and fields to a SAX event stream.
 		 	For more information about the mapping model take a look at the
 		 	"http://www.milyn.org/schema/edi-message-mapping-1.0.xsd" schema.
 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EDIReader" eSuperTypes="smooks-1.1.ecore#//AbstractReader">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="EDI Reader"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The character encoding. Default "UTF-8""/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mappingModel" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The URI of the EDI mapping model file of the EDI model.
			 		 	For more information about the mapping model take a
			 		 	look at the "http://www.milyn.org/schema/edi-message-mapping-1.0.xsd"
			 		 	schema.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mappingModel"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,281 @@
+<?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="medi"
+ nsURI="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd" nsPrefix="medi">
+ <eClassifiers xsi:type="ecore:EClass" name="Component" eSuperTypes="#//MappingNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Component"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="subComponent" upperBound="-1"
+ eType="#//SubComponent" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="sub-component"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="required"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="truncatable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="truncatable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Delimiters" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Delimiters"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="component" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="component"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="field" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="field"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="segment" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="segment"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="subComponent" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The delimiter attributes mark the boundary
					tokens between the EDI message parts - segment,
					field, component and sub-component.

					These boundary tokens may contain special
					characters (non-printable). These are defined
					using XML character references e.g. LF =
					"&amp;#10;"
				"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sub-component"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Description" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Description"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="version" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="version"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MediDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="edimap" upperBound="-2"
+ eType="#//EdiMap" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="edimap"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="EdiMap" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="EdiMap"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="description" lowerBound="1"
+ eType="#//Description" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="description"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="delimiters" lowerBound="1"
+ eType="#//Delimiters" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="delimiters"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="segments" lowerBound="1"
+ eType="#//Segments" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="segments"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Field" eSuperTypes="#//MappingNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Field"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="component" upperBound="-1"
+ eType="#//Component" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="component"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="required"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="truncatable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="truncatable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="MappingNode" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="MappingNode"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="xmltag" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmltag"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Segment" eSuperTypes="#//MappingNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Segment"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="field" lowerBound="1" upperBound="-1"
+ eType="#//Field" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="field"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="segment" upperBound="-1"
+ eType="#//Segment" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="segment"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="maxOccurs" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The maximum number of times the segment must appear in this
							position within the EDI message. For an unbounded max, set
							the maxOccurs value to -1.
						"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="maxOccurs"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="minOccurs" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The minimum number of times the segment must appear in this
							position within the EDI message.
						"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="minOccurs"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="segcode" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="segcode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="truncatable" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="truncatable"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Segments" eSuperTypes="#//MappingNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Segments"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="segment" lowerBound="1"
+ upperBound="-1" eType="#//Segment" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="segment"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SubComponent" eSuperTypes="#//MappingNode">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="SubComponent"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="required"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/edi-message-mapping-1.0.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,135 @@
+<?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="ext"
+ nsURI="http://www.jboss.org/jbosstools/smooks/smooks-graphics-ext.xsd" nsPrefix="ext">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Graphics
			Editor Extention File Schema
"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="SmooksGraphicalExtDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="input" upperBound="-2"
+ eType="#//InputType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="input"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-2"
+ eType="#//ParamType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="smooksGraphicsExt" upperBound="-2"
+ eType="#//SmooksGraphicsExtType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="smooks-graphics-ext"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="InputType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="input_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-1"
+ eType="#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParamType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="param_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SmooksGraphicsExtType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="smooks-graphics-ext_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="input" upperBound="-1"
+ eType="#//InputType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="input"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="inputType" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="inputType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="outputType" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputType"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/ext.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,189 @@
+<?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="fileRouting"
+ nsURI="http://www.milyn.org/xsd/smooks/file-routing-1.1.xsd" nsPrefix="file">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks file Routing Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="FileRoutingDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputStream" upperBound="-2"
+ eType="#//OutputStream" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			File output stream configuration
 			The file output stream creates and manages file output streams.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputStream"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FileRoutingHighWaterMark">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="highWaterMark"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mark" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="200" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 					The max number of output files in the destination directory at any time.
				"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mark"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="pollFrequency" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1000" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 					The number of milliseconds to wait between checks on the High Water Mark, while
 					waiting for it to drop.
				"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="pollFrequency"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeout" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="60000" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 					The number of milliseconds to wait for the system to process files in the destination
 					directory so that the number of files drops below the highWaterMark.
				"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeout"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="OutputStream" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			File output stream
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="outputStream"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="fileNamePattern" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The pattern that will be used to generate file names.
				 			The file is created in the directory defined by the 'destinationDirectoryPattern' element.
				 			Templating support is available via the FreeMarker template engine.
			 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="fileNamePattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="destinationDirectoryPattern"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The destination directory for files created by this router.
				 			Templating support is available via the FreeMarker template engine.
			 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="destinationDirectoryPattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="listFileNamePattern" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The name of the file that will contain the file names generated by this configuration.
				 			The file is created in the directory defined by the 'destinationDirectoryPattern' element.
			 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="listFileNamePattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="highWaterMark" eType="#//FileRoutingHighWaterMark"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			Sets the configuration for the max number of output files in the destination directory at any time.
			 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="highWaterMark"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="closeOnCondition" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			An MVEL expression. If it returns true then the output stream is closed on the visitAfter event
				 			else it is kept open. If the expression is not set then output stream is closed by default.
			 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="closeOnCondition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The encoding to be used by any writers on this resource. Default is 'UTF-8'.
						"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="openOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the output stream resource should be opened. If opened, the stream will be
 closed at the end of the same element (on the visitAfter). This behaviour can be overridden
 through the &lt;closeOnCondition&gt; element. In that case, the resource is only closed
 when the MVEL condition is met.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="openOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="openOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the openOnElement element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="openOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceName" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The name on which the output stream resource is referenced.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="resourceName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/file-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,243 @@
+<?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="freemarker"
+ nsURI="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd" nsPrefix="flt">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="FreeMarker Templating Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerBindTo" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Bind the templating result into the bean context under the specified "id". This makes the
 templating result available for routing or other operations.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="bindTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="freemarker" upperBound="-2"
+ eType="#//Freemarker" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 FreeMarker Templating Configuration.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="freemarker"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Freemarker" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 FreeMarker Templating Configuration Type.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="freemarker"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="template" lowerBound="1"
+ eType="#//FreemarkerTemplate" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="template"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="use" eType="#//FreemarkerUse"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="use"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-1"
+ eType="ecore:EClass smooks-1.1.ecore#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applyBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Apply the template before visiting the elements child content.<p/>Default is 'false'.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applyOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The name of the element on which the template is to be applied.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applyOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The namespace of the element on which the template is to be applied.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerInline" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Inline the templating result into the <b>Smooks.filter</b> Result message.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inline"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="directive" lowerBound="1"
+ eType="#//FreemarkerInlineDirective" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 How the templating result is to be used (relative to the element on which it
 is applied).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="directive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="FreemarkerInlineDirective">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective"/>
+ </eAnnotations>
+ <eLiterals name="addto"/>
+ <eLiterals name="replace" value="1"/>
+ <eLiterals name="insertbefore" value="2"/>
+ <eLiterals name="insertafter" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="FreemarkerInlineDirectiveObject"
+ instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective:Object"/>
+ <details key="baseType" value="inlineDirective"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerOutputTo" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Output the templating result to a named OutputStreamResource.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="outputTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="outputStreamResource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The name of the "outputStreamResource" to which the templating result is to be written. By default,
 the templating result is written to the Smooks.filter result if (if a StreamResult is provided).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputStreamResource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerTemplate" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The FreeMarker Template.
 <p/>
 This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="template"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Template character encodng.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FreemarkerUse" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The &lt;use&gt; element allows you to define how the templating result is to be used.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="use"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inline" eType="#//FreemarkerInline"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inline"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindTo" eType="#//FreemarkerBindTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="bindTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputTo" eType="#//FreemarkerOutputTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/freemarker-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,127 @@
+<?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="groovy"
+ nsURI="http://www.milyn.org/xsd/smooks/groovy-1.1.xsd" nsPrefix="g">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Groovy Scripting Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="GroovyDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="groovy" upperBound="-2"
+ eType="#//Groovy" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Groovy Script.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="groovy"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="script" upperBound="-2"
+ eType="#//ScriptType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Groovy" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Groovy Script.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="groovy"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="imports" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="imports"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-1"
+ eType="ecore:EClass smooks-1.1.ecore#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="script" lowerBound="1"
+ eType="#//ScriptType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="script"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Execute the script before visiting the elements child content. Default is 'false'.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The name of the element on which to execute the script.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The namespace of the element on which to execute the script.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ScriptType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="script_._type"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/groovy-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,116 @@
+<?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="iorouting"
+ nsURI="http://www.milyn.org/xsd/smooks/io-routing-1.1.xsd" nsPrefix="io">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks IO Routing Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="IODocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="router" upperBound="-2"
+ eType="#//IORouter" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="router"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="IORouter" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Output stream router
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="router"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The beanId of the bean from the bean context to be written to the OutputStream.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			 The encoding used when writing characters to the stream. Default is 'UTF-8'
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			If the routing is done before or after the selected element. Default is 'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resourceName" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The resource name of the AbstractOutputStreamResource the bean should be routed to.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="resourceName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="routeOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element to route on.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="routeOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the routeOnElement element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/io-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,390 @@
+<?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="javabean"
+ nsURI="http://www.milyn.org/xsd/smooks/javabean-1.1.xsd" nsPrefix="jb">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Java Binding Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="BindingsType" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="bindings_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="group" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="value" upperBound="-1"
+ eType="#//ValueType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
	 Basic "value" based binding configuration.
	 <p/>
	 This binding type is used to bind data from the source message event stream.
	 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="value"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="#group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="wiring" upperBound="-1"
+ eType="#//WiringType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Wiring based binding configuration.
 			<p/>
 			This binding type is used to "wire" beans together.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="wiring"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="#group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression" upperBound="-1"
+ eType="#//ExpressionType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Expression based Configuration"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="#group:2"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The ID under which the created bean is
 to be bound in the bean context.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="class" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The fully qualified bean Class name.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="class"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="createOnElement" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The Source data event stream element
 						event to use to control the timing of
 						the creating.
 						<p/>
 						Think of this as the element path (in
 						the Source data) used to control
 						creation of the bean instance(s).
 						<h3>Example</h3>
 						If this attribute value is set to
 						"order/orderItem", an instance of the
 						class (specified in the "class"
 						attribute) will be created when an
 						element event!
for the element
 						"orderItem" (with a parent element of
 						"order") is encountered in the Source
 						data event stream. The created bean
 						instance will then be bound into the
 						bean context under the specified
 						"beanId".
 						<p/>
 						If the createOnElement is not set then
 						no bean will be created. The existing
 						bean in the bean context will be used to
 						do the value binding, expression binding
 						and the object wiring on.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="createOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="createOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						Namespace control for the
 						"createOnElement" attribute.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="createOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="extendLifecycle" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						Defines if this bindings bean wiring may still wire
 						beans after the element is processed. This enables
 						flat XML support.
 						The default value can be set with the global-parameter 'bean-population.default.extend.lifecycle'.
 						Default the value is 'false'.
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="extendLifecycle"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DecodeParamType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="decodeParam_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The name of the parameter."/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JavabeanDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindings" upperBound="-2"
+ eType="#//BindingsType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				Javabean Bindings Configuration.
				<h3>Bean Instance Creation</h3>
				Instances of the class specified in the
				"class" attribute are created and bound into
				the bean context under the ID specified by
				the "beanId" attribute. The bean instance is
				created (and bound) when the element event
				specified in the "createOnElement" attribute
				is encountered in the Source data event
				stream (see also "createOnElementNS").
				<h3>Bean Property/Member Population</h3>
				Bean property/member population is
				controlled by the binding sub-elements
				nested inside this element. Use you!
r IDE to
				discover these elements.
			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="bindings"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="decodeParam" upperBound="-2"
+ eType="#//DecodeParamType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Data Decode Parameter.
 <p/>
 Some decoders may require parameters in order to complete the decoding process e.g. the
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/de...>DateDecoder</a>.
 These parameters can be specified by adding &lt;decodeParam&gt; sub-elements to the &lt;value&gt;
 binding element. Review the Decoder's Javadoc for details of the custom parameters.
 <p/>
 <u>Example:</u>
<pre>
&lt;jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/de...>Date</a>"&gt;
 &lt;jb:decodeParam name="format"&gt!
;EEE MMM dd HH:mm:ss z yyyy&lt;/jb:decodeParam&gt;
 &lt;jb:decodeParam name="locale-language"&gt;en&lt;/jb:decodeParam&gt;
 &lt;jb:decodeParam name="locale-country"&gt;IE&lt;/jb:decodeParam&gt;
&lt;/jb:value&gt;
</pre>
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="decodeParam"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="expression" upperBound="-2"
+ eType="#//ExpressionType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Expression based Configuration"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="expression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="value" upperBound="-2"
+ eType="#//ValueType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
	 Basic "value" based binding configuration.
	 <p/>
	 This binding type is used to bind data from the source message event stream.
	 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="value"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="wiring" upperBound="-2"
+ eType="#//WiringType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Wiring based binding configuration.
 			<p/>
 			This binding type is used to "wire" beans together.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="wiring"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ExpressionType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="expression_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="execOnElement" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The Source data event stream element event to use to control the execution of the expression
 and binding of the result.
 <p/>
 Think of this as the element path (in the Source data) used to control execution of the
 expression.
 <h3>Example</h3>
 If this attribute value is set to "order/orderItem", the expression will be executed (and
 the result bound to the target property) when an "end" element event ("visitAfter")
 for the element "orderItem" (with a parent element of "order") is encountered in the
 Source data event strea!
m.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="execOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="execOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Namespace control for the "execOnElement" attribute.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="execOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="property" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The class property to which the expression evaluation result
 is to be bound. Not needed when binding to a Collection.
 <p/>
 The property attribute does not need to be specified when the "class" type on the parent "bindings" element
 is a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case of Map, the
 element name (from the element specified in the "data" attribute) is used.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="property"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="setterMethod" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		 				The class method which is called to bind the data
		 				to the object. Not needed when binding to a Collection.
		 				<p/>
 The setterMethod attribute does not need to be specified when the "class" type on the parent "bindings" element
 is a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case of Map, the
 element name (from the element specified in the "data" attribute) is used.
		 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="setterMethod"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ValueType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="value_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="decodeParam" upperBound="-1"
+ eType="#//DecodeParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Data Decode Parameter.
 <p/>
 Some decoders may require parameters in order to complete the decoding process e.g. the
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/de...>DateDecoder</a>.
 These parameters can be specified by adding &lt;decodeParam&gt; sub-elements to the &lt;value&gt;
 binding element. Review the Decoder's Javadoc for details of the custom parameters.
 <p/>
 <u>Example:</u>
<pre>
&lt;jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/de...>Date</a>"&gt;
 &lt;jb:decodeParam name="format"&gt!
;EEE MMM dd HH:mm:ss z yyyy&lt;/jb:decodeParam&gt;
 &lt;jb:decodeParam name="locale-language"&gt;en&lt;/jb:decodeParam&gt;
 &lt;jb:decodeParam name="locale-country"&gt;IE&lt;/jb:decodeParam&gt;
&lt;/jb:value&gt;
</pre>
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="decodeParam"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="data" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The Source data event stream element event defining the data to be bound.
 <p/>
 Think of this as the element path (in the Source data) to the data.
 <h3>Examples</h3>
 <ul>
 <li>
 <b>Element Text Data:</b>
 "order/orderid"
 </li>
 <li>
 <b>Element Attribute Data:</b>
 "order/header/@date"
 </li>
 </ul>
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="data"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="dataNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The namespace for the "data" selector (see "data" attribute).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="dataNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="decoder" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Data Decoder.
 <p/>
 This attribute specifies the
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/Da...>DataDecoder</a>
 to be used to decode the data (see "data" attribute) before setting it on the target bean
 property(see "property" attribute).
 <p/>
 Smooks contains decoders for all of the main data types (Long, Integer etc). In these cases,
 just specify the decoder as being "Long", "Integer", "Date" etc i.e. no need to specify the fully qualified
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/Da...>DataDeco!
der</a>
 class name. The fully qualified class name is only required for custom
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/Da...>DataDecoder</a>
 implementations.

 <h3>Primitive Types</h3>
 Smooks does not define special decoders for any of the primitive types. To decode a
 primitive property type, just specify the Object equivalent decoder e.g. specify "Integer" for "int",
 "Double" for "double" etc etc.

 <h3>Decode Parameters</h3>
 Some decoders may require parameters in order to complete the decoding process e.g. the
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/jav!
abean/decoders/DateDecoder.html">DateDecoder</a>.

These parameters can be specified by adding &lt;decodeParam&gt; sub-elements to the &lt;value&gt;
 binding element. Review the Decoder's Javadoc for details of the custom parameters.
 <p/>
 <u>Example:</u>
<pre>
 &lt;jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/de...>Date</a>"&gt;
 &lt;jb:decodeParam name="format"&gt;EEE MMM dd HH:mm:ss z yyyy&lt;/jb:decodeParam&gt;
 &lt;jb:decodeParam name="locale-language"&gt;en&lt;/jb:decodeParam&gt;
 &lt;jb:decodeParam name="locale-country"&gt;IE&lt;/jb:decodeParam&gt;
 &lt;/jb:value&gt;
</pre>

 !
<h3>Custom Data Decoding</h3>
 For custom data decoding, implement the
 <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/Da...>
 DataDecoder
 </a>
 interface and specify the decoder using the fully qualified class name of the new
 implementation.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="decoder"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="default" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The default data value, where a null/empty data String is returned
 for the data element.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="property" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="The class property to which the decoded data is to be bound.
 <p/>
 The property attribute does not need to be specified when the "class" type on the parent "bindings" element
 is a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case of Map, the
 element name (from the element specified in the "data" attribute) is used.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="property"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="setterMethod" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				The class method which is called to bind the data
 				to the object. Not needed when binding to a Collection.
 				<p/>
 The setterMethod attribute does not need to be specified when the "class" type on the parent "bindings" element
 is a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case of Map, the
 element name (from the element specified in the "data" attribute) is used.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="setterMethod"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="WiringType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="wiring_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanIdRef" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				The beanId of the bean to be wired into the
 				specified bean "property" (or List).
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanIdRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="property" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				The class property to which the bean (specified
 				by "beanIdRef") is to be bound.
 				<p/>
 				The property attribute does not need to be
 				specified when the "class" type on the parent
 				"bindings" element is a List/Array or Map. In
 				the case of a List/Array, the bean is simply
 				added. In the case of Map, the element name
 				(from the element specified in the "data"
 				attribute) is used.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="property"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="setterMethod" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				The class method which is called to bind the data
 				to the object. Not needed when binding to a Collection.
 				<p/>
 The setterMethod attribute does not need to be specified when the "class" type on the parent "bindings" element
 is a List/Array or Map. In the case of a List/Array, the bean is simply added. In the case of Map, the
 element name (from the element specified in the "data" attribute) is used.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="setterMethod"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="wireOnElement" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				The Source data event stream element event to
 				use to control when the bean needs to be wired
 				or when the cartridge needs to register a
 				listener for the bean to be wired.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="wireOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="wireOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 				Namespace control for the "wireOnElement"
 				attribute.
 			"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="wireOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/javabean-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,449 @@
+<?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="jmsrouting"
+ nsURI="http://www.milyn.org/xsd/smooks/jms-routing-1.1.xsd" nsPrefix="jms">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks JMS Routing Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EEnum" name="AcknowledgeMode">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The possible JMS acknowledge modes
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="acknowledgeMode"/>
+ </eAnnotations>
+ <eLiterals name="AUTOACKNOWLEDGE" literal="AUTO_ACKNOWLEDGE">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						With this acknowledgement mode, the session automatically acknowledges a client's receipt of a
						message when it has either successfully returned from a call to receive or the message listener
						it has called to process the message successfully returns.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="CLIENTACKNOWLEDGE" value="1" literal="CLIENT_ACKNOWLEDGE">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						With this acknowledgement mode, the client acknowledges a message by calling a message's acknowledge method.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="DUPSOKACKNOWLEDGE" value="2" literal="DUPS_OK_ACKNOWLEDGE">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						This acknowledgement mode instructs the session to lazily acknowledge the delivery of messages.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="AcknowledgeModeObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="acknowledgeMode:Object"/>
+ <details key="baseType" value="acknowledgeMode"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Connection">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The JMS connection configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="connection"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="factory" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="ConnectionFactory" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The ConnectionFactory to look up
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="factory"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="securityCredential" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The security credentials to use when creating the JMS connection.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="securityCredential"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="securityPrincipal" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The security principal use when creating the JMS connection.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="securityPrincipal"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="DeliveryMode">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The possible JMS delivery modes.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="deliveryMode"/>
+ </eAnnotations>
+ <eLiterals name="persistent">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						This mode instructs the JMS provider to log the message to stable storage as part of the client's send operation.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="nonPersistent" value="1" literal="non-persistent">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						This is the lowest overhead delivery mode because it does not require that the message be logged to stable storage.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="DeliveryModeObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="deliveryMode:Object"/>
+ <details key="baseType" value="deliveryMode"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JmsDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="router" upperBound="-2"
+ eType="#//JmsRouter" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
	 			JMS router configuration
 			The JMS router routes messages to a JMS destination (Queue or Topic).
 			The message payload is created from a bean out of the bean context. It is possible
 			to send Text or Object messages. The correlation id can be generated out of a FreeMarker
 			template.
	 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="router"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JmsHighWaterMark">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The configuration for the max number of messages that can be sitting in the
				JMS Destination at any any time.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="highWaterMark"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mark" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="200" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The max number of messages that can be sitting in the JMS Destination at any any time. Default is 200.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="mark"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="pollFrequency" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="1000" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The number of milliseconds to wait between checks on the High Water Mark, while waiting for it to drop.
					Default is 1000 ms.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="pollFrequency"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeout" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="60000" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The number of milliseconds to wait for the system to process JMS Messages from the JMS destination so that the
					number of JMS Messages drops below the highWaterMark. Default is 60000 ms.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeout"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JmsJndi">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The JNDI configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="jndi"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="contextFactory" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="org.jnp.interfaces.NamingContextFactory" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The JNDI ContextFactory to use
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="contextFactory"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="namingFactory" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="org.jboss.naming:java.naming.factory.url.pkgs" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The JNDI NamingFactory to use
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="namingFactory"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="providerUrl" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="jnp://localhost:1099" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The JNDI Provider URL to use.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="providerUrl"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Message">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The message configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="message"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="correlationIdPattern" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						JMS Correlation pattern that will be used for the outgoing message.
						Templating support is available via the FreeMarker template engine.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="correlationIdPattern"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="deliveryMode" eType="#//DeliveryMode"
+ defaultValueLiteral="persistent" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The JMS DeliveryMode. 'persistent'(default) or 'non-persistent'.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="deliveryMode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="priority" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ defaultValueLiteral="4" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The JMS Priority to be used
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="priority"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="timeToLive" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
+ defaultValueLiteral="0" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The JMS Time-To-Live to be used.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="timeToLive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//MessageType"
+ defaultValueLiteral="TextMessage" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The type of JMS Message that should be sent. 'TextMessage'(default) or 'ObjectMessage'.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="MessageType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The possible JMS message types.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="messageType"/>
+ </eAnnotations>
+ <eLiterals name="TextMessage">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						A TextMessage is used to send a message containing a java.lang.String.
						To retrieve the string the cartridge calls the 'toString()' method of the target bean.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="ObjectMessage" value="1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						An ObjectMessage is used to send a message that contains a serializable Java object.
						Only Serializable Java objects can be used.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="MapMessage" value="2">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
						A MapMessage is used to send a set of name-value pairs where names are Strings and values are Java primitive types or Strings.
						Only Map Java objects can be used.
						For the keys of the map the 'toString()' method is called to retrieve the String representation.
						Objects that aren't primitive types or Strings get the toString() method called to return the String representation.
 				"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="MessageTypeObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="messageType:Object"/>
+ <details key="baseType" value="messageType"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JmsRouter" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			JMS Router
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="router"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="message" eType="#//Message"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The message configuration.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="message"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="connection" eType="#//Connection"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The JMS connection configuration.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="connection"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="session" eType="#//Session"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The JMS session configuration.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="session"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="jndi" eType="#//JmsJndi"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The JNDI configuration.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="jndi"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="highWaterMark" eType="#//JmsHighWaterMark"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The configuration for the max number of messages that can be sitting in the
								JMS Destination at any any time.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="highWaterMark"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The beanId of the bean from the bean context to be used as message payload.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="destination" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The JMS destination string
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="destination"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							If the routing is done before or after the selected element. Default is 'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="routeOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The element to route on.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="routeOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the routeOnElement element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="routeOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Session">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				The JMS session configuration.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="session"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="acknowledgeMode" eType="#//AcknowledgeMode"
+ defaultValueLiteral="AUTO_ACKNOWLEDGE" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					The acknowledge mode to use. One of 'AUTO_ACKNOWLEDGE'(default), 'CLIENT_ACKNOWLEDGE', 'DUPS_OK_ACKNOWLEDGE'.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="acknowledgeMode"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="transacted" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
					Determines if the session should be transacted. Defaults to 'false'.
		 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="transacted"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/jms-routing-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,186 @@
+<?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="json"
+ nsURI="http://www.milyn.org/xsd/smooks/json-1.1.xsd" nsPrefix="json">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks JSON Reader Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="JsonDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader" upperBound="-2"
+ eType="#//JsonReader" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			JSON Reader Configuration
 		 	The JSON reader reads a JSON stream and converts it to SAX events that Smooks
 		 	can process.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-reader"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Key">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="key"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="from" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The name of the key that will be replaced.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="from"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="to" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The name the "from" key name is changed into.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="to"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="KeyMap">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="keyMap"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="key" lowerBound="1" upperBound="-1"
+ eType="#//Key" containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	Defines a JSON element name mapping
			 		 	The "from" key will be replaced with the "to" key or the contents of this element.
		 		 	"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="key"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="JsonReader" eSuperTypes="smooks-1.1.ecore#//AbstractReader">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="JSON Reader"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="keyMap" eType="#//KeyMap"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 		 	Defines a JSON element name mapping
				 		 	The "from" key will be replaced with the "to" key or the contents of the element.
				 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="keyMap"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="arrayElementName" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="element" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The element name of a array element. Default of 'element'.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="arrayElementName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The encoding of the input stream. Default of 'UTF-8'
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="illegalElementNameCharReplacement"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	If illegal characters are encountered in a JSON element name then they are replaced with this value.
			 		 	By default this is not defined, so that the reader doesn't doesn't search for illegal characters.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="illegalElementNameCharReplacement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="keyPrefixOnNumeric" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The prefix character to add if the JSON node name starts with a number.
			 		 	By default this is not defined, so that the reader doesn't search for element names that start with a number.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="keyPrefixOnNumeric"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="keyWhitspaceReplacement"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The replacement character for whitespaces in a JSON map key.
			 		 	By default this not defined, so that the reader doesn't search for whitespaces.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="keyWhitspaceReplacement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="nullValueReplacement" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The replacement string for JSON NULL values. Default is an empty string.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="nullValueReplacement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="rootName" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="json" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 		 	The element name of the document root. Default of 'json'.
			 		 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="rootName"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/json-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,707 @@
+<?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="smooks"
+ nsURI="http://www.milyn.org/xsd/smooks-1.1.xsd" nsPrefix="smooks">
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractReader" abstract="true" eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="abstract-reader"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetProfile" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetProfile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="AbstractResourceConfig" abstract="true"
+ eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="abstract-resource-config"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConditionsType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Conditions List."/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="conditions_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="condition" lowerBound="1"
+ upperBound="-1" eType="#//ConditionType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ConditionType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource Targetting Condition"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="condition_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="evaluator" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="org.milyn.javabean.expression.BeanMapExpressionEvaluator"
+ unsettable="true">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="evaluator"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="idRef" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="idRef"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Smooks11DocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="abstractReader" upperBound="-2"
+ eType="#//AbstractReader" changeable="false" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="abstractResourceConfig"
+ upperBound="-2" eType="#//AbstractResourceConfig" changeable="false" volatile="true"
+ transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-resource-config"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="condition" upperBound="-2"
+ eType="#//ConditionType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conditions" upperBound="-2"
+ eType="#//ConditionsType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conditions"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="elementVisitor" upperBound="-2"
+ eType="#//ElementVisitor" changeable="false" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="element-visitor"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="features" upperBound="-2"
+ eType="#//FeaturesType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="features"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="handler" upperBound="-2"
+ eType="#//HandlerType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handler"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="handlers" upperBound="-2"
+ eType="#//HandlersType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handlers"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="import" upperBound="-2"
+ eType="#//ImportType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="import"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-2"
+ eType="#//ParamType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="params" upperBound="-2"
+ eType="#//ParamsType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="params"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="profile" upperBound="-2"
+ eType="#//ProfileType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profile"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="profiles" upperBound="-2"
+ eType="#//ProfilesType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profiles"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="reader" upperBound="-2"
+ eType="#//ReaderType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="abstract-reader"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resource" upperBound="-2"
+ eType="#//ResourceType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resourceConfig" upperBound="-2"
+ eType="#//ResourceConfigType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource-config"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOff" upperBound="-2"
+ eType="#//SetOffType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOff"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOn" upperBound="-2"
+ eType="#//SetOnType" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOn"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="smooksResourceList" upperBound="-2"
+ eType="#//SmooksResourceListType" volatile="true" transient="true" derived="true"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="smooks-resource-list"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ElementVisitor" abstract="true" eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Element Visitor Resource Type"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="element-visitor"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//ConditionType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetProfile" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						Defines the target profile
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="targetProfile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="FeaturesType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Reader Features List"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="features_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOn" upperBound="-1"
+ eType="#//SetOnType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOn"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="setOff" upperBound="-1"
+ eType="#//SetOffType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="setOff"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HandlersType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Reader Handler Classes.
 <p/>
 Set a handler on the reader instance e.g. an EntityResolver, ErrorHandler etc.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="handlers_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="handler" lowerBound="1"
+ upperBound="-1" eType="#//HandlerType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handler"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="HandlerType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Handler class name.
 <p/>
 This is the Handler class name e.g. an EntityResolver, ErrorHandler implementation etc.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="handler_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="class" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="class"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ImportType" eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Resource Configuration Import"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="import_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-1"
+ eType="#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="file" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="file"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParamsType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource Parameters"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="params_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" lowerBound="1" upperBound="-1"
+ eType="#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ParamType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource Parameter"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="param_._type"/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="name"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ProfilesType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="List of Profiles"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="profiles_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="profile" lowerBound="1"
+ upperBound="-1" eType="#//ProfileType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profile"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ProfileType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Profile Configuration. Basically allows you to specify the name of a
 base profile along with a list of its sub-profiles.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="profile_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="baseProfile" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="base-profile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="subProfiles" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="sub-profiles"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ReaderType" eSuperTypes="#//AbstractReader">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Stream Reader"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="reader_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="handlers" eType="#//HandlersType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="handlers"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="features" eType="#//FeaturesType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="features"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="params" eType="#//ParamsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="params"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="class" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="class"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceConfigType" eSuperTypes="#//AbstractResourceConfig">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Resource Configuration"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resource-config_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="resource" eType="#//ResourceType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resource"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="condition" eType="#//ConditionType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="condition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-1"
+ eType="#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="selector" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="selector"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="selectorNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="selector-namespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="targetProfile" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="target-profile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="ResourceType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Resource Configuration Resource Type (xsl, class etc)"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="resource_._type"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="type"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SetOffType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Set Reader Feature 'Off'"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="setOff_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="feature" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="feature"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SetOnType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Set Reader Feature 'On'"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="setOn_._type"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="feature" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="feature"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SmooksResourceListType" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="List of Smooks Resource Configuration."/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="smooks-resource-list_._type"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="params" eType="#//ParamsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="params"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="conditions" eType="#//ConditionsType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="conditions"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="profiles" eType="#//ProfilesType"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="profiles"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstractReaderGroup" unique="false"
+ upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="abstract-reader:group"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="abstractReader" upperBound="-1"
+ eType="#//AbstractReader" changeable="false" volatile="true" transient="true"
+ derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-reader"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="abstract-reader:group"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="abstractResourceConfigGroup"
+ unique="false" upperBound="-1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="group"/>
+ <details key="name" value="abstract-resource-config:group"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="abstractResourceConfig"
+ upperBound="-1" eType="#//AbstractResourceConfig" changeable="false" volatile="true"
+ transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="abstract-resource-config"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="group" value="abstract-resource-config:group"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultConditionRef" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-condition-ref"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultSelector" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-selector"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultSelectorNamespace"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-selector-namespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="defaultTargetProfile" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="default-target-profile"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,628 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.jboss.tools.smooks.core/src"
+ editDirectory="/org.jboss.tools.smooks.core/src" modelPluginID="org.jboss.tools.smooks.core"
+ modelName="Smooks-1-1" testsDirectory="/org.jboss.tools.smooks.core/test_src"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>smooks-1.1.ecore</foreignModel>
+ <foreignModel>calc-1.1.ecore</foreignModel>
+ <foreignModel>common.ecore</foreignModel>
+ <foreignModel>csv-1.1.ecore</foreignModel>
+ <foreignModel>datasource-1.1.ecore</foreignModel>
+ <foreignModel>db-routing-1.1.ecore</foreignModel>
+ <foreignModel>edi-1.1.ecore</foreignModel>
+ <foreignModel>edi-message-mapping-1.0.ecore</foreignModel>
+ <foreignModel>ext.ecore</foreignModel>
+ <foreignModel>file-routing-1.1.ecore</foreignModel>
+ <foreignModel>freemarker-1.1.ecore</foreignModel>
+ <foreignModel>groovy-1.1.ecore</foreignModel>
+ <foreignModel>io-routing-1.1.ecore</foreignModel>
+ <foreignModel>javabean-1.1.ecore</foreignModel>
+ <foreignModel>jms-routing-1.1.ecore</foreignModel>
+ <foreignModel>json-1.1.ecore</foreignModel>
+ <foreignModel>xsl-1.1.ecore</foreignModel>
+ <genPackages prefix="Smooks" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//Smooks11DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//Smooks11DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/handler"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/import"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/profile"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/reader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Calc" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="calc-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="calc-1.1.ecore#//CountDirection">
+ <genEnumLiterals ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/INCREMENT"/>
+ <genEnumLiterals ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/DECREMENT"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="calc-1.1.ecore#//CountDirectionObject"/>
+ <genClasses ecoreClass="calc-1.1.ecore#//Counter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/startExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/amountExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/resetCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/amount"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/countOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/countOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/executeAfter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/start"/>
+ </genClasses>
+ <genClasses ecoreClass="calc-1.1.ecore#//CalcDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//CalcDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/counter"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="common.ecore#/">
+ <genClasses image="false" ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Csv" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="csv-1.1.ecore#/">
+ <genDataTypes ecoreDataType="csv-1.1.ecore#//Char"/>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference csv-1.1.ecore#//CsvDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference csv-1.1.ecore#//CsvDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference csv-1.1.ecore#//CsvDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/fields"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/quote"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/separator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/skipLines"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Datasource" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="datasource-1.1.ecore#/">
+ <genClasses ecoreClass="datasource-1.1.ecore#//Direct">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/bindOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/driver"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/password"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/url"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/username"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/direct"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/jNDI"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/datasource"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Dbrouting" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="db-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="db-routing-1.1.ecore#//ResultSetScopeType">
+ <genEnumLiterals ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/EXECUTION"/>
+ <genEnumLiterals ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/APPLICATION"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="db-routing-1.1.ecore#//ResultSetScopeTypeObject"/>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//DBRoutingDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//DBRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/executor"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/resultSetRowSelector"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//Executor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/statement"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//Executor/resultSet"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//ResultSet">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSet/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSet/scope"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSet/timeToLive"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//ResultSetRowSelector">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/where"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/failedSelectError"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/resultSetName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/selectRowOnElement"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Edi" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="edi-1.1.ecore#/">
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute edi-1.1.ecore#//EDIDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-1.1.ecore#//EDIDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-1.1.ecore#//EDIDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-1.1.ecore#//EDIDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-1.1.ecore#//EDIReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-1.1.ecore#//EDIReader/mappingModel"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Medi" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="edi-message-mapping-1.0.ecore#/">
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Component">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Component/subComponent"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Component/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Component/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Delimiters">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/field"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/subComponent"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Description">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Description/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Description/version"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//MediDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//MediDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//MediDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//MediDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//MediDocumentRoot/edimap"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//EdiMap">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//EdiMap/description"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//EdiMap/delimiters"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//EdiMap/segments"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Field">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Field/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Field/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Field/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//MappingNode">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//MappingNode/xmltag"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segment">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Segment/field"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Segment/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/maxOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/minOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/segcode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segments">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Segments/segment"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//SubComponent">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//SubComponent/required"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Ext" basePackage="org.jboss.tools.smooks.model.graphics" resource="XML"
+ disposableProviderFactory="true" ecorePackage="ext.ecore#/">
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicalExtDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//SmooksGraphicalExtDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/input"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/smooksGraphicsExt"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//InputType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//InputType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//InputType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//ParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicsExtType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicsExtType/input"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//SmooksGraphicsExtType/inputType"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//SmooksGraphicsExtType/outputType"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="FileRouting" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="file-routing-1.1.ecore#/">
+ <genClasses ecoreClass="file-routing-1.1.ecore#//FileRoutingDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//FileRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//FileRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//FileRoutingDocumentRoot/outputStream"/>
+ </genClasses>
+ <genClasses ecoreClass="file-routing-1.1.ecore#//FileRoutingHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="file-routing-1.1.ecore#//OutputStream">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/fileNamePattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/destinationDirectoryPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/listFileNamePattern"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//OutputStream/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/closeOnCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/openOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/openOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/resourceName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Freemarker" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="freemarker-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="freemarker-1.1.ecore#//FreemarkerInlineDirective">
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/addto"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/replace"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertbefore"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="freemarker-1.1.ecore#//FreemarkerInlineDirectiveObject"/>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerBindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerDocumentRoot/freemarker"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//Freemarker">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Freemarker/template"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Freemarker/use"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Freemarker/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Freemarker/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Freemarker/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Freemarker/applyOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerUse">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerUse/inline"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerUse/bindTo"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerUse/outputTo"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Groovy" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="groovy-1.1.ecore#/">
+ <genClasses ecoreClass="groovy-1.1.ecore#//GroovyDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//GroovyDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/groovy"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/script"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//Groovy">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/imports"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//Groovy/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//Groovy/script"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//ScriptType"/>
+ </genPackages>
+ <genPackages prefix="Iorouting" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="io-routing-1.1.ecore#/">
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IODocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IODocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference io-routing-1.1.ecore#//IODocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference io-routing-1.1.ecore#//IODocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference io-routing-1.1.ecore#//IODocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IORouter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/resourceName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/routeOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Javabean" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="javabean-1.1.ecore#/">
+ <genClasses ecoreClass="javabean-1.1.ecore#//BindingsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/group"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//BindingsType/value"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//BindingsType/wiring"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//BindingsType/expression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/class"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/createOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/createOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/extendLifecycle"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//DecodeParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//DecodeParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//DecodeParamType/name"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//JavabeanDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//JavabeanDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/bindings"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/decodeParam"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/expression"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/value"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/wiring"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ExpressionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/execOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/execOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ValueType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//ValueType/decodeParam"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/data"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/dataNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/decoder"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/default"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//WiringType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/beanIdRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/setterMethod"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/wireOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/wireOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Jmsrouting" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="jms-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="jms-routing-1.1.ecore#//AcknowledgeMode">
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/AUTOACKNOWLEDGE"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/CLIENTACKNOWLEDGE"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/DUPSOKACKNOWLEDGE"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="jms-routing-1.1.ecore#//DeliveryMode">
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/persistent"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/nonPersistent"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="jms-routing-1.1.ecore#//MessageType">
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/TextMessage"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/ObjectMessage"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/MapMessage"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="jms-routing-1.1.ecore#//AcknowledgeModeObject"/>
+ <genDataTypes ecoreDataType="jms-routing-1.1.ecore#//DeliveryModeObject"/>
+ <genDataTypes ecoreDataType="jms-routing-1.1.ecore#//MessageTypeObject"/>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Connection">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Connection/factory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Connection/securityCredential"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Connection/securityPrincipal"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsDocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsJndi/contextFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsJndi/namingFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsJndi/providerUrl"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Message">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/correlationIdPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/deliveryMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/priority"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/timeToLive"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/type"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsRouter">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/message"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/connection"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/session"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/jndi"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/destination"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/routeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Session">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Session/acknowledgeMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Session/transacted"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Json" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="json-1.1.ecore#/">
+ <genClasses ecoreClass="json-1.1.ecore#//JsonDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//Key">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//Key/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//Key/from"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//Key/to"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//KeyMap">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference json-1.1.ecore#//KeyMap/key"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//JsonReader">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonReader/keyMap"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/arrayElementName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/illegalElementNameCharReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/keyPrefixOnNumeric"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/keyWhitspaceReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/nullValueReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/rootName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Xsl" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="xsl-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="xsl-1.1.ecore#//XslInlineDirective">
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/addto"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/replace"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertbefore"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="xsl-1.1.ecore#//XslInlineDirectiveObject"/>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslBindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslDocumentRoot/xsl"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslUse">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslUse/inline"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslUse/bindTo"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslUse/outputTo"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Xsl">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Xsl/template"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Xsl/use"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Xsl/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Xsl/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Xsl/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Xsl/applyOnElementNS"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/smooks-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,241 @@
+<?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="xsl"
+ nsURI="http://www.milyn.org/xsd/smooks/xsl-1.1.xsd" nsPrefix="xsl">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="XSL Templating Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="XslBindTo" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Bind the templating result into the bean context under the specified "id". This makes the
 templating result available for routing or other operations.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="bindTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xsl" upperBound="-2" eType="#//Xsl"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 XSL Templating Configuration.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="xsl"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslInline" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Inline the templating result into the <b>Smooks.filter</b> Result message.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inline"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="directive" lowerBound="1"
+ eType="#//XslInlineDirective" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 How the templating result is to be used (relative to the element on which it
 is applied).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="directive"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EEnum" name="XslInlineDirective">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective"/>
+ </eAnnotations>
+ <eLiterals name="addto"/>
+ <eLiterals name="replace" value="1"/>
+ <eLiterals name="insertbefore" value="2"/>
+ <eLiterals name="insertafter" value="3"/>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="XslInlineDirectiveObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="inlineDirective:Object"/>
+ <details key="baseType" value="inlineDirective"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslOutputTo" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Output the templating result to a named OutputStreamResource.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="outputTo"/>
+ <details key="kind" value="empty"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="outputStreamResource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The name of the "outputStreamResource" to which the templating result is to be written. By default,
 the templating result is written to the Smooks.filter result if (if a StreamResult is provided).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="outputStreamResource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslTemplate" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The XSL Template.
 <p/>
 This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="template"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=":0"/>
+ <details key="kind" value="simple"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
+ defaultValueLiteral="UTF-8" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Template character encodng.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="encoding"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="XslUse" eSuperTypes="common.ecore#//AbstractAnyType">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The &lt;use&gt; element allows you to define how the templating result is to be used.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="use"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="inline" eType="#//XslInline"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="inline"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="bindTo" eType="#//XslBindTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="bindTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="outputTo" eType="#//XslOutputTo"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="outputTo"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Xsl" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 XSL Templating Configuration Type.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="xsl"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="template" lowerBound="1"
+ eType="#//XslTemplate" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="template"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="use" eType="#//XslUse"
+ containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="use"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="param" upperBound="-1"
+ eType="ecore:EClass smooks-1.1.ecore#//ParamType" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="param"/>
+ <details key="namespace" value="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applyBefore" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 Apply the template before visiting the elements child content.<p/>Default is 'false'.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyBefore"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applyOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The name of the element on which the template is to be applied.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="applyOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 The namespace of the element on which the template is to be applied.
 "/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="applyOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/all_model/xsl-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,183 @@
+<?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="calc"
+ nsURI="http://www.milyn.org/xsd/smooks/calc-1.1.xsd" nsPrefix="calc">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Calculation Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EEnum" name="CountDirection">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			If the counter is executed after the element else it will execute before the element.
 			Default is 'false'.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection"/>
+ </eAnnotations>
+ <eLiterals name="INCREMENT">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		 			Count up.
		 		"/>
+ </eAnnotations>
+ </eLiterals>
+ <eLiterals name="DECREMENT" value="1">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
		 			Count down.
		 		"/>
+ </eAnnotations>
+ </eLiterals>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EDataType" name="CountDirectionObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="CountDirection:Object"/>
+ <details key="baseType" value="CountDirection"/>
+ </eAnnotations>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="Counter" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Counter
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="counter"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="startExpression" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								The result of this expression is the counter start value.
								This expression is executed at the first count and every time the counter
								is reset. The expression must result in an integer or a long.
								If the startIndex attribute of the counter is set then this expression never gets
								executed.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="startExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="amountExpression" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				 			The result of this expression is the amount the counter increments or decrements.
								This expression is executed every time the counter counts.
								The expression must result in an integer.
								If the amount attribute of the counter is set then this expression never gets
								executed.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="amountExpression"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="resetCondition" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
								When the expression is set and results in a true value then the counter is reset to
								the start index. The expression must result in a boolean.
				 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="resetCondition"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="amount" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The amount that the counter increments or decrements the counter value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="amount"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="beanId" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The beanId in which the counter value is stored. The value is always stored
							as a Long type.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="beanId"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="countOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the counter counts.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="countOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the countOnElement element.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="countOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="direction" eType="#//CountDirection"
+ defaultValueLiteral="INCREMENT" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The direction that the counter counts. Can be INCREMENT (default) or DECREMENT.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="direction"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="executeAfter" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ defaultValueLiteral="false" unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			If the counter is executed after the element else it will execute before the element.
			 			Default is 'false'.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="executeAfter"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="start" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							The counter start value.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="start"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="CalcDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="counter" upperBound="-2"
+ eType="#//Counter" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
				Counter configuration
				The counter can increment or decrement a value.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="counter"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/calc-1.1-model/src"
+ modelPluginID="calc_1.1_model" modelName="Calc-1" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>calc-1.1.ecore</foreignModel>
+ <genPackages prefix="Calc" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="calc-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="calc-1.1.ecore#//CountDirection">
+ <genEnumLiterals ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/INCREMENT"/>
+ <genEnumLiterals ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/DECREMENT"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="calc-1.1.ecore#//CountDirectionObject"/>
+ <genClasses ecoreClass="calc-1.1.ecore#//Counter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/startExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/amountExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/resetCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/amount"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/countOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/countOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/executeAfter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/start"/>
+ </genClasses>
+ <genClasses ecoreClass="calc-1.1.ecore#//CalcDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//CalcDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/counter"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Smooks" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/handler"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/import"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/profile"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/reader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common" basePackage="org.jboss.tools.smooks.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="common.ecore#/">
+ <genClasses image="false" ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/calc-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,191 @@
+<?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="datasource"
+ nsURI="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd" nsPrefix="ds">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="Smooks Datasource Configuration"/>
+ </eAnnotations>
+ <eClassifiers xsi:type="ecore:EClass" name="Direct" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Direct Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="direct"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							If the datasource should automaticly commit.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the datasource is bound. On the visitAfter
			 			of the element the connection does a Commit or Rollback depending
			 			if a exception got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bindOnElementNS" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The namespace of the bindOnElement element
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElementNS"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="datasource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The reference name of the datasource. This name must be used
			 			to retrieve the datasource from the ExecutionContext.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="driver" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The JDBC driver name
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="driver"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="password" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The password
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="password"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="url" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//AnyURI">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The JDBC URL
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="url"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="username" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 						The username
 					"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="username"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataSourceDocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="direct" upperBound="-2"
+ eType="#//Direct" volatile="true" transient="true" derived="true" containment="true"
+ resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			Direct datasource configuration
 			The direct datasource resource creates a connection to a datasource and
 			makes it available in the ExecutionContext. The datasource can then be used
 			by other cartridges to access the datasource.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="direct"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="jNDI" upperBound="-2" eType="#//DataSourceJndi"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			JNDI datasource configuration
 			The JNDI datasource resource retrieves a datasource from the JNDI and
 			makes it available in the ExecutionContext. The datasource can then be used
 			by other cartridges to access the datasource.
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="JNDI"/>
+ <details key="namespace" value="##targetNamespace"/>
+ <details key="affiliation" value="http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="DataSourceJndi" eSuperTypes="smooks-1.1.ecore#//ElementVisitor">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
 			JNDI Datasource
 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="Jndi"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoCommit" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
+ unsettable="true">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
							If the datasource should automaticly commit.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="autoCommit"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="bindOnElement" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The element on which the datasource is bound. On the visitAfter
			 			of the element the connection does a Commit or Rollback depending
			 			if a exception got thrown.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="bindOnElement"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="datasource" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
+ <eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
+ <details key="documentation" value="
			 			The reference name of the datasource. This name must be used
			 			to retrieve the datasource from the ExecutionContext.
			 		"/>
+ </eAnnotations>
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="datasource"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/datasource-1.1-model/src"
+ modelPluginID="datasource_1.1_model" modelName="Datasource-1" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>datasource-1.1.ecore</foreignModel>
+ <genPackages prefix="Datasource" resource="XML" disposableProviderFactory="true"
+ ecorePackage="datasource-1.1.ecore#/">
+ <genClasses ecoreClass="datasource-1.1.ecore#//Direct">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/bindOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/driver"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/password"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/url"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/username"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/direct"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/jNDI"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/datasource"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Smooks" resource="XML" disposableProviderFactory="true" ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/handler"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/import"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/profile"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/reader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common" resource="XML" disposableProviderFactory="true" ecorePackage="common.ecore#/">
+ <genClasses image="false" ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/datasource-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,627 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/calc-1.1-model/src"
+ modelPluginID="calc_1.1_model" modelName="Smooks-1" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>smooks-1.1.ecore</foreignModel>
+ <foreignModel>calc-1.1.ecore</foreignModel>
+ <foreignModel>common.ecore</foreignModel>
+ <foreignModel>csv-1.1.ecore</foreignModel>
+ <foreignModel>datasource-1.1.ecore</foreignModel>
+ <foreignModel>db-routing-1.1.ecore</foreignModel>
+ <foreignModel>edi-1.1.ecore</foreignModel>
+ <foreignModel>edi-message-mapping-1.0.ecore</foreignModel>
+ <foreignModel>ext.ecore</foreignModel>
+ <foreignModel>file-routing-1.1.ecore</foreignModel>
+ <foreignModel>freemarker-1.1.ecore</foreignModel>
+ <foreignModel>groovy-1.1.ecore</foreignModel>
+ <foreignModel>io-routing-1.1.ecore</foreignModel>
+ <foreignModel>javabean-1.1.ecore</foreignModel>
+ <foreignModel>jms-routing-1.1.ecore</foreignModel>
+ <foreignModel>json-1.1.ecore</foreignModel>
+ <foreignModel>xsl-1.1.ecore</foreignModel>
+ <genPackages prefix="Smooks" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="smooks-1.1.ecore#/">
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//AbstractReader/targetProfile"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//AbstractResourceConfig"/>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ConditionsType/condition"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ConditionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/evaluator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/id"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ConditionType/idRef"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//Smooks11DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//Smooks11DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/abstractResourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/conditions"/>
+ <genFeatures property="None" children="true" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/elementVisitor"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/handler"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/import"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/profile"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/reader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/resourceConfig"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/setOff"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//Smooks11DocumentRoot/smooksResourceList"/>
+ </genClasses>
+ <genClasses image="false" ecoreClass="smooks-1.1.ecore#//ElementVisitor">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ElementVisitor/condition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ElementVisitor/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//FeaturesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOn"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//FeaturesType/setOff"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlersType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//HandlersType/handler"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//HandlerType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//HandlerType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ImportType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ImportType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ImportType/file"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ParamsType/param"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfilesType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ProfilesType/profile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ProfileType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/baseProfile"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ProfileType/subProfiles"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ReaderType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/handlers"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/features"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ReaderType/params"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ReaderType/class"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceConfigType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/resource"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/condition"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//ResourceConfigType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/selectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceConfigType/targetProfile"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//ResourceType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//ResourceType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOffType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOffType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SetOnType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SetOnType/feature"/>
+ </genClasses>
+ <genClasses ecoreClass="smooks-1.1.ecore#//SmooksResourceListType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/params"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/conditions"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/profiles"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractReaderGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractReader"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfigGroup"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference smooks-1.1.ecore#//SmooksResourceListType/abstractResourceConfig"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultConditionRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelector"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultSelectorNamespace"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute smooks-1.1.ecore#//SmooksResourceListType/defaultTargetProfile"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Calc" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="calc-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="calc-1.1.ecore#//CountDirection">
+ <genEnumLiterals ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/INCREMENT"/>
+ <genEnumLiterals ecoreEnumLiteral="calc-1.1.ecore#//CountDirection/DECREMENT"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="calc-1.1.ecore#//CountDirectionObject"/>
+ <genClasses ecoreClass="calc-1.1.ecore#//Counter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/startExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/amountExpression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/resetCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/amount"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/countOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/countOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/direction"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/executeAfter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//Counter/start"/>
+ </genClasses>
+ <genClasses ecoreClass="calc-1.1.ecore#//CalcDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute calc-1.1.ecore#//CalcDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference calc-1.1.ecore#//CalcDocumentRoot/counter"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Common" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="common.ecore#/">
+ <genClasses image="false" ecoreClass="common.ecore#//AbstractAnyType">
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getCDATA"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setCDATA">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setCDATA/cdata"/>
+ </genOperations>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/getStringValue"/>
+ <genOperations ecoreOperation="common.ecore#//AbstractAnyType/setStringValue">
+ <genParameters ecoreParameter="common.ecore#//AbstractAnyType/setStringValue/stringValue"/>
+ </genOperations>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Csv" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="csv-1.1.ecore#/">
+ <genDataTypes ecoreDataType="csv-1.1.ecore#//Char"/>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference csv-1.1.ecore#//CsvDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference csv-1.1.ecore#//CsvDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference csv-1.1.ecore#//CsvDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="csv-1.1.ecore#//CsvReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/fields"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/quote"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/separator"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute csv-1.1.ecore#//CsvReader/skipLines"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Datasource" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="datasource-1.1.ecore#/">
+ <genClasses ecoreClass="datasource-1.1.ecore#//Direct">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/bindOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/driver"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/password"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/url"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//Direct/username"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/direct"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datasource-1.1.ecore#//DataSourceDocumentRoot/jNDI"/>
+ </genClasses>
+ <genClasses ecoreClass="datasource-1.1.ecore#//DataSourceJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/autoCommit"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/bindOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datasource-1.1.ecore#//DataSourceJndi/datasource"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Dbrouting" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="db-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="db-routing-1.1.ecore#//ResultSetScopeType">
+ <genEnumLiterals ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/EXECUTION"/>
+ <genEnumLiterals ecoreEnumLiteral="db-routing-1.1.ecore#//ResultSetScopeType/APPLICATION"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="db-routing-1.1.ecore#//ResultSetScopeTypeObject"/>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//DBRoutingDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//DBRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/executor"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//DBRoutingDocumentRoot/resultSetRowSelector"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//Executor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/statement"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference db-routing-1.1.ecore#//Executor/resultSet"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/datasource"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//Executor/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//ResultSet">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSet/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSet/scope"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSet/timeToLive"/>
+ </genClasses>
+ <genClasses ecoreClass="db-routing-1.1.ecore#//ResultSetRowSelector">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/where"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/failedSelectError"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/resultSetName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute db-routing-1.1.ecore#//ResultSetRowSelector/selectRowOnElement"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Edi" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="edi-1.1.ecore#/">
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute edi-1.1.ecore#//EDIDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-1.1.ecore#//EDIDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-1.1.ecore#//EDIDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-1.1.ecore#//EDIDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-1.1.ecore#//EDIReader">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-1.1.ecore#//EDIReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-1.1.ecore#//EDIReader/mappingModel"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Medi" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="edi-message-mapping-1.0.ecore#/">
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Component">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Component/subComponent"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Component/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Component/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Delimiters">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/field"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Delimiters/subComponent"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Description">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Description/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Description/version"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//MediDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//MediDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//MediDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//MediDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//MediDocumentRoot/edimap"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//EdiMap">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//EdiMap/description"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//EdiMap/delimiters"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//EdiMap/segments"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Field">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Field/component"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Field/required"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Field/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//MappingNode">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//MappingNode/xmltag"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segment">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Segment/field"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Segment/segment"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/maxOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/minOccurs"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/segcode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//Segment/truncatable"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//Segments">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//Segments/segment"/>
+ </genClasses>
+ <genClasses ecoreClass="edi-message-mapping-1.0.ecore#//SubComponent">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//SubComponent/required"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Ext" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="ext.ecore#/">
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicalExtDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//SmooksGraphicalExtDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/input"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicalExtDocumentRoot/smooksGraphicsExt"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//InputType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//InputType/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//InputType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//ParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//ParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//ParamType/name"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//ParamType/type"/>
+ </genClasses>
+ <genClasses ecoreClass="ext.ecore#//SmooksGraphicsExtType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference ext.ecore#//SmooksGraphicsExtType/input"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//SmooksGraphicsExtType/inputType"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute ext.ecore#//SmooksGraphicsExtType/outputType"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="FileRouting" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="file-routing-1.1.ecore#/">
+ <genClasses ecoreClass="file-routing-1.1.ecore#//FileRoutingDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//FileRoutingDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//FileRoutingDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//FileRoutingDocumentRoot/outputStream"/>
+ </genClasses>
+ <genClasses ecoreClass="file-routing-1.1.ecore#//FileRoutingHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//FileRoutingHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="file-routing-1.1.ecore#//OutputStream">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/fileNamePattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/destinationDirectoryPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/listFileNamePattern"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference file-routing-1.1.ecore#//OutputStream/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/closeOnCondition"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/openOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/openOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute file-routing-1.1.ecore#//OutputStream/resourceName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Freemarker" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="freemarker-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="freemarker-1.1.ecore#//FreemarkerInlineDirective">
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/addto"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/replace"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertbefore"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//FreemarkerInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="freemarker-1.1.ecore#//FreemarkerInlineDirectiveObject"/>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerBindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerDocumentRoot/freemarker"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//Freemarker">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Freemarker/template"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Freemarker/use"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Freemarker/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Freemarker/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Freemarker/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Freemarker/applyOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//FreemarkerTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//FreemarkerUse">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerUse/inline"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerUse/bindTo"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//FreemarkerUse/outputTo"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Groovy" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="groovy-1.1.ecore#/">
+ <genClasses ecoreClass="groovy-1.1.ecore#//GroovyDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//GroovyDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/groovy"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//GroovyDocumentRoot/script"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//Groovy">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/imports"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//Groovy/param"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference groovy-1.1.ecore#//Groovy/script"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/executeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute groovy-1.1.ecore#//Groovy/executeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="groovy-1.1.ecore#//ScriptType"/>
+ </genPackages>
+ <genPackages prefix="Iorouting" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="io-routing-1.1.ecore#/">
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IODocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IODocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference io-routing-1.1.ecore#//IODocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference io-routing-1.1.ecore#//IODocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference io-routing-1.1.ecore#//IODocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="io-routing-1.1.ecore#//IORouter">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/resourceName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute io-routing-1.1.ecore#//IORouter/routeOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Javabean" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="javabean-1.1.ecore#/">
+ <genClasses ecoreClass="javabean-1.1.ecore#//BindingsType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/group"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//BindingsType/value"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//BindingsType/wiring"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//BindingsType/expression"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/class"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/createOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/createOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//BindingsType/extendLifecycle"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//DecodeParamType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//DecodeParamType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//DecodeParamType/name"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//JavabeanDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//JavabeanDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/bindings"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/decodeParam"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/expression"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/value"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//JavabeanDocumentRoot/wiring"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ExpressionType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/execOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/execOnElementNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ExpressionType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//ValueType">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//ValueType/decodeParam"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/data"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/dataNS"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/decoder"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/default"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//ValueType/setterMethod"/>
+ </genClasses>
+ <genClasses ecoreClass="javabean-1.1.ecore#//WiringType">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/beanIdRef"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/property"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/setterMethod"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/wireOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//WiringType/wireOnElementNS"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Jmsrouting" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="jms-routing-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="jms-routing-1.1.ecore#//AcknowledgeMode">
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/AUTOACKNOWLEDGE"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/CLIENTACKNOWLEDGE"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//AcknowledgeMode/DUPSOKACKNOWLEDGE"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="jms-routing-1.1.ecore#//DeliveryMode">
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/persistent"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//DeliveryMode/nonPersistent"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="jms-routing-1.1.ecore#//MessageType">
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/TextMessage"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/ObjectMessage"/>
+ <genEnumLiterals ecoreEnumLiteral="jms-routing-1.1.ecore#//MessageType/MapMessage"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="jms-routing-1.1.ecore#//AcknowledgeModeObject"/>
+ <genDataTypes ecoreDataType="jms-routing-1.1.ecore#//DeliveryModeObject"/>
+ <genDataTypes ecoreDataType="jms-routing-1.1.ecore#//MessageTypeObject"/>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Connection">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Connection/factory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Connection/securityCredential"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Connection/securityPrincipal"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsDocumentRoot/router"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsHighWaterMark">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsHighWaterMark/mark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsHighWaterMark/pollFrequency"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsHighWaterMark/timeout"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsJndi">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsJndi/contextFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsJndi/namingFactory"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsJndi/providerUrl"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Message">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/correlationIdPattern"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/deliveryMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/priority"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/timeToLive"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Message/type"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//JmsRouter">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/message"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/connection"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/session"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/jndi"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference jms-routing-1.1.ecore#//JmsRouter/highWaterMark"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/beanId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/destination"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/executeBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/routeOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//JmsRouter/routeOnElementNS"/>
+ </genClasses>
+ <genClasses ecoreClass="jms-routing-1.1.ecore#//Session">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Session/acknowledgeMode"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jms-routing-1.1.ecore#//Session/transacted"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Json" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="json-1.1.ecore#/">
+ <genClasses ecoreClass="json-1.1.ecore#//JsonDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonDocumentRoot/reader"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//Key">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//Key/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//Key/from"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//Key/to"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//KeyMap">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference json-1.1.ecore#//KeyMap/key"/>
+ </genClasses>
+ <genClasses ecoreClass="json-1.1.ecore#//JsonReader">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference json-1.1.ecore#//JsonReader/keyMap"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/arrayElementName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/encoding"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/illegalElementNameCharReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/keyPrefixOnNumeric"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/keyWhitspaceReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/nullValueReplacement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute json-1.1.ecore#//JsonReader/rootName"/>
+ </genClasses>
+ </genPackages>
+ <genPackages prefix="Xsl" basePackage="org.jboss.tools.smooks11.model" resource="XML"
+ disposableProviderFactory="true" ecorePackage="xsl-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="xsl-1.1.ecore#//XslInlineDirective">
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/addto"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/replace"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertbefore"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//XslInlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="xsl-1.1.ecore#//XslInlineDirectiveObject"/>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslBindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslBindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslDocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslDocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslDocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslDocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslDocumentRoot/xsl"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslInline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslInline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslOutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslOutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslTemplate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslTemplate/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//XslTemplate/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//XslUse">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslUse/inline"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslUse/bindTo"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//XslUse/outputTo"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Xsl">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Xsl/template"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Xsl/use"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Xsl/param"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Xsl/applyBefore"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Xsl/applyOnElement"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Xsl/applyOnElementNS"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/model/smooks-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties 2009-04-15 00:53:23 UTC (rev 14748)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.properties 2009-04-15 04:38:38 UTC (rev 14749)
@@ -383,3 +383,49 @@
_UI_EDIDocumentRoot_reader_feature = Reader
_UI_EDIReader_encoding_feature = Encoding
_UI_EDIReader_mappingModel_feature = Mapping Model
+
+# Data Source
+_UI_Direct_type = Direct
+_UI_DataSourceDocumentRoot_type = Data Source Document Root
+_UI_DataSourceJndi_type = Data Source Jndi
+_UI_AbstractReader_type = Abstract Reader
+
+_UI_Direct_autoCommit_feature = Auto Commit
+_UI_Direct_bindOnElement_feature = Bind On Element
+_UI_Direct_bindOnElementNS_feature = Bind On Element NS
+_UI_Direct_datasource_feature = Datasource
+_UI_Direct_driver_feature = Driver
+_UI_Direct_password_feature = Password
+_UI_Direct_url_feature = Url
+_UI_Direct_username_feature = Username
+_UI_DataSourceDocumentRoot_mixed_feature = Mixed
+_UI_DataSourceDocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map
+_UI_DataSourceDocumentRoot_xSISchemaLocation_feature = XSI Schema Location
+_UI_DataSourceDocumentRoot_direct_feature = Direct
+_UI_DataSourceDocumentRoot_jNDI_feature = JNDI
+_UI_DataSourceJndi_autoCommit_feature = Auto Commit
+_UI_DataSourceJndi_bindOnElement_feature = Bind On Element
+_UI_DataSourceJndi_datasource_feature = Datasource
+
+# Calc
+_UI_Counter_type = Counter
+_UI_CalcDocumentRoot_type = Document Root
+
+_UI_Counter_startExpression_feature = Start Expression
+_UI_Counter_amountExpression_feature = Amount Expression
+_UI_Counter_resetCondition_feature = Reset Condition
+_UI_Counter_amount_feature = Amount
+_UI_Counter_beanId_feature = Bean Id
+_UI_Counter_countOnElement_feature = Count On Element
+_UI_Counter_countOnElementNS_feature = Count On Element NS
+_UI_Counter_direction_feature = Direction
+_UI_Counter_executeAfter_feature = Execute After
+_UI_Counter_start_feature = Start
+_UI_CalcDocumentRoot_mixed_feature = Mixed
+_UI_CalcDocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map
+_UI_CalcDocumentRoot_xSISchemaLocation_feature = XSI Schema Location
+_UI_CalcDocumentRoot_counter_feature = Counter
+
+
+_UI_CountDirection_INCREMENT_literal = INCREMENT
+_UI_CountDirection_DECREMENT_literal = DECREMENT
\ No newline at end of file
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml 2009-04-15 00:53:23 UTC (rev 14748)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml 2009-04-15 04:38:38 UTC (rev 14749)
@@ -192,7 +192,27 @@
uri="http://www.milyn.org/xsd/smooks/edi-1.1.xsd">
</package>
</extension>
+ <extension
+ point="org.eclipse.emf.ecore.generated_package">
+ <package
+ class="org.jboss.tools.smooks.model.datasource.DatasourcePackage"
+ genModel="model/datasource-1.1.genmodel"
+ uri="http://www.milyn.org/xsd/smooks/datasource-1.1.xsd">
+ </package>
+ </extension>
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.milyn.org/xsd/smooks/calc-1.1.xsd"
+ class="org.jboss.tools.smooks.model.calc.CalcPackage"
+ genModel="model/calc-1.1.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="calc"
+ class="org.jboss.tools.smooks.model.calc.util.CalcResourceFactoryImpl"/>
+ </extension>
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter <em>Counter</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface CalcDocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ EMap<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Counter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Counter configuration
+ * The counter can increment or decrement a value.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Counter</em>' containment reference.
+ * @see #setCounter(Counter)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCalcDocumentRoot_Counter()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='counter' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
+ * @generated
+ */
+ Counter getCounter();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter <em>Counter</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Counter</em>' containment reference.
+ * @see #getCounter()
+ * @generated
+ */
+ void setCounter(Counter value);
+
+} // CalcDocumentRoot
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcDocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+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.jboss.tools.smooks.model.calc.CalcPackage
+ * @generated
+ */
+public interface CalcFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CalcFactory eINSTANCE = org.jboss.tools.smooks.model.calc.impl.CalcFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Counter</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Counter</em>'.
+ * @generated
+ */
+ Counter createCounter();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ CalcDocumentRoot createCalcDocumentRoot();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ CalcPackage getCalcPackage();
+
+} //CalcFactory
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,671 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+/**
+ * <!-- 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 -->
+ * <!-- begin-model-doc -->
+ * Smooks Calculation Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface CalcPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "calc";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/calc-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "calc";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CalcPackage eINSTANCE = org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl <em>Counter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CounterImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCounter()
+ * @generated
+ */
+ int COUNTER = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Start Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__START_EXPRESSION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Amount Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__AMOUNT_EXPRESSION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Reset Condition</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__RESET_CONDITION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Amount</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__AMOUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Bean Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__BEAN_ID = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Count On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__COUNT_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Count On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__COUNT_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Direction</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__DIRECTION = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Execute After</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__EXECUTE_AFTER = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Start</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER__START = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 9;
+
+ /**
+ * The number of structural features of the '<em>Counter</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COUNTER_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 10;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCalcDocumentRoot()
+ * @generated
+ */
+ int CALC_DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Counter</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT__COUNTER = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CALC_DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.calc.CountDirection <em>Count Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirection()
+ * @generated
+ */
+ int COUNT_DIRECTION = 2;
+
+ /**
+ * The meta object id for the '<em>Count Direction Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirectionObject()
+ * @generated
+ */
+ int COUNT_DIRECTION_OBJECT = 3;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.calc.Counter <em>Counter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Counter</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter
+ * @generated
+ */
+ EClass getCounter();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getStartExpression <em>Start Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Start Expression</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getStartExpression()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_StartExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getAmountExpression <em>Amount Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Amount Expression</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getAmountExpression()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_AmountExpression();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getResetCondition <em>Reset Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Reset Condition</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getResetCondition()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_ResetCondition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Amount</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getAmount()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_Amount();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getBeanId <em>Bean Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bean Id</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getBeanId()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_BeanId();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElement <em>Count On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Count On Element</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getCountOnElement()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_CountOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS <em>Count On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Count On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_CountOnElementNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getDirection <em>Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Direction</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getDirection()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_Direction();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute After</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Execute After</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_ExecuteAfter();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Start</em>'.
+ * @see org.jboss.tools.smooks.model.calc.Counter#getStart()
+ * @see #getCounter()
+ * @generated
+ */
+ EAttribute getCounter_Start();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot
+ * @generated
+ */
+ EClass getCalcDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getMixed()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EAttribute getCalcDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXMLNSPrefixMap()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EReference getCalcDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getXSISchemaLocation()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EReference getCalcDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter <em>Counter</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Counter</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CalcDocumentRoot#getCounter()
+ * @see #getCalcDocumentRoot()
+ * @generated
+ */
+ EReference getCalcDocumentRoot_Counter();
+
+ /**
+ * Returns the meta object for enum '{@link org.jboss.tools.smooks.model.calc.CountDirection <em>Count Direction</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Count Direction</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @generated
+ */
+ EEnum getCountDirection();
+
+ /**
+ * Returns the meta object for data type '{@link org.jboss.tools.smooks.model.calc.CountDirection <em>Count Direction Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>Count Direction Object</em>'.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @model instanceClass="org.jboss.tools.smooks.model.calc.CountDirection"
+ * extendedMetaData="name='CountDirection:Object' baseType='CountDirection'"
+ * @generated
+ */
+ EDataType getCountDirectionObject();
+
+ /**
+ * 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
+ */
+ CalcFactory getCalcFactory();
+
+ /**
+ * <!-- 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.jboss.tools.smooks.model.calc.impl.CounterImpl <em>Counter</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CounterImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCounter()
+ * @generated
+ */
+ EClass COUNTER = eINSTANCE.getCounter();
+
+ /**
+ * The meta object literal for the '<em><b>Start Expression</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__START_EXPRESSION = eINSTANCE.getCounter_StartExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Amount Expression</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__AMOUNT_EXPRESSION = eINSTANCE.getCounter_AmountExpression();
+
+ /**
+ * The meta object literal for the '<em><b>Reset Condition</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__RESET_CONDITION = eINSTANCE.getCounter_ResetCondition();
+
+ /**
+ * The meta object literal for the '<em><b>Amount</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__AMOUNT = eINSTANCE.getCounter_Amount();
+
+ /**
+ * The meta object literal for the '<em><b>Bean Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__BEAN_ID = eINSTANCE.getCounter_BeanId();
+
+ /**
+ * The meta object literal for the '<em><b>Count On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__COUNT_ON_ELEMENT = eINSTANCE.getCounter_CountOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Count On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__COUNT_ON_ELEMENT_NS = eINSTANCE.getCounter_CountOnElementNS();
+
+ /**
+ * The meta object literal for the '<em><b>Direction</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__DIRECTION = eINSTANCE.getCounter_Direction();
+
+ /**
+ * The meta object literal for the '<em><b>Execute After</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__EXECUTE_AFTER = eINSTANCE.getCounter_ExecuteAfter();
+
+ /**
+ * The meta object literal for the '<em><b>Start</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COUNTER__START = eINSTANCE.getCounter_Start();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCalcDocumentRoot()
+ * @generated
+ */
+ EClass CALC_DOCUMENT_ROOT = eINSTANCE.getCalcDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CALC_DOCUMENT_ROOT__MIXED = eINSTANCE.getCalcDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getCalcDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getCalcDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Counter</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CALC_DOCUMENT_ROOT__COUNTER = eINSTANCE.getCalcDocumentRoot_Counter();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.calc.CountDirection <em>Count Direction</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirection()
+ * @generated
+ */
+ EEnum COUNT_DIRECTION = eINSTANCE.getCountDirection();
+
+ /**
+ * The meta object literal for the '<em>Count Direction Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see org.jboss.tools.smooks.model.calc.impl.CalcPackageImpl#getCountDirectionObject()
+ * @generated
+ */
+ EDataType COUNT_DIRECTION_OBJECT = eINSTANCE.getCountDirectionObject();
+
+ }
+
+} //CalcPackage
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CalcPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,220 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+
+import org.eclipse.emf.common.util.Enumerator;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the literals of the enumeration '<em><b>Count Direction</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the counter is executed after the element else it will execute before the element.
+ * Default is 'false'.
+ *
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCountDirection()
+ * @model extendedMetaData="name='CountDirection'"
+ * @generated
+ */
+public enum CountDirection implements Enumerator {
+ /**
+ * The '<em><b>INCREMENT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INCREMENT_VALUE
+ * @generated
+ * @ordered
+ */
+ INCREMENT(0, "INCREMENT", "INCREMENT"),
+
+ /**
+ * The '<em><b>DECREMENT</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #DECREMENT_VALUE
+ * @generated
+ * @ordered
+ */
+ DECREMENT(1, "DECREMENT", "DECREMENT");
+
+ /**
+ * The '<em><b>INCREMENT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Count up.
+ *
+ * <!-- end-model-doc -->
+ * @see #INCREMENT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int INCREMENT_VALUE = 0;
+
+ /**
+ * The '<em><b>DECREMENT</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Count down.
+ *
+ * <!-- end-model-doc -->
+ * @see #DECREMENT
+ * @model
+ * @generated
+ * @ordered
+ */
+ public static final int DECREMENT_VALUE = 1;
+
+ /**
+ * An array of all the '<em><b>Count Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final CountDirection[] VALUES_ARRAY =
+ new CountDirection[] {
+ INCREMENT,
+ DECREMENT,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Count Direction</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<CountDirection> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Count Direction</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CountDirection get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ CountDirection result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Count Direction</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CountDirection getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ CountDirection result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Count Direction</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CountDirection get(int value) {
+ switch (value) {
+ case INCREMENT_VALUE: return INCREMENT;
+ case DECREMENT_VALUE: return DECREMENT;
+ }
+ return null;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final int value;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String name;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private final String literal;
+
+ /**
+ * Only this class can construct instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private CountDirection(int value, String name, String literal) {
+ this.value = value;
+ this.name = name;
+ this.literal = literal;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getLiteral() {
+ return literal;
+ }
+
+ /**
+ * Returns the literal value of the enumerator, which is its string representation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ return literal;
+ }
+
+} //CountDirection
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/CountDirection.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,447 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc;
+
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Counter</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Counter
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getStartExpression <em>Start Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getAmountExpression <em>Amount Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getResetCondition <em>Reset Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getBeanId <em>Bean Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElement <em>Count On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS <em>Count On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute After</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter()
+ * @model extendedMetaData="name='counter' kind='elementOnly'"
+ * @generated
+ */
+public interface Counter extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Start Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The result of this expression is the counter start value.
+ * This expression is executed at the first count and every time the counter
+ * is reset. The expression must result in an integer or a long.
+ * If the startIndex attribute of the counter is set then this expression never gets
+ * executed.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Start Expression</em>' attribute.
+ * @see #setStartExpression(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_StartExpression()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='startExpression' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getStartExpression();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getStartExpression <em>Start Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start Expression</em>' attribute.
+ * @see #getStartExpression()
+ * @generated
+ */
+ void setStartExpression(String value);
+
+ /**
+ * Returns the value of the '<em><b>Amount Expression</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The result of this expression is the amount the counter increments or decrements.
+ * This expression is executed every time the counter counts.
+ * The expression must result in an integer.
+ * If the amount attribute of the counter is set then this expression never gets
+ * executed.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Amount Expression</em>' attribute.
+ * @see #setAmountExpression(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_AmountExpression()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='amountExpression' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getAmountExpression();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getAmountExpression <em>Amount Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Amount Expression</em>' attribute.
+ * @see #getAmountExpression()
+ * @generated
+ */
+ void setAmountExpression(String value);
+
+ /**
+ * Returns the value of the '<em><b>Reset Condition</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * When the expression is set and results in a true value then the counter is reset to
+ * the start index. The expression must result in a boolean.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Reset Condition</em>' attribute.
+ * @see #setResetCondition(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_ResetCondition()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='element' name='resetCondition' namespace='##targetNamespace'"
+ * @generated
+ */
+ String getResetCondition();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getResetCondition <em>Reset Condition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Reset Condition</em>' attribute.
+ * @see #getResetCondition()
+ * @generated
+ */
+ void setResetCondition(String value);
+
+ /**
+ * Returns the value of the '<em><b>Amount</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The amount that the counter increments or decrements the counter value.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Amount</em>' attribute.
+ * @see #isSetAmount()
+ * @see #unsetAmount()
+ * @see #setAmount(int)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_Amount()
+ * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
+ * extendedMetaData="kind='attribute' name='amount'"
+ * @generated
+ */
+ int getAmount();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Amount</em>' attribute.
+ * @see #isSetAmount()
+ * @see #unsetAmount()
+ * @see #getAmount()
+ * @generated
+ */
+ void setAmount(int value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAmount()
+ * @see #getAmount()
+ * @see #setAmount(int)
+ * @generated
+ */
+ void unsetAmount();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getAmount <em>Amount</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Amount</em>' attribute is set.
+ * @see #unsetAmount()
+ * @see #getAmount()
+ * @see #setAmount(int)
+ * @generated
+ */
+ boolean isSetAmount();
+
+ /**
+ * Returns the value of the '<em><b>Bean Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The beanId in which the counter value is stored. The value is always stored
+ * as a Long type.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bean Id</em>' attribute.
+ * @see #setBeanId(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_BeanId()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='beanId'"
+ * @generated
+ */
+ String getBeanId();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getBeanId <em>Bean Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bean Id</em>' attribute.
+ * @see #getBeanId()
+ * @generated
+ */
+ void setBeanId(String value);
+
+ /**
+ * Returns the value of the '<em><b>Count On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The element on which the counter counts.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Count On Element</em>' attribute.
+ * @see #setCountOnElement(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_CountOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='countOnElement'"
+ * @generated
+ */
+ String getCountOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElement <em>Count On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Count On Element</em>' attribute.
+ * @see #getCountOnElement()
+ * @generated
+ */
+ void setCountOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Count On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The namespace of the countOnElement element.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Count On Element NS</em>' attribute.
+ * @see #setCountOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_CountOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='countOnElementNS'"
+ * @generated
+ */
+ String getCountOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getCountOnElementNS <em>Count On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Count On Element NS</em>' attribute.
+ * @see #getCountOnElementNS()
+ * @generated
+ */
+ void setCountOnElementNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Direction</b></em>' attribute.
+ * The default value is <code>"INCREMENT"</code>.
+ * The literals are from the enumeration {@link org.jboss.tools.smooks.model.calc.CountDirection}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The direction that the counter counts. Can be INCREMENT (default) or DECREMENT.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Direction</em>' attribute.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see #isSetDirection()
+ * @see #unsetDirection()
+ * @see #setDirection(CountDirection)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_Direction()
+ * @model default="INCREMENT" unsettable="true"
+ * extendedMetaData="kind='attribute' name='direction'"
+ * @generated
+ */
+ CountDirection getDirection();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getDirection <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direction</em>' attribute.
+ * @see org.jboss.tools.smooks.model.calc.CountDirection
+ * @see #isSetDirection()
+ * @see #unsetDirection()
+ * @see #getDirection()
+ * @generated
+ */
+ void setDirection(CountDirection value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getDirection <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDirection()
+ * @see #getDirection()
+ * @see #setDirection(CountDirection)
+ * @generated
+ */
+ void unsetDirection();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getDirection <em>Direction</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Direction</em>' attribute is set.
+ * @see #unsetDirection()
+ * @see #getDirection()
+ * @see #setDirection(CountDirection)
+ * @generated
+ */
+ boolean isSetDirection();
+
+ /**
+ * Returns the value of the '<em><b>Execute After</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the counter is executed after the element else it will execute before the element.
+ * Default is 'false'.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Execute After</em>' attribute.
+ * @see #isSetExecuteAfter()
+ * @see #unsetExecuteAfter()
+ * @see #setExecuteAfter(boolean)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_ExecuteAfter()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='executeAfter'"
+ * @generated
+ */
+ boolean isExecuteAfter();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Execute After</em>' attribute.
+ * @see #isSetExecuteAfter()
+ * @see #unsetExecuteAfter()
+ * @see #isExecuteAfter()
+ * @generated
+ */
+ void setExecuteAfter(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetExecuteAfter()
+ * @see #isExecuteAfter()
+ * @see #setExecuteAfter(boolean)
+ * @generated
+ */
+ void unsetExecuteAfter();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#isExecuteAfter <em>Execute After</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Execute After</em>' attribute is set.
+ * @see #unsetExecuteAfter()
+ * @see #isExecuteAfter()
+ * @see #setExecuteAfter(boolean)
+ * @generated
+ */
+ boolean isSetExecuteAfter();
+
+ /**
+ * Returns the value of the '<em><b>Start</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The counter start value.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Start</em>' attribute.
+ * @see #isSetStart()
+ * @see #unsetStart()
+ * @see #setStart(long)
+ * @see org.jboss.tools.smooks.model.calc.CalcPackage#getCounter_Start()
+ * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long"
+ * extendedMetaData="kind='attribute' name='start'"
+ * @generated
+ */
+ long getStart();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Start</em>' attribute.
+ * @see #isSetStart()
+ * @see #unsetStart()
+ * @see #getStart()
+ * @generated
+ */
+ void setStart(long value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetStart()
+ * @see #getStart()
+ * @see #setStart(long)
+ * @generated
+ */
+ void unsetStart();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.calc.Counter#getStart <em>Start</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Start</em>' attribute is set.
+ * @see #unsetStart()
+ * @see #getStart()
+ * @see #setStart(long)
+ * @generated
+ */
+ boolean isSetStart();
+
+} // Counter
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/Counter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,286 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.jboss.tools.smooks.model.calc.CalcDocumentRoot;
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+import org.jboss.tools.smooks.model.calc.Counter;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CalcDocumentRootImpl#getCounter <em>Counter</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CalcDocumentRootImpl extends EObjectImpl implements CalcDocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CalcDocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CalcPackage.Literals.CALC_DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, CalcPackage.CALC_DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Counter getCounter() {
+ return (Counter)getMixed().get(CalcPackage.Literals.CALC_DOCUMENT_ROOT__COUNTER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCounter(Counter newCounter, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(CalcPackage.Literals.CALC_DOCUMENT_ROOT__COUNTER, newCounter, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCounter(Counter newCounter) {
+ ((FeatureMap.Internal)getMixed()).set(CalcPackage.Literals.CALC_DOCUMENT_ROOT__COUNTER, newCounter);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ return basicSetCounter(null, 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 CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ return getCounter();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ setCounter((Counter)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ setCounter((Counter)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CalcPackage.CALC_DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case CalcPackage.CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case CalcPackage.CALC_DOCUMENT_ROOT__COUNTER:
+ return getCounter() != null;
+ }
+ 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(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //CalcDocumentRootImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcDocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,183 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.jboss.tools.smooks.model.calc.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CalcFactoryImpl extends EFactoryImpl implements CalcFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CalcFactory init() {
+ try {
+ CalcFactory theCalcFactory = (CalcFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/xsd/smooks/calc-1.1.xsd");
+ if (theCalcFactory != null) {
+ return theCalcFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new CalcFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case CalcPackage.COUNTER: return createCounter();
+ case CalcPackage.CALC_DOCUMENT_ROOT: return createCalcDocumentRoot();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object createFromString(EDataType eDataType, String initialValue) {
+ switch (eDataType.getClassifierID()) {
+ case CalcPackage.COUNT_DIRECTION:
+ return createCountDirectionFromString(eDataType, initialValue);
+ case CalcPackage.COUNT_DIRECTION_OBJECT:
+ return createCountDirectionObjectFromString(eDataType, initialValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String convertToString(EDataType eDataType, Object instanceValue) {
+ switch (eDataType.getClassifierID()) {
+ case CalcPackage.COUNT_DIRECTION:
+ return convertCountDirectionToString(eDataType, instanceValue);
+ case CalcPackage.COUNT_DIRECTION_OBJECT:
+ return convertCountDirectionObjectToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Counter createCounter() {
+ CounterImpl counter = new CounterImpl();
+ return counter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcDocumentRoot createCalcDocumentRoot() {
+ CalcDocumentRootImpl calcDocumentRoot = new CalcDocumentRootImpl();
+ return calcDocumentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CountDirection createCountDirectionFromString(EDataType eDataType, String initialValue) {
+ CountDirection result = CountDirection.get(initialValue);
+ if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
+ return result;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertCountDirectionToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CountDirection createCountDirectionObjectFromString(EDataType eDataType, String initialValue) {
+ return createCountDirectionFromString(CalcPackage.Literals.COUNT_DIRECTION, initialValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertCountDirectionObjectToString(EDataType eDataType, Object instanceValue) {
+ return convertCountDirectionToString(CalcPackage.Literals.COUNT_DIRECTION, instanceValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcPackage getCalcPackage() {
+ return (CalcPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static CalcPackage getPackage() {
+ return CalcPackage.eINSTANCE;
+ }
+
+} //CalcFactoryImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,572 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+import org.jboss.tools.smooks.model.calc.CalcDocumentRoot;
+import org.jboss.tools.smooks.model.calc.CalcFactory;
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+import org.jboss.tools.smooks.model.calc.CountDirection;
+import org.jboss.tools.smooks.model.calc.Counter;
+
+import org.jboss.tools.smooks.model.common.CommonPackage;
+
+import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
+
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+import org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CalcPackageImpl extends EPackageImpl implements CalcPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass counterEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass calcDocumentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum countDirectionEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType countDirectionObjectEDataType = 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.jboss.tools.smooks.model.calc.CalcPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private CalcPackageImpl() {
+ super(eNS_URI, CalcFactory.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. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static CalcPackage init() {
+ if (isInited) return (CalcPackage)EPackage.Registry.INSTANCE.getEPackage(CalcPackage.eNS_URI);
+
+ // Obtain or create and register package
+ CalcPackageImpl theCalcPackage = (CalcPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof CalcPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new CalcPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ SmooksPackageImpl theSmooksPackage = (SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) instanceof SmooksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
+ CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theCalcPackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theCalcPackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theCalcPackage.freeze();
+
+ return theCalcPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCounter() {
+ return counterEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_StartExpression() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_AmountExpression() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_ResetCondition() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_Amount() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_BeanId() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_CountOnElement() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_CountOnElementNS() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_Direction() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_ExecuteAfter() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCounter_Start() {
+ return (EAttribute)counterEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getCalcDocumentRoot() {
+ return calcDocumentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCalcDocumentRoot_Mixed() {
+ return (EAttribute)calcDocumentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCalcDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)calcDocumentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCalcDocumentRoot_XSISchemaLocation() {
+ return (EReference)calcDocumentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getCalcDocumentRoot_Counter() {
+ return (EReference)calcDocumentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getCountDirection() {
+ return countDirectionEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EDataType getCountDirectionObject() {
+ return countDirectionObjectEDataType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcFactory getCalcFactory() {
+ return (CalcFactory)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
+ counterEClass = createEClass(COUNTER);
+ createEAttribute(counterEClass, COUNTER__START_EXPRESSION);
+ createEAttribute(counterEClass, COUNTER__AMOUNT_EXPRESSION);
+ createEAttribute(counterEClass, COUNTER__RESET_CONDITION);
+ createEAttribute(counterEClass, COUNTER__AMOUNT);
+ createEAttribute(counterEClass, COUNTER__BEAN_ID);
+ createEAttribute(counterEClass, COUNTER__COUNT_ON_ELEMENT);
+ createEAttribute(counterEClass, COUNTER__COUNT_ON_ELEMENT_NS);
+ createEAttribute(counterEClass, COUNTER__DIRECTION);
+ createEAttribute(counterEClass, COUNTER__EXECUTE_AFTER);
+ createEAttribute(counterEClass, COUNTER__START);
+
+ calcDocumentRootEClass = createEClass(CALC_DOCUMENT_ROOT);
+ createEAttribute(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__MIXED);
+ createEReference(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(calcDocumentRootEClass, CALC_DOCUMENT_ROOT__COUNTER);
+
+ // Create enums
+ countDirectionEEnum = createEEnum(COUNT_DIRECTION);
+
+ // Create data types
+ countDirectionObjectEDataType = createEDataType(COUNT_DIRECTION_OBJECT);
+ }
+
+ /**
+ * <!-- 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
+ SmooksPackage theSmooksPackage = (SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ counterEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(counterEClass, Counter.class, "Counter", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCounter_StartExpression(), theXMLTypePackage.getString(), "startExpression", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_AmountExpression(), theXMLTypePackage.getString(), "amountExpression", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_ResetCondition(), theXMLTypePackage.getString(), "resetCondition", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_Amount(), theXMLTypePackage.getInt(), "amount", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_BeanId(), theXMLTypePackage.getString(), "beanId", null, 1, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_CountOnElement(), theXMLTypePackage.getString(), "countOnElement", null, 1, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_CountOnElementNS(), theXMLTypePackage.getString(), "countOnElementNS", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_Direction(), this.getCountDirection(), "direction", "INCREMENT", 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_ExecuteAfter(), theXMLTypePackage.getBoolean(), "executeAfter", "false", 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getCounter_Start(), theXMLTypePackage.getLong(), "start", null, 0, 1, Counter.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(calcDocumentRootEClass, CalcDocumentRoot.class, "CalcDocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getCalcDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCalcDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCalcDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getCalcDocumentRoot_Counter(), this.getCounter(), null, "counter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(countDirectionEEnum, CountDirection.class, "CountDirection");
+ addEEnumLiteral(countDirectionEEnum, CountDirection.INCREMENT);
+ addEEnumLiteral(countDirectionEEnum, CountDirection.DECREMENT);
+
+ // Initialize data types
+ initEDataType(countDirectionObjectEDataType, CountDirection.class, "CountDirectionObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (countDirectionEEnum,
+ source,
+ new String[] {
+ "name", "CountDirection"
+ });
+ addAnnotation
+ (countDirectionObjectEDataType,
+ source,
+ new String[] {
+ "name", "CountDirection:Object",
+ "baseType", "CountDirection"
+ });
+ addAnnotation
+ (counterEClass,
+ source,
+ new String[] {
+ "name", "counter",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getCounter_StartExpression(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "startExpression",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getCounter_AmountExpression(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "amountExpression",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getCounter_ResetCondition(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "resetCondition",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getCounter_Amount(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "amount"
+ });
+ addAnnotation
+ (getCounter_BeanId(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "beanId"
+ });
+ addAnnotation
+ (getCounter_CountOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "countOnElement"
+ });
+ addAnnotation
+ (getCounter_CountOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "countOnElementNS"
+ });
+ addAnnotation
+ (getCounter_Direction(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "direction"
+ });
+ addAnnotation
+ (getCounter_ExecuteAfter(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "executeAfter"
+ });
+ addAnnotation
+ (getCounter_Start(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "start"
+ });
+ addAnnotation
+ (calcDocumentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getCalcDocumentRoot_Counter(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "counter",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ }
+
+} //CalcPackageImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CalcPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,791 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+import org.jboss.tools.smooks.model.calc.CountDirection;
+import org.jboss.tools.smooks.model.calc.Counter;
+
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Counter</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getStartExpression <em>Start Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getAmountExpression <em>Amount Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getResetCondition <em>Reset Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getAmount <em>Amount</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getBeanId <em>Bean Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getCountOnElement <em>Count On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getCountOnElementNS <em>Count On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getDirection <em>Direction</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#isExecuteAfter <em>Execute After</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.calc.impl.CounterImpl#getStart <em>Start</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class CounterImpl extends ElementVisitorImpl implements Counter {
+ /**
+ * The default value of the '{@link #getStartExpression() <em>Start Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStartExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String START_EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getStartExpression() <em>Start Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStartExpression()
+ * @generated
+ * @ordered
+ */
+ protected String startExpression = START_EXPRESSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAmountExpression() <em>Amount Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmountExpression()
+ * @generated
+ * @ordered
+ */
+ protected static final String AMOUNT_EXPRESSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getAmountExpression() <em>Amount Expression</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmountExpression()
+ * @generated
+ * @ordered
+ */
+ protected String amountExpression = AMOUNT_EXPRESSION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getResetCondition() <em>Reset Condition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResetCondition()
+ * @generated
+ * @ordered
+ */
+ protected static final String RESET_CONDITION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getResetCondition() <em>Reset Condition</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResetCondition()
+ * @generated
+ * @ordered
+ */
+ protected String resetCondition = RESET_CONDITION_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getAmount() <em>Amount</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmount()
+ * @generated
+ * @ordered
+ */
+ protected static final int AMOUNT_EDEFAULT = 0;
+
+ /**
+ * The cached value of the '{@link #getAmount() <em>Amount</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAmount()
+ * @generated
+ * @ordered
+ */
+ protected int amount = AMOUNT_EDEFAULT;
+
+ /**
+ * This is true if the Amount attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean amountESet;
+
+ /**
+ * The default value of the '{@link #getBeanId() <em>Bean Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBeanId()
+ * @generated
+ * @ordered
+ */
+ protected static final String BEAN_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBeanId() <em>Bean Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBeanId()
+ * @generated
+ * @ordered
+ */
+ protected String beanId = BEAN_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCountOnElement() <em>Count On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String COUNT_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCountOnElement() <em>Count On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String countOnElement = COUNT_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCountOnElementNS() <em>Count On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String COUNT_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCountOnElementNS() <em>Count On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCountOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String countOnElementNS = COUNT_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected static final CountDirection DIRECTION_EDEFAULT = CountDirection.INCREMENT;
+
+ /**
+ * The cached value of the '{@link #getDirection() <em>Direction</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirection()
+ * @generated
+ * @ordered
+ */
+ protected CountDirection direction = DIRECTION_EDEFAULT;
+
+ /**
+ * This is true if the Direction attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean directionESet;
+
+ /**
+ * The default value of the '{@link #isExecuteAfter() <em>Execute After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExecuteAfter()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean EXECUTE_AFTER_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isExecuteAfter() <em>Execute After</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExecuteAfter()
+ * @generated
+ * @ordered
+ */
+ protected boolean executeAfter = EXECUTE_AFTER_EDEFAULT;
+
+ /**
+ * This is true if the Execute After attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean executeAfterESet;
+
+ /**
+ * The default value of the '{@link #getStart() <em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStart()
+ * @generated
+ * @ordered
+ */
+ protected static final long START_EDEFAULT = 0L;
+
+ /**
+ * The cached value of the '{@link #getStart() <em>Start</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getStart()
+ * @generated
+ * @ordered
+ */
+ protected long start = START_EDEFAULT;
+
+ /**
+ * This is true if the Start attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean startESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected CounterImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CalcPackage.Literals.COUNTER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getStartExpression() {
+ return startExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStartExpression(String newStartExpression) {
+ String oldStartExpression = startExpression;
+ startExpression = newStartExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__START_EXPRESSION, oldStartExpression, startExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getAmountExpression() {
+ return amountExpression;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAmountExpression(String newAmountExpression) {
+ String oldAmountExpression = amountExpression;
+ amountExpression = newAmountExpression;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__AMOUNT_EXPRESSION, oldAmountExpression, amountExpression));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getResetCondition() {
+ return resetCondition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResetCondition(String newResetCondition) {
+ String oldResetCondition = resetCondition;
+ resetCondition = newResetCondition;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__RESET_CONDITION, oldResetCondition, resetCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getAmount() {
+ return amount;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAmount(int newAmount) {
+ int oldAmount = amount;
+ amount = newAmount;
+ boolean oldAmountESet = amountESet;
+ amountESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__AMOUNT, oldAmount, amount, !oldAmountESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAmount() {
+ int oldAmount = amount;
+ boolean oldAmountESet = amountESet;
+ amount = AMOUNT_EDEFAULT;
+ amountESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CalcPackage.COUNTER__AMOUNT, oldAmount, AMOUNT_EDEFAULT, oldAmountESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAmount() {
+ return amountESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBeanId() {
+ return beanId;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBeanId(String newBeanId) {
+ String oldBeanId = beanId;
+ beanId = newBeanId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__BEAN_ID, oldBeanId, beanId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCountOnElement() {
+ return countOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCountOnElement(String newCountOnElement) {
+ String oldCountOnElement = countOnElement;
+ countOnElement = newCountOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__COUNT_ON_ELEMENT, oldCountOnElement, countOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCountOnElementNS() {
+ return countOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCountOnElementNS(String newCountOnElementNS) {
+ String oldCountOnElementNS = countOnElementNS;
+ countOnElementNS = newCountOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS, oldCountOnElementNS, countOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CountDirection getDirection() {
+ return direction;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirection(CountDirection newDirection) {
+ CountDirection oldDirection = direction;
+ direction = newDirection == null ? DIRECTION_EDEFAULT : newDirection;
+ boolean oldDirectionESet = directionESet;
+ directionESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__DIRECTION, oldDirection, direction, !oldDirectionESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDirection() {
+ CountDirection oldDirection = direction;
+ boolean oldDirectionESet = directionESet;
+ direction = DIRECTION_EDEFAULT;
+ directionESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CalcPackage.COUNTER__DIRECTION, oldDirection, DIRECTION_EDEFAULT, oldDirectionESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDirection() {
+ return directionESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isExecuteAfter() {
+ return executeAfter;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExecuteAfter(boolean newExecuteAfter) {
+ boolean oldExecuteAfter = executeAfter;
+ executeAfter = newExecuteAfter;
+ boolean oldExecuteAfterESet = executeAfterESet;
+ executeAfterESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__EXECUTE_AFTER, oldExecuteAfter, executeAfter, !oldExecuteAfterESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetExecuteAfter() {
+ boolean oldExecuteAfter = executeAfter;
+ boolean oldExecuteAfterESet = executeAfterESet;
+ executeAfter = EXECUTE_AFTER_EDEFAULT;
+ executeAfterESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CalcPackage.COUNTER__EXECUTE_AFTER, oldExecuteAfter, EXECUTE_AFTER_EDEFAULT, oldExecuteAfterESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetExecuteAfter() {
+ return executeAfterESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public long getStart() {
+ return start;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStart(long newStart) {
+ long oldStart = start;
+ start = newStart;
+ boolean oldStartESet = startESet;
+ startESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CalcPackage.COUNTER__START, oldStart, start, !oldStartESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetStart() {
+ long oldStart = start;
+ boolean oldStartESet = startESet;
+ start = START_EDEFAULT;
+ startESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, CalcPackage.COUNTER__START, oldStart, START_EDEFAULT, oldStartESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetStart() {
+ return startESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ return getStartExpression();
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ return getAmountExpression();
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ return getResetCondition();
+ case CalcPackage.COUNTER__AMOUNT:
+ return new Integer(getAmount());
+ case CalcPackage.COUNTER__BEAN_ID:
+ return getBeanId();
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ return getCountOnElement();
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ return getCountOnElementNS();
+ case CalcPackage.COUNTER__DIRECTION:
+ return getDirection();
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ return isExecuteAfter() ? Boolean.TRUE : Boolean.FALSE;
+ case CalcPackage.COUNTER__START:
+ return new Long(getStart());
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ setStartExpression((String)newValue);
+ return;
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ setAmountExpression((String)newValue);
+ return;
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ setResetCondition((String)newValue);
+ return;
+ case CalcPackage.COUNTER__AMOUNT:
+ setAmount(((Integer)newValue).intValue());
+ return;
+ case CalcPackage.COUNTER__BEAN_ID:
+ setBeanId((String)newValue);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ setCountOnElement((String)newValue);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ setCountOnElementNS((String)newValue);
+ return;
+ case CalcPackage.COUNTER__DIRECTION:
+ setDirection((CountDirection)newValue);
+ return;
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ setExecuteAfter(((Boolean)newValue).booleanValue());
+ return;
+ case CalcPackage.COUNTER__START:
+ setStart(((Long)newValue).longValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ setStartExpression(START_EXPRESSION_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ setAmountExpression(AMOUNT_EXPRESSION_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ setResetCondition(RESET_CONDITION_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__AMOUNT:
+ unsetAmount();
+ return;
+ case CalcPackage.COUNTER__BEAN_ID:
+ setBeanId(BEAN_ID_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ setCountOnElement(COUNT_ON_ELEMENT_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ setCountOnElementNS(COUNT_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ case CalcPackage.COUNTER__DIRECTION:
+ unsetDirection();
+ return;
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ unsetExecuteAfter();
+ return;
+ case CalcPackage.COUNTER__START:
+ unsetStart();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case CalcPackage.COUNTER__START_EXPRESSION:
+ return START_EXPRESSION_EDEFAULT == null ? startExpression != null : !START_EXPRESSION_EDEFAULT.equals(startExpression);
+ case CalcPackage.COUNTER__AMOUNT_EXPRESSION:
+ return AMOUNT_EXPRESSION_EDEFAULT == null ? amountExpression != null : !AMOUNT_EXPRESSION_EDEFAULT.equals(amountExpression);
+ case CalcPackage.COUNTER__RESET_CONDITION:
+ return RESET_CONDITION_EDEFAULT == null ? resetCondition != null : !RESET_CONDITION_EDEFAULT.equals(resetCondition);
+ case CalcPackage.COUNTER__AMOUNT:
+ return isSetAmount();
+ case CalcPackage.COUNTER__BEAN_ID:
+ return BEAN_ID_EDEFAULT == null ? beanId != null : !BEAN_ID_EDEFAULT.equals(beanId);
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT:
+ return COUNT_ON_ELEMENT_EDEFAULT == null ? countOnElement != null : !COUNT_ON_ELEMENT_EDEFAULT.equals(countOnElement);
+ case CalcPackage.COUNTER__COUNT_ON_ELEMENT_NS:
+ return COUNT_ON_ELEMENT_NS_EDEFAULT == null ? countOnElementNS != null : !COUNT_ON_ELEMENT_NS_EDEFAULT.equals(countOnElementNS);
+ case CalcPackage.COUNTER__DIRECTION:
+ return isSetDirection();
+ case CalcPackage.COUNTER__EXECUTE_AFTER:
+ return isSetExecuteAfter();
+ case CalcPackage.COUNTER__START:
+ return isSetStart();
+ }
+ 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(" (startExpression: ");
+ result.append(startExpression);
+ result.append(", amountExpression: ");
+ result.append(amountExpression);
+ result.append(", resetCondition: ");
+ result.append(resetCondition);
+ result.append(", amount: ");
+ if (amountESet) result.append(amount); else result.append("<unset>");
+ result.append(", beanId: ");
+ result.append(beanId);
+ result.append(", countOnElement: ");
+ result.append(countOnElement);
+ result.append(", countOnElementNS: ");
+ result.append(countOnElementNS);
+ result.append(", direction: ");
+ if (directionESet) result.append(direction); else result.append("<unset>");
+ result.append(", executeAfter: ");
+ if (executeAfterESet) result.append(executeAfter); else result.append("<unset>");
+ result.append(", start: ");
+ if (startESet) result.append(start); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //CounterImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/impl/CounterImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,221 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.xml.type.AnyType;
+
+import org.jboss.tools.smooks.model.calc.*;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- 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.jboss.tools.smooks.model.calc.CalcPackage
+ * @generated
+ */
+public class CalcAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CalcPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = CalcPackage.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 CalcSwitch<Adapter> modelSwitch =
+ new CalcSwitch<Adapter>() {
+ @Override
+ public Adapter caseCounter(Counter object) {
+ return createCounterAdapter();
+ }
+ @Override
+ public Adapter caseCalcDocumentRoot(CalcDocumentRoot object) {
+ return createCalcDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return createAbstractResourceConfigAdapter();
+ }
+ @Override
+ public Adapter caseElementVisitor(ElementVisitor object) {
+ return createElementVisitorAdapter();
+ }
+ @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.jboss.tools.smooks.model.calc.Counter <em>Counter</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.jboss.tools.smooks.model.calc.Counter
+ * @generated
+ */
+ public Adapter createCounterAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.calc.CalcDocumentRoot <em>Document Root</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.jboss.tools.smooks.model.calc.CalcDocumentRoot
+ * @generated
+ */
+ public Adapter createCalcDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.xml.type.AnyType <em>Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.ecore.xml.type.AnyType
+ * @generated
+ */
+ public Adapter createAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.common.AbstractAnyType <em>Abstract Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.common.AbstractAnyType
+ * @generated
+ */
+ public Adapter createAbstractAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.AbstractResourceConfig <em>Abstract Resource Config</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.jboss.tools.smooks.model.smooks.AbstractResourceConfig
+ * @generated
+ */
+ public Adapter createAbstractResourceConfigAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ElementVisitor <em>Element Visitor</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.jboss.tools.smooks.model.smooks.ElementVisitor
+ * @generated
+ */
+ public Adapter createElementVisitorAdapter() {
+ 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;
+ }
+
+} //CalcAdapterFactory
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.util.CalcResourceImpl
+ * @generated
+ */
+public class CalcResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new CalcResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //CalcResourceFactoryImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.calc.util.CalcResourceFactoryImpl
+ * @generated
+ */
+public class CalcResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public CalcResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //CalcResourceImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,222 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.xml.type.AnyType;
+
+import org.jboss.tools.smooks.model.calc.*;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- 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.jboss.tools.smooks.model.calc.CalcPackage
+ * @generated
+ */
+public class CalcSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CalcPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcSwitch() {
+ if (modelPackage == null) {
+ modelPackage = CalcPackage.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 CalcPackage.COUNTER: {
+ Counter counter = (Counter)theEObject;
+ T result = caseCounter(counter);
+ if (result == null) result = caseElementVisitor(counter);
+ if (result == null) result = caseAbstractResourceConfig(counter);
+ if (result == null) result = caseAbstractAnyType(counter);
+ if (result == null) result = caseAnyType(counter);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case CalcPackage.CALC_DOCUMENT_ROOT: {
+ CalcDocumentRoot calcDocumentRoot = (CalcDocumentRoot)theEObject;
+ T result = caseCalcDocumentRoot(calcDocumentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Counter</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>Counter</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCounter(Counter object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Document Root</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>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCalcDocumentRoot(CalcDocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Any Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Any Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAnyType(AnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Any Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Abstract Any Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractAnyType(AbstractAnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Resource Config</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>Abstract Resource Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Element Visitor</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 Visitor</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseElementVisitor(ElementVisitor 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;
+ }
+
+} //CalcSwitch
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.calc.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.jboss.tools.smooks.model.calc.CalcPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CalcXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CalcXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ CalcPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the CalcResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new CalcResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new CalcResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //CalcXMLProcessor
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/calc/util/CalcXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,151 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Source Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect <em>Direct</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI <em>JNDI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DataSourceDocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ EMap<String, String> getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap<String, String> getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Direct</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Direct datasource configuration
+ * The direct datasource resource creates a connection to a datasource and
+ * makes it available in the ExecutionContext. The datasource can then be used
+ * by other cartridges to access the datasource.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Direct</em>' containment reference.
+ * @see #setDirect(Direct)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_Direct()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='direct' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
+ * @generated
+ */
+ Direct getDirect();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect <em>Direct</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Direct</em>' containment reference.
+ * @see #getDirect()
+ * @generated
+ */
+ void setDirect(Direct value);
+
+ /**
+ * Returns the value of the '<em><b>JNDI</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * JNDI datasource configuration
+ * The JNDI datasource resource retrieves a datasource from the JNDI and
+ * makes it available in the ExecutionContext. The datasource can then be used
+ * by other cartridges to access the datasource.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>JNDI</em>' containment reference.
+ * @see #setJNDI(DataSourceJndi)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceDocumentRoot_JNDI()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='JNDI' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
+ * @generated
+ */
+ DataSourceJndi getJNDI();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI <em>JNDI</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>JNDI</em>' containment reference.
+ * @see #getJNDI()
+ * @generated
+ */
+ void setJNDI(DataSourceJndi value);
+
+} // DataSourceDocumentRoot
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceDocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,150 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Data Source Jndi</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * JNDI Datasource
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto Commit</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement <em>Bind On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource <em>Datasource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi()
+ * @model extendedMetaData="name='Jndi' kind='elementOnly'"
+ * @generated
+ */
+public interface DataSourceJndi extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Auto Commit</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the datasource should automaticly commit.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Auto Commit</em>' attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi_AutoCommit()
+ * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" required="true"
+ * extendedMetaData="kind='attribute' name='autoCommit'"
+ * @generated
+ */
+ boolean isAutoCommit();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auto Commit</em>' attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @generated
+ */
+ void setAutoCommit(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ void unsetAutoCommit();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto Commit</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Auto Commit</em>' attribute is set.
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ boolean isSetAutoCommit();
+
+ /**
+ * Returns the value of the '<em><b>Bind On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The element on which the datasource is bound. On the visitAfter
+ * of the element the connection does a Commit or Rollback depending
+ * if a exception got thrown.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bind On Element</em>' attribute.
+ * @see #setBindOnElement(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi_BindOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='bindOnElement'"
+ * @generated
+ */
+ String getBindOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement <em>Bind On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind On Element</em>' attribute.
+ * @see #getBindOnElement()
+ * @generated
+ */
+ void setBindOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Datasource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The reference name of the datasource. This name must be used
+ * to retrieve the datasource from the ExecutionContext.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Datasource</em>' attribute.
+ * @see #setDatasource(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDataSourceJndi_Datasource()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='datasource'"
+ * @generated
+ */
+ String getDatasource();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource <em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Datasource</em>' attribute.
+ * @see #getDatasource()
+ * @generated
+ */
+ void setDatasource(String value);
+
+} // DataSourceJndi
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DataSourceJndi.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,64 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+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.jboss.tools.smooks.model.datasource.DatasourcePackage
+ * @generated
+ */
+public interface DatasourceFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DatasourceFactory eINSTANCE = org.jboss.tools.smooks.model.datasource.impl.DatasourceFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Direct</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Direct</em>'.
+ * @generated
+ */
+ Direct createDirect();
+
+ /**
+ * Returns a new object of class '<em>Data Source Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Source Document Root</em>'.
+ * @generated
+ */
+ DataSourceDocumentRoot createDataSourceDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Data Source Jndi</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Data Source Jndi</em>'.
+ * @generated
+ */
+ DataSourceJndi createDataSourceJndi();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ DatasourcePackage getDatasourcePackage();
+
+} //DatasourceFactory
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourceFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,746 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+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.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+/**
+ * <!-- 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 -->
+ * <!-- begin-model-doc -->
+ * Smooks Datasource Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.DatasourceFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface DatasourcePackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "datasource";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/datasource-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "ds";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DatasourcePackage eINSTANCE = org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl <em>Direct</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DirectImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDirect()
+ * @generated
+ */
+ int DIRECT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Auto Commit</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__AUTO_COMMIT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bind On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__BIND_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Bind On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__BIND_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Datasource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__DATASOURCE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Driver</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__DRIVER = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__PASSWORD = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Url</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__URL = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Username</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT__USERNAME = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 7;
+
+ /**
+ * The number of structural features of the '<em>Direct</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DIRECT_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 8;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl <em>Data Source Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceDocumentRoot()
+ * @generated
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Direct</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__DIRECT = 3;
+
+ /**
+ * The feature id for the '<em><b>JNDI</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT__JNDI = 4;
+
+ /**
+ * The number of structural features of the '<em>Data Source Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_DOCUMENT_ROOT_FEATURE_COUNT = 5;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl <em>Data Source Jndi</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceJndi()
+ * @generated
+ */
+ int DATA_SOURCE_JNDI = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__MIXED = SmooksPackage.ELEMENT_VISITOR__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__ANY = SmooksPackage.ELEMENT_VISITOR__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__ANY_ATTRIBUTE = SmooksPackage.ELEMENT_VISITOR__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__CONDITION = SmooksPackage.ELEMENT_VISITOR__CONDITION;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Auto Commit</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__AUTO_COMMIT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bind On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__BIND_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Datasource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI__DATASOURCE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Data Source Jndi</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DATA_SOURCE_JNDI_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.datasource.Direct <em>Direct</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Direct</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct
+ * @generated
+ */
+ EClass getDirect();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto Commit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Auto Commit</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_AutoCommit();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement <em>Bind On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bind On Element</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_BindOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS <em>Bind On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bind On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_BindOnElementNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getDatasource <em>Datasource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Datasource</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getDatasource()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Datasource();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getDriver <em>Driver</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Driver</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getDriver()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Driver();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getPassword <em>Password</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Password</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getPassword()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Password();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getUrl <em>Url</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Url</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getUrl()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Url();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.Direct#getUsername <em>Username</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Username</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.Direct#getUsername()
+ * @see #getDirect()
+ * @generated
+ */
+ EAttribute getDirect_Username();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot <em>Data Source Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Source Document Root</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot
+ * @generated
+ */
+ EClass getDataSourceDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getMixed()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EAttribute getDataSourceDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXMLNSPrefixMap()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getXSISchemaLocation()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect <em>Direct</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Direct</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getDirect()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_Direct();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI <em>JNDI</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>JNDI</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot#getJNDI()
+ * @see #getDataSourceDocumentRoot()
+ * @generated
+ */
+ EReference getDataSourceDocumentRoot_JNDI();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi <em>Data Source Jndi</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Data Source Jndi</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi
+ * @generated
+ */
+ EClass getDataSourceJndi();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit <em>Auto Commit</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Auto Commit</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi#isAutoCommit()
+ * @see #getDataSourceJndi()
+ * @generated
+ */
+ EAttribute getDataSourceJndi_AutoCommit();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement <em>Bind On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bind On Element</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi#getBindOnElement()
+ * @see #getDataSourceJndi()
+ * @generated
+ */
+ EAttribute getDataSourceJndi_BindOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource <em>Datasource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Datasource</em>'.
+ * @see org.jboss.tools.smooks.model.datasource.DataSourceJndi#getDatasource()
+ * @see #getDataSourceJndi()
+ * @generated
+ */
+ EAttribute getDataSourceJndi_Datasource();
+
+ /**
+ * 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
+ */
+ DatasourceFactory getDatasourceFactory();
+
+ /**
+ * <!-- 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.jboss.tools.smooks.model.datasource.impl.DirectImpl <em>Direct</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DirectImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDirect()
+ * @generated
+ */
+ EClass DIRECT = eINSTANCE.getDirect();
+
+ /**
+ * The meta object literal for the '<em><b>Auto Commit</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__AUTO_COMMIT = eINSTANCE.getDirect_AutoCommit();
+
+ /**
+ * The meta object literal for the '<em><b>Bind On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__BIND_ON_ELEMENT = eINSTANCE.getDirect_BindOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Bind On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__BIND_ON_ELEMENT_NS = eINSTANCE.getDirect_BindOnElementNS();
+
+ /**
+ * The meta object literal for the '<em><b>Datasource</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__DATASOURCE = eINSTANCE.getDirect_Datasource();
+
+ /**
+ * The meta object literal for the '<em><b>Driver</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__DRIVER = eINSTANCE.getDirect_Driver();
+
+ /**
+ * The meta object literal for the '<em><b>Password</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__PASSWORD = eINSTANCE.getDirect_Password();
+
+ /**
+ * The meta object literal for the '<em><b>Url</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__URL = eINSTANCE.getDirect_Url();
+
+ /**
+ * The meta object literal for the '<em><b>Username</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DIRECT__USERNAME = eINSTANCE.getDirect_Username();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl <em>Data Source Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceDocumentRoot()
+ * @generated
+ */
+ EClass DATA_SOURCE_DOCUMENT_ROOT = eINSTANCE.getDataSourceDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_DOCUMENT_ROOT__MIXED = eINSTANCE.getDataSourceDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDataSourceDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDataSourceDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Direct</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__DIRECT = eINSTANCE.getDataSourceDocumentRoot_Direct();
+
+ /**
+ * The meta object literal for the '<em><b>JNDI</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DATA_SOURCE_DOCUMENT_ROOT__JNDI = eINSTANCE.getDataSourceDocumentRoot_JNDI();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl <em>Data Source Jndi</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl
+ * @see org.jboss.tools.smooks.model.datasource.impl.DatasourcePackageImpl#getDataSourceJndi()
+ * @generated
+ */
+ EClass DATA_SOURCE_JNDI = eINSTANCE.getDataSourceJndi();
+
+ /**
+ * The meta object literal for the '<em><b>Auto Commit</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_JNDI__AUTO_COMMIT = eINSTANCE.getDataSourceJndi_AutoCommit();
+
+ /**
+ * The meta object literal for the '<em><b>Bind On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_JNDI__BIND_ON_ELEMENT = eINSTANCE.getDataSourceJndi_BindOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Datasource</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DATA_SOURCE_JNDI__DATASOURCE = eINSTANCE.getDataSourceJndi_Datasource();
+
+ }
+
+} //DatasourcePackage
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/DatasourcePackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,295 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource;
+
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Direct</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Direct Datasource
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto Commit</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement <em>Bind On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS <em>Bind On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getDatasource <em>Datasource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getDriver <em>Driver</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getPassword <em>Password</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getUrl <em>Url</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.Direct#getUsername <em>Username</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect()
+ * @model extendedMetaData="name='direct' kind='elementOnly'"
+ * @generated
+ */
+public interface Direct extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Auto Commit</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * If the datasource should automaticly commit.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Auto Commit</em>' attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_AutoCommit()
+ * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean" required="true"
+ * extendedMetaData="kind='attribute' name='autoCommit'"
+ * @generated
+ */
+ boolean isAutoCommit();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Auto Commit</em>' attribute.
+ * @see #isSetAutoCommit()
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @generated
+ */
+ void setAutoCommit(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ void unsetAutoCommit();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#isAutoCommit <em>Auto Commit</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Auto Commit</em>' attribute is set.
+ * @see #unsetAutoCommit()
+ * @see #isAutoCommit()
+ * @see #setAutoCommit(boolean)
+ * @generated
+ */
+ boolean isSetAutoCommit();
+
+ /**
+ * Returns the value of the '<em><b>Bind On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The element on which the datasource is bound. On the visitAfter
+ * of the element the connection does a Commit or Rollback depending
+ * if a exception got thrown.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bind On Element</em>' attribute.
+ * @see #setBindOnElement(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_BindOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='bindOnElement'"
+ * @generated
+ */
+ String getBindOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElement <em>Bind On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind On Element</em>' attribute.
+ * @see #getBindOnElement()
+ * @generated
+ */
+ void setBindOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Bind On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The namespace of the bindOnElement element
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bind On Element NS</em>' attribute.
+ * @see #setBindOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_BindOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='bindOnElementNS'"
+ * @generated
+ */
+ String getBindOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getBindOnElementNS <em>Bind On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind On Element NS</em>' attribute.
+ * @see #getBindOnElementNS()
+ * @generated
+ */
+ void setBindOnElementNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Datasource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The reference name of the datasource. This name must be used
+ * to retrieve the datasource from the ExecutionContext.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Datasource</em>' attribute.
+ * @see #setDatasource(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Datasource()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='datasource'"
+ * @generated
+ */
+ String getDatasource();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getDatasource <em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Datasource</em>' attribute.
+ * @see #getDatasource()
+ * @generated
+ */
+ void setDatasource(String value);
+
+ /**
+ * Returns the value of the '<em><b>Driver</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The JDBC driver name
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Driver</em>' attribute.
+ * @see #setDriver(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Driver()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='driver'"
+ * @generated
+ */
+ String getDriver();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getDriver <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Driver</em>' attribute.
+ * @see #getDriver()
+ * @generated
+ */
+ void setDriver(String value);
+
+ /**
+ * Returns the value of the '<em><b>Password</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The password
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Password</em>' attribute.
+ * @see #setPassword(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Password()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='password'"
+ * @generated
+ */
+ String getPassword();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getPassword <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Password</em>' attribute.
+ * @see #getPassword()
+ * @generated
+ */
+ void setPassword(String value);
+
+ /**
+ * Returns the value of the '<em><b>Url</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The JDBC URL
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Url</em>' attribute.
+ * @see #setUrl(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Url()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
+ * extendedMetaData="kind='attribute' name='url'"
+ * @generated
+ */
+ String getUrl();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getUrl <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Url</em>' attribute.
+ * @see #getUrl()
+ * @generated
+ */
+ void setUrl(String value);
+
+ /**
+ * Returns the value of the '<em><b>Username</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The username
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Username</em>' attribute.
+ * @see #setUsername(String)
+ * @see org.jboss.tools.smooks.model.datasource.DatasourcePackage#getDirect_Username()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='username'"
+ * @generated
+ */
+ String getUsername();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.datasource.Direct#getUsername <em>Username</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Username</em>' attribute.
+ * @see #getUsername()
+ * @generated
+ */
+ void setUsername(String value);
+
+} // Direct
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/Direct.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,327 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Source Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getDirect <em>Direct</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceDocumentRootImpl#getJNDI <em>JNDI</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataSourceDocumentRootImpl extends EObjectImpl implements DataSourceDocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xMLNSPrefixMap;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> xSISchemaLocation;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceDocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Direct getDirect() {
+ return (Direct)getMixed().get(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDirect(Direct newDirect, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT, newDirect, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirect(Direct newDirect) {
+ ((FeatureMap.Internal)getMixed()).set(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT, newDirect);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceJndi getJNDI() {
+ return (DataSourceJndi)getMixed().get(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetJNDI(DataSourceJndi newJNDI, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI, newJNDI, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setJNDI(DataSourceJndi newJNDI) {
+ ((FeatureMap.Internal)getMixed()).set(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI, newJNDI);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ return basicSetDirect(null, msgs);
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ return basicSetJNDI(null, 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 DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ return getDirect();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ return getJNDI();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ setDirect((Direct)newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ setJNDI((DataSourceJndi)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ setDirect((Direct)null);
+ return;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ setJNDI((DataSourceJndi)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ return getDirect() != null;
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ return getJNDI() != null;
+ }
+ 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(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataSourceDocumentRootImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceDocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,307 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Data Source Jndi</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl#isAutoCommit <em>Auto Commit</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl#getBindOnElement <em>Bind On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DataSourceJndiImpl#getDatasource <em>Datasource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DataSourceJndiImpl extends ElementVisitorImpl implements DataSourceJndi {
+ /**
+ * The default value of the '{@link #isAutoCommit() <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean AUTO_COMMIT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAutoCommit() <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommit = AUTO_COMMIT_EDEFAULT;
+
+ /**
+ * This is true if the Auto Commit attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommitESet;
+
+ /**
+ * The default value of the '{@link #getBindOnElement() <em>Bind On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String BIND_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBindOnElement() <em>Bind On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String bindOnElement = BIND_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDatasource() <em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATASOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDatasource() <em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected String datasource = DATASOURCE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceJndiImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatasourcePackage.Literals.DATA_SOURCE_JNDI;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAutoCommit() {
+ return autoCommit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAutoCommit(boolean newAutoCommit) {
+ boolean oldAutoCommit = autoCommit;
+ autoCommit = newAutoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommitESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT, oldAutoCommit, autoCommit, !oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAutoCommit() {
+ boolean oldAutoCommit = autoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommit = AUTO_COMMIT_EDEFAULT;
+ autoCommitESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT, oldAutoCommit, AUTO_COMMIT_EDEFAULT, oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAutoCommit() {
+ return autoCommitESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBindOnElement() {
+ return bindOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindOnElement(String newBindOnElement) {
+ String oldBindOnElement = bindOnElement;
+ bindOnElement = newBindOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT, oldBindOnElement, bindOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDatasource() {
+ return datasource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDatasource(String newDatasource) {
+ String oldDatasource = datasource;
+ datasource = newDatasource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE, oldDatasource, datasource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ return isAutoCommit() ? Boolean.TRUE : Boolean.FALSE;
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ return getBindOnElement();
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ return getDatasource();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ setAutoCommit(((Boolean)newValue).booleanValue());
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ setBindOnElement((String)newValue);
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ setDatasource((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ unsetAutoCommit();
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ setBindOnElement(BIND_ON_ELEMENT_EDEFAULT);
+ return;
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ setDatasource(DATASOURCE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ return isSetAutoCommit();
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ return BIND_ON_ELEMENT_EDEFAULT == null ? bindOnElement != null : !BIND_ON_ELEMENT_EDEFAULT.equals(bindOnElement);
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ return DATASOURCE_EDEFAULT == null ? datasource != null : !DATASOURCE_EDEFAULT.equals(datasource);
+ }
+ 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(" (autoCommit: ");
+ if (autoCommitESet) result.append(autoCommit); else result.append("<unset>");
+ result.append(", bindOnElement: ");
+ result.append(bindOnElement);
+ result.append(", datasource: ");
+ result.append(datasource);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DataSourceJndiImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DataSourceJndiImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,123 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.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.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourceFactory;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourceFactoryImpl extends EFactoryImpl implements DatasourceFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static DatasourceFactory init() {
+ try {
+ DatasourceFactory theDatasourceFactory = (DatasourceFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/xsd/smooks/datasource-1.1.xsd");
+ if (theDatasourceFactory != null) {
+ return theDatasourceFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DatasourceFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DatasourcePackage.DIRECT: return createDirect();
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT: return createDataSourceDocumentRoot();
+ case DatasourcePackage.DATA_SOURCE_JNDI: return createDataSourceJndi();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Direct createDirect() {
+ DirectImpl direct = new DirectImpl();
+ return direct;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceDocumentRoot createDataSourceDocumentRoot() {
+ DataSourceDocumentRootImpl dataSourceDocumentRoot = new DataSourceDocumentRootImpl();
+ return dataSourceDocumentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceJndi createDataSourceJndi() {
+ DataSourceJndiImpl dataSourceJndi = new DataSourceJndiImpl();
+ return dataSourceJndi;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourcePackage getDatasourcePackage() {
+ return (DatasourcePackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static DatasourcePackage getPackage() {
+ return DatasourcePackage.eINSTANCE;
+ }
+
+} //DatasourceFactoryImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,568 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.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.emf.ecore.xml.type.XMLTypePackage;
+import org.jboss.tools.smooks.model.common.CommonPackage;
+import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourceFactory;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourcePackageImpl extends EPackageImpl implements DatasourcePackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass directEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataSourceDocumentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass dataSourceJndiEClass = 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.jboss.tools.smooks.model.datasource.DatasourcePackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DatasourcePackageImpl() {
+ super(eNS_URI, DatasourceFactory.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. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DatasourcePackage init() {
+ if (isInited) return (DatasourcePackage)EPackage.Registry.INSTANCE.getEPackage(DatasourcePackage.eNS_URI);
+
+ // Obtain or create and register package
+ DatasourcePackageImpl theDatasourcePackage = (DatasourcePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof DatasourcePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new DatasourcePackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ SmooksPackageImpl theSmooksPackage = (SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) instanceof SmooksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
+ CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theDatasourcePackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDatasourcePackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theDatasourcePackage.freeze();
+
+ return theDatasourcePackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDirect() {
+ return directEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_AutoCommit() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_BindOnElement() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_BindOnElementNS() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Datasource() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Driver() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Password() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Url() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDirect_Username() {
+ return (EAttribute)directEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataSourceDocumentRoot() {
+ return dataSourceDocumentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceDocumentRoot_Mixed() {
+ return (EAttribute)dataSourceDocumentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_XSISchemaLocation() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_Direct() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDataSourceDocumentRoot_JNDI() {
+ return (EReference)dataSourceDocumentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDataSourceJndi() {
+ return dataSourceJndiEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceJndi_AutoCommit() {
+ return (EAttribute)dataSourceJndiEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceJndi_BindOnElement() {
+ return (EAttribute)dataSourceJndiEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDataSourceJndi_Datasource() {
+ return (EAttribute)dataSourceJndiEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceFactory getDatasourceFactory() {
+ return (DatasourceFactory)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
+ directEClass = createEClass(DIRECT);
+ createEAttribute(directEClass, DIRECT__AUTO_COMMIT);
+ createEAttribute(directEClass, DIRECT__BIND_ON_ELEMENT);
+ createEAttribute(directEClass, DIRECT__BIND_ON_ELEMENT_NS);
+ createEAttribute(directEClass, DIRECT__DATASOURCE);
+ createEAttribute(directEClass, DIRECT__DRIVER);
+ createEAttribute(directEClass, DIRECT__PASSWORD);
+ createEAttribute(directEClass, DIRECT__URL);
+ createEAttribute(directEClass, DIRECT__USERNAME);
+
+ dataSourceDocumentRootEClass = createEClass(DATA_SOURCE_DOCUMENT_ROOT);
+ createEAttribute(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__MIXED);
+ createEReference(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__DIRECT);
+ createEReference(dataSourceDocumentRootEClass, DATA_SOURCE_DOCUMENT_ROOT__JNDI);
+
+ dataSourceJndiEClass = createEClass(DATA_SOURCE_JNDI);
+ createEAttribute(dataSourceJndiEClass, DATA_SOURCE_JNDI__AUTO_COMMIT);
+ createEAttribute(dataSourceJndiEClass, DATA_SOURCE_JNDI__BIND_ON_ELEMENT);
+ createEAttribute(dataSourceJndiEClass, DATA_SOURCE_JNDI__DATASOURCE);
+ }
+
+ /**
+ * <!-- 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
+ SmooksPackage theSmooksPackage = (SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ directEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+ dataSourceJndiEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(directEClass, Direct.class, "Direct", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDirect_AutoCommit(), theXMLTypePackage.getBoolean(), "autoCommit", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_BindOnElement(), theXMLTypePackage.getString(), "bindOnElement", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_BindOnElementNS(), theXMLTypePackage.getString(), "bindOnElementNS", null, 0, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Datasource(), theXMLTypePackage.getString(), "datasource", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Driver(), theXMLTypePackage.getString(), "driver", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Password(), theXMLTypePackage.getString(), "password", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Url(), theXMLTypePackage.getAnyURI(), "url", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDirect_Username(), theXMLTypePackage.getString(), "username", null, 1, 1, Direct.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(dataSourceDocumentRootEClass, DataSourceDocumentRoot.class, "DataSourceDocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDataSourceDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_Direct(), this.getDirect(), null, "direct", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDataSourceDocumentRoot_JNDI(), this.getDataSourceJndi(), null, "jNDI", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(dataSourceJndiEClass, DataSourceJndi.class, "DataSourceJndi", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDataSourceJndi_AutoCommit(), theXMLTypePackage.getBoolean(), "autoCommit", null, 1, 1, DataSourceJndi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDataSourceJndi_BindOnElement(), theXMLTypePackage.getString(), "bindOnElement", null, 1, 1, DataSourceJndi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDataSourceJndi_Datasource(), theXMLTypePackage.getString(), "datasource", null, 1, 1, DataSourceJndi.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (directEClass,
+ source,
+ new String[] {
+ "name", "direct",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getDirect_AutoCommit(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "autoCommit"
+ });
+ addAnnotation
+ (getDirect_BindOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bindOnElement"
+ });
+ addAnnotation
+ (getDirect_BindOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bindOnElementNS"
+ });
+ addAnnotation
+ (getDirect_Datasource(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "datasource"
+ });
+ addAnnotation
+ (getDirect_Driver(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "driver"
+ });
+ addAnnotation
+ (getDirect_Password(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "password"
+ });
+ addAnnotation
+ (getDirect_Url(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "url"
+ });
+ addAnnotation
+ (getDirect_Username(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "username"
+ });
+ addAnnotation
+ (dataSourceDocumentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_Direct(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "direct",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (getDataSourceDocumentRoot_JNDI(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "JNDI",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (dataSourceJndiEClass,
+ source,
+ new String[] {
+ "name", "Jndi",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getDataSourceJndi_AutoCommit(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "autoCommit"
+ });
+ addAnnotation
+ (getDataSourceJndi_BindOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "bindOnElement"
+ });
+ addAnnotation
+ (getDataSourceJndi_Datasource(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "datasource"
+ });
+ }
+
+} //DatasourcePackageImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DatasourcePackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,577 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Direct</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#isAutoCommit <em>Auto Commit</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getBindOnElement <em>Bind On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getBindOnElementNS <em>Bind On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getDatasource <em>Datasource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getDriver <em>Driver</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getPassword <em>Password</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getUrl <em>Url</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.datasource.impl.DirectImpl#getUsername <em>Username</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DirectImpl extends ElementVisitorImpl implements Direct {
+ /**
+ * The default value of the '{@link #isAutoCommit() <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean AUTO_COMMIT_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isAutoCommit() <em>Auto Commit</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isAutoCommit()
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommit = AUTO_COMMIT_EDEFAULT;
+
+ /**
+ * This is true if the Auto Commit attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean autoCommitESet;
+
+ /**
+ * The default value of the '{@link #getBindOnElement() <em>Bind On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String BIND_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBindOnElement() <em>Bind On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String bindOnElement = BIND_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getBindOnElementNS() <em>Bind On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String BIND_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBindOnElementNS() <em>Bind On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String bindOnElementNS = BIND_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDatasource() <em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATASOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDatasource() <em>Datasource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatasource()
+ * @generated
+ * @ordered
+ */
+ protected String datasource = DATASOURCE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDriver() <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected static final String DRIVER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDriver() <em>Driver</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDriver()
+ * @generated
+ * @ordered
+ */
+ protected String driver = DRIVER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getPassword() <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected static final String PASSWORD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getPassword() <em>Password</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPassword()
+ * @generated
+ * @ordered
+ */
+ protected String password = PASSWORD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUrl() <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected static final String URL_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUrl() <em>Url</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUrl()
+ * @generated
+ * @ordered
+ */
+ protected String url = URL_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getUsername() <em>Username</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsername()
+ * @generated
+ * @ordered
+ */
+ protected static final String USERNAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUsername() <em>Username</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUsername()
+ * @generated
+ * @ordered
+ */
+ protected String username = USERNAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DirectImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return DatasourcePackage.Literals.DIRECT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isAutoCommit() {
+ return autoCommit;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setAutoCommit(boolean newAutoCommit) {
+ boolean oldAutoCommit = autoCommit;
+ autoCommit = newAutoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommitESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__AUTO_COMMIT, oldAutoCommit, autoCommit, !oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetAutoCommit() {
+ boolean oldAutoCommit = autoCommit;
+ boolean oldAutoCommitESet = autoCommitESet;
+ autoCommit = AUTO_COMMIT_EDEFAULT;
+ autoCommitESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, DatasourcePackage.DIRECT__AUTO_COMMIT, oldAutoCommit, AUTO_COMMIT_EDEFAULT, oldAutoCommitESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetAutoCommit() {
+ return autoCommitESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBindOnElement() {
+ return bindOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindOnElement(String newBindOnElement) {
+ String oldBindOnElement = bindOnElement;
+ bindOnElement = newBindOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__BIND_ON_ELEMENT, oldBindOnElement, bindOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBindOnElementNS() {
+ return bindOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindOnElementNS(String newBindOnElementNS) {
+ String oldBindOnElementNS = bindOnElementNS;
+ bindOnElementNS = newBindOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS, oldBindOnElementNS, bindOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDatasource() {
+ return datasource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDatasource(String newDatasource) {
+ String oldDatasource = datasource;
+ datasource = newDatasource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__DATASOURCE, oldDatasource, datasource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDriver() {
+ return driver;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDriver(String newDriver) {
+ String oldDriver = driver;
+ driver = newDriver;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__DRIVER, oldDriver, driver));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPassword(String newPassword) {
+ String oldPassword = password;
+ password = newPassword;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__PASSWORD, oldPassword, password));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUrl() {
+ return url;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUrl(String newUrl) {
+ String oldUrl = url;
+ url = newUrl;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__URL, oldUrl, url));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUsername(String newUsername) {
+ String oldUsername = username;
+ username = newUsername;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatasourcePackage.DIRECT__USERNAME, oldUsername, username));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ return isAutoCommit() ? Boolean.TRUE : Boolean.FALSE;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ return getBindOnElement();
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ return getBindOnElementNS();
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ return getDatasource();
+ case DatasourcePackage.DIRECT__DRIVER:
+ return getDriver();
+ case DatasourcePackage.DIRECT__PASSWORD:
+ return getPassword();
+ case DatasourcePackage.DIRECT__URL:
+ return getUrl();
+ case DatasourcePackage.DIRECT__USERNAME:
+ return getUsername();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ setAutoCommit(((Boolean)newValue).booleanValue());
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ setBindOnElement((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ setBindOnElementNS((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ setDatasource((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__DRIVER:
+ setDriver((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__PASSWORD:
+ setPassword((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__URL:
+ setUrl((String)newValue);
+ return;
+ case DatasourcePackage.DIRECT__USERNAME:
+ setUsername((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ unsetAutoCommit();
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ setBindOnElement(BIND_ON_ELEMENT_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ setBindOnElementNS(BIND_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ setDatasource(DATASOURCE_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__DRIVER:
+ setDriver(DRIVER_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__PASSWORD:
+ setPassword(PASSWORD_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__URL:
+ setUrl(URL_EDEFAULT);
+ return;
+ case DatasourcePackage.DIRECT__USERNAME:
+ setUsername(USERNAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ return isSetAutoCommit();
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ return BIND_ON_ELEMENT_EDEFAULT == null ? bindOnElement != null : !BIND_ON_ELEMENT_EDEFAULT.equals(bindOnElement);
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ return BIND_ON_ELEMENT_NS_EDEFAULT == null ? bindOnElementNS != null : !BIND_ON_ELEMENT_NS_EDEFAULT.equals(bindOnElementNS);
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ return DATASOURCE_EDEFAULT == null ? datasource != null : !DATASOURCE_EDEFAULT.equals(datasource);
+ case DatasourcePackage.DIRECT__DRIVER:
+ return DRIVER_EDEFAULT == null ? driver != null : !DRIVER_EDEFAULT.equals(driver);
+ case DatasourcePackage.DIRECT__PASSWORD:
+ return PASSWORD_EDEFAULT == null ? password != null : !PASSWORD_EDEFAULT.equals(password);
+ case DatasourcePackage.DIRECT__URL:
+ return URL_EDEFAULT == null ? url != null : !URL_EDEFAULT.equals(url);
+ case DatasourcePackage.DIRECT__USERNAME:
+ return USERNAME_EDEFAULT == null ? username != null : !USERNAME_EDEFAULT.equals(username);
+ }
+ 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(" (autoCommit: ");
+ if (autoCommitESet) result.append(autoCommit); else result.append("<unset>");
+ result.append(", bindOnElement: ");
+ result.append(bindOnElement);
+ result.append(", bindOnElementNS: ");
+ result.append(bindOnElementNS);
+ result.append(", datasource: ");
+ result.append(datasource);
+ result.append(", driver: ");
+ result.append(driver);
+ result.append(", password: ");
+ result.append(password);
+ result.append(", url: ");
+ result.append(url);
+ result.append(", username: ");
+ result.append(username);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DirectImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/impl/DirectImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,178 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DatasourceFactory;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+
+/**
+ * This is the item provider adapter for a {@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DataSourceDocumentRootItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceDocumentRootItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT);
+ childrenFeatures.add(DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns DataSourceDocumentRoot.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DataSourceDocumentRoot"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_DataSourceDocumentRoot_type");
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DataSourceDocumentRoot.class)) {
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__DIRECT:
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT__JNDI:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__DIRECT,
+ DatasourceFactory.eINSTANCE.createDirect()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (DatasourcePackage.Literals.DATA_SOURCE_DOCUMENT_ROOT__JNDI,
+ DatasourceFactory.eINSTANCE.createDataSourceJndi()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return Datasource1EditPlugin.INSTANCE;
+ }
+
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceDocumentRootItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,207 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.smooks.provider.ElementVisitorItemProvider;
+
+
+/**
+ * This is the item provider adapter for a {@link org.jboss.tools.smooks.model.datasource.DataSourceJndi} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DataSourceJndiItemProvider
+ extends ElementVisitorItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DataSourceJndiItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addAutoCommitPropertyDescriptor(object);
+ addBindOnElementPropertyDescriptor(object);
+ addDatasourcePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Auto Commit feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addAutoCommitPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DataSourceJndi_autoCommit_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DataSourceJndi_autoCommit_feature", "_UI_DataSourceJndi_type"),
+ DatasourcePackage.Literals.DATA_SOURCE_JNDI__AUTO_COMMIT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Bind On Element feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBindOnElementPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DataSourceJndi_bindOnElement_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DataSourceJndi_bindOnElement_feature", "_UI_DataSourceJndi_type"),
+ DatasourcePackage.Literals.DATA_SOURCE_JNDI__BIND_ON_ELEMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Datasource feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDatasourcePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DataSourceJndi_datasource_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DataSourceJndi_datasource_feature", "_UI_DataSourceJndi_type"),
+ DatasourcePackage.Literals.DATA_SOURCE_JNDI__DATASOURCE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns DataSourceJndi.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DataSourceJndi"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((DataSourceJndi)object).getTargetProfile();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DataSourceJndi_type") :
+ getString("_UI_DataSourceJndi_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DataSourceJndi.class)) {
+ case DatasourcePackage.DATA_SOURCE_JNDI__AUTO_COMMIT:
+ case DatasourcePackage.DATA_SOURCE_JNDI__BIND_ON_ELEMENT:
+ case DatasourcePackage.DATA_SOURCE_JNDI__DATASOURCE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return Datasource1EditPlugin.INSTANCE;
+ }
+
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DataSourceJndiItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,93 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+import org.eclipse.emf.common.EMFPlugin;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+/**
+ * This is the central singleton for the Datasource-1 edit plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public final class Datasource1EditPlugin extends EMFPlugin {
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final Datasource1EditPlugin INSTANCE = new Datasource1EditPlugin();
+
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Datasource1EditPlugin() {
+ super
+ (new ResourceLocator [] {
+ });
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Implementation() {
+ super();
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/Datasource1EditPlugin.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,250 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.edit.provider.ChangeNotifier;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.IChangeNotifier;
+import org.eclipse.emf.edit.provider.IDisposable;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.INotifyChangedListener;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.jboss.tools.smooks.model.datasource.util.DatasourceAdapterFactory;
+
+
+/**
+ * This is the factory that is used to provide the interfaces needed to support Viewers.
+ * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourceItemProviderAdapterFactory extends DatasourceAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Collection<Object> supportedTypes = new ArrayList<Object>();
+
+ /**
+ * This constructs an instance.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceItemProviderAdapterFactory() {
+ supportedTypes.add(IEditingDomainItemProvider.class);
+ supportedTypes.add(IStructuredItemContentProvider.class);
+ supportedTypes.add(ITreeItemContentProvider.class);
+ supportedTypes.add(IItemLabelProvider.class);
+ supportedTypes.add(IItemPropertySource.class);
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.jboss.tools.smooks.model.datasource.Direct} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DirectItemProvider directItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.jboss.tools.smooks.model.datasource.Direct}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDirectAdapter() {
+ if (directItemProvider == null) {
+ directItemProvider = new DirectItemProvider(this);
+ }
+
+ return directItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceDocumentRootItemProvider dataSourceDocumentRootItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDataSourceDocumentRootAdapter() {
+ if (dataSourceDocumentRootItemProvider == null) {
+ dataSourceDocumentRootItemProvider = new DataSourceDocumentRootItemProvider(this);
+ }
+
+ return dataSourceDocumentRootItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.jboss.tools.smooks.model.datasource.DataSourceJndi} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DataSourceJndiItemProvider dataSourceJndiItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.jboss.tools.smooks.model.datasource.DataSourceJndi}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createDataSourceJndiAdapter() {
+ if (dataSourceJndiItemProvider == null) {
+ dataSourceJndiItemProvider = new DataSourceJndiItemProvider(this);
+ }
+
+ return dataSourceJndiItemProvider;
+ }
+
+ /**
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposeableAdapterFactory getRootAdapterFactory() {
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object type) {
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
+
+ /**
+ * This implementation substitutes the factory itself as the key for the adapter.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter adapt(Notifier notifier, Object type) {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object adapt(Object object, Object type) {
+ if (isFactoryForType(type)) {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class) || (((Class<?>)type).isInstance(adapter))) {
+ return adapter;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * This adds a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void addListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void fireNotifyChanged(Notification notification) {
+ changeNotifier.fireNotifyChanged(notification);
+
+ if (parentAdapterFactory != null) {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
+
+ /**
+ * This disposes all of the item providers created by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void dispose() {
+ if (directItemProvider != null) directItemProvider.dispose();
+ if (dataSourceDocumentRootItemProvider != null) dataSourceDocumentRootItemProvider.dispose();
+ if (dataSourceJndiItemProvider != null) dataSourceJndiItemProvider.dispose();
+ }
+
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DatasourceItemProviderAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,327 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.provider.ElementVisitorItemProvider;
+
+
+/**
+ * This is the item provider adapter for a {@link org.jboss.tools.smooks.model.datasource.Direct} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DirectItemProvider
+ extends ElementVisitorItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DirectItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addAutoCommitPropertyDescriptor(object);
+ addBindOnElementPropertyDescriptor(object);
+ addBindOnElementNSPropertyDescriptor(object);
+ addDatasourcePropertyDescriptor(object);
+ addDriverPropertyDescriptor(object);
+ addPasswordPropertyDescriptor(object);
+ addUrlPropertyDescriptor(object);
+ addUsernamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Auto Commit feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addAutoCommitPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_autoCommit_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_autoCommit_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__AUTO_COMMIT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Bind On Element feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBindOnElementPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_bindOnElement_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_bindOnElement_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__BIND_ON_ELEMENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Bind On Element NS feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBindOnElementNSPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_bindOnElementNS_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_bindOnElementNS_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__BIND_ON_ELEMENT_NS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Datasource feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDatasourcePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_datasource_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_datasource_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__DATASOURCE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Driver feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDriverPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_driver_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_driver_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__DRIVER,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Password feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addPasswordPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_password_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_password_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__PASSWORD,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Url feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUrlPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_url_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_url_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__URL,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Username feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUsernamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_Direct_username_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Direct_username_feature", "_UI_Direct_type"),
+ DatasourcePackage.Literals.DIRECT__USERNAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns Direct.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Direct"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Direct)object).getUsername();
+ return label == null || label.length() == 0 ?
+ getString("_UI_Direct_type") :
+ getString("_UI_Direct_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Direct.class)) {
+ case DatasourcePackage.DIRECT__AUTO_COMMIT:
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT:
+ case DatasourcePackage.DIRECT__BIND_ON_ELEMENT_NS:
+ case DatasourcePackage.DIRECT__DATASOURCE:
+ case DatasourcePackage.DIRECT__DRIVER:
+ case DatasourcePackage.DIRECT__PASSWORD:
+ case DatasourcePackage.DIRECT__URL:
+ case DatasourcePackage.DIRECT__USERNAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return Datasource1EditPlugin.INSTANCE;
+ }
+
+}
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/provider/DirectItemProvider.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,237 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.xml.type.AnyType;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+
+/**
+ * <!-- 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.jboss.tools.smooks.model.datasource.DatasourcePackage
+ * @generated
+ */
+public class DatasourceAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DatasourcePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = DatasourcePackage.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 DatasourceSwitch<Adapter> modelSwitch =
+ new DatasourceSwitch<Adapter>() {
+ @Override
+ public Adapter caseDirect(Direct object) {
+ return createDirectAdapter();
+ }
+ @Override
+ public Adapter caseDataSourceDocumentRoot(DataSourceDocumentRoot object) {
+ return createDataSourceDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseDataSourceJndi(DataSourceJndi object) {
+ return createDataSourceJndiAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return createAbstractResourceConfigAdapter();
+ }
+ @Override
+ public Adapter caseElementVisitor(ElementVisitor object) {
+ return createElementVisitorAdapter();
+ }
+ @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.jboss.tools.smooks.model.datasource.Direct <em>Direct</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.jboss.tools.smooks.model.datasource.Direct
+ * @generated
+ */
+ public Adapter createDirectAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot <em>Data Source Document Root</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.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot
+ * @generated
+ */
+ public Adapter createDataSourceDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.datasource.DataSourceJndi <em>Data Source Jndi</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.jboss.tools.smooks.model.datasource.DataSourceJndi
+ * @generated
+ */
+ public Adapter createDataSourceJndiAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.xml.type.AnyType <em>Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.ecore.xml.type.AnyType
+ * @generated
+ */
+ public Adapter createAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link common.AbstractAnyType <em>Abstract Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see common.AbstractAnyType
+ * @generated
+ */
+ public Adapter createAbstractAnyTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link smooks.AbstractResourceConfig <em>Abstract Resource Config</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 smooks.AbstractResourceConfig
+ * @generated
+ */
+ public Adapter createAbstractResourceConfigAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link smooks.ElementVisitor <em>Element Visitor</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 smooks.ElementVisitor
+ * @generated
+ */
+ public Adapter createElementVisitorAdapter() {
+ 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;
+ }
+
+} //DatasourceAdapterFactory
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.util.DatasourceResourceImpl
+ * @generated
+ */
+public class DatasourceResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new DatasourceResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //DatasourceResourceFactoryImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.datasource.util.DatasourceResourceFactoryImpl
+ * @generated
+ */
+public class DatasourceResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public DatasourceResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //DatasourceResourceImpl
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.xml.type.AnyType;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+import org.jboss.tools.smooks.model.datasource.DataSourceDocumentRoot;
+import org.jboss.tools.smooks.model.datasource.DataSourceJndi;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+import org.jboss.tools.smooks.model.datasource.Direct;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+
+/**
+ * <!-- 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.jboss.tools.smooks.model.datasource.DatasourcePackage
+ * @generated
+ */
+public class DatasourceSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DatasourcePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceSwitch() {
+ if (modelPackage == null) {
+ modelPackage = DatasourcePackage.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 DatasourcePackage.DIRECT: {
+ Direct direct = (Direct)theEObject;
+ T result = caseDirect(direct);
+ if (result == null) result = caseElementVisitor(direct);
+ if (result == null) result = caseAbstractResourceConfig(direct);
+ if (result == null) result = caseAbstractAnyType(direct);
+ if (result == null) result = caseAnyType(direct);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatasourcePackage.DATA_SOURCE_DOCUMENT_ROOT: {
+ DataSourceDocumentRoot dataSourceDocumentRoot = (DataSourceDocumentRoot)theEObject;
+ T result = caseDataSourceDocumentRoot(dataSourceDocumentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatasourcePackage.DATA_SOURCE_JNDI: {
+ DataSourceJndi dataSourceJndi = (DataSourceJndi)theEObject;
+ T result = caseDataSourceJndi(dataSourceJndi);
+ if (result == null) result = caseElementVisitor(dataSourceJndi);
+ if (result == null) result = caseAbstractResourceConfig(dataSourceJndi);
+ if (result == null) result = caseAbstractAnyType(dataSourceJndi);
+ if (result == null) result = caseAnyType(dataSourceJndi);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Direct</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>Direct</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDirect(Direct object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Source Document Root</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>Data Source Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataSourceDocumentRoot(DataSourceDocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Data Source Jndi</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>Data Source Jndi</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDataSourceJndi(DataSourceJndi object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Any Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Any Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAnyType(AnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Any Type</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Abstract Any Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractAnyType(AbstractAnyType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Resource Config</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>Abstract Resource Config</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Element Visitor</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 Visitor</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseElementVisitor(ElementVisitor 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;
+ }
+
+} //DatasourceSwitch
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java (rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java 2009-04-15 04:38:38 UTC (rev 14749)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.datasource.util;
+
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+import org.jboss.tools.smooks.model.datasource.DatasourcePackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatasourceXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatasourceXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ DatasourcePackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the DatasourceResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected Map<String, Resource.Factory> getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new DatasourceResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new DatasourceResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //DatasourceXMLProcessor
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/src/org/jboss/tools/smooks/model/datasource/util/DatasourceXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
[View Less]
15 years, 9 months
JBoss Tools SVN: r14748 - in trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common: xml and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-04-14 20:53:23 -0400 (Tue, 14 Apr 2009)
New Revision: 14748
Modified:
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/DefaultProblemReporter.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemBuffer.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/…
[View More]reporting/Submit.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/DtdResolver.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLEntityResolver.java
trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java
Log:
code clean-up
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/DefaultProblemReporter.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/DefaultProblemReporter.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/DefaultProblemReporter.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -20,7 +20,9 @@
public class DefaultProblemReporter implements IProblemReporter {
public void reportProblem(IStatus status) {
- if(status != null) Platform.getLog(Platform.getBundle("org.jboss.tools.common")).log(status);
+ if(status != null) {
+ Platform.getLog(Platform.getBundle("org.jboss.tools.common")).log(status);
+ }
}
}
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemBuffer.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemBuffer.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemBuffer.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -11,14 +11,15 @@
package org.jboss.tools.common.reporting;
import java.io.File;
+
import org.eclipse.core.internal.runtime.PlatformLogWriter;
import org.eclipse.core.runtime.ILogListener;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.adaptor.EclipseLog;
import org.eclipse.osgi.framework.log.FrameworkLog;
+import org.jboss.tools.common.util.FileUtil;
import org.osgi.framework.Bundle;
-import org.jboss.tools.common.util.FileUtil;
/**
* This class is intended only to be called by Report Problem Framework.
@@ -43,7 +44,9 @@
*/
public int getSize() {
String s = getContent();
- if(s.length() == 0) return 0;
+ if(s.length() == 0) {
+ return 0;
+ }
int i = 0;
int c = 0;
while(i < s.length()) {
@@ -51,7 +54,9 @@
if(i >= 0) {
++c;
++i;
- } else break;
+ } else {
+ break;
+ }
}
return c;
}
@@ -72,7 +77,9 @@
public void clean() {
File f = getLogFile();
- if(f.exists()) f.delete();
+ if(f.exists()) {
+ f.delete();
+ }
}
/**
@@ -88,7 +95,9 @@
if(other != null && other.length() > 0) {
sb.append("Other=" + other + "\n");
}
- if(text != null) sb.append(text);
+ if(text != null) {
+ sb.append(text);
+ }
String reportText = sb.toString();
Submit.getInstance().submit(reportText, cleanBuffer);
}
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/ProblemReportingHelper.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -35,7 +35,9 @@
* @param throwable
*/
public static void reportProblem(String plugin, String message, Throwable throwable) {
- if(message==null) throw new IllegalArgumentException("Message parameter cannot be null");
+ if(message==null) {
+ throw new IllegalArgumentException("Message parameter cannot be null");
+ }
IStatus status = new Status(IStatus.ERROR, plugin, 0, message, throwable);
reportProblem(status);
}
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/Submit.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/Submit.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/reporting/Submit.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -53,6 +53,7 @@
*/
public void submit(final String reportText, final boolean cleanBuffer) {
Job job = new Job(JOB_NAME) {
+ @Override
public IStatus run(IProgressMonitor monitor) {
try {
submitReport(reportText);
@@ -62,7 +63,7 @@
if(exceptionMessage!=null && exceptionMessage.trim().length()>0) {
message = message + ".\r\n" + e.getClass().getName() + ": " + exceptionMessage;
}
- Status status = new Status(Status.WARNING, CommonPlugin.PLUGIN_ID, Status.WARNING, message, e);
+ Status status = new Status(IStatus.WARNING, CommonPlugin.PLUGIN_ID, IStatus.WARNING, message, e);
return status;
}
if(cleanBuffer) {
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/DtdResolver.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/DtdResolver.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/DtdResolver.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -23,14 +23,13 @@
import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.Platform;
import org.eclipse.wst.xml.core.internal.XMLCorePlugin;
+import org.jboss.tools.common.CommonPlugin;
+import org.jboss.tools.common.util.HttpUtil;
+import org.osgi.framework.Bundle;
import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
-import org.jboss.tools.common.CommonPlugin;
-import org.jboss.tools.common.util.HttpUtil;
-import org.osgi.framework.Bundle;
-
/**
* @author igels
*/
@@ -39,9 +38,13 @@
public InputStream getInputStream(String publicId, String systemId) throws SAXException, IOException {
String location = XMLCorePlugin.getDefault().getDefaultXMLCatalog().resolvePublic(publicId, systemId);
- if(location == null) location = XMLCorePlugin.getDefault().getDefaultXMLCatalog().resolveSystem(systemId);
- if(location == null) location = XMLCorePlugin.getDefault().getDefaultXMLCatalog().resolveURI(systemId);
if(location == null) {
+ location = XMLCorePlugin.getDefault().getDefaultXMLCatalog().resolveSystem(systemId);
+ }
+ if(location == null) {
+ location = XMLCorePlugin.getDefault().getDefaultXMLCatalog().resolveURI(systemId);
+ }
+ if(location == null) {
if(systemId != null && systemId.startsWith("file:") && systemId.endsWith(".xsd")) {
int i = systemId.replace('\\', '/').lastIndexOf('/');
String systemId2 = systemId.substring(i + 1);
@@ -56,11 +59,15 @@
String s = systemId.substring(q + 1);
URL u = b.getEntry("/dtdsAndSchemas/" + s);
try {
- if(u != null) u = FileLocator.resolve(u);
+ if(u != null) {
+ u = FileLocator.resolve(u);
+ }
} catch (IOException ee) {
u = null;
}
- if(u != null) location = u.toString();
+ if(u != null) {
+ location = u.toString();
+ }
}
}
if(location == null) {
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SAXValidator.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -122,9 +122,10 @@
ErrorHandlerImpl h = new ErrorHandlerImpl();
try {
XMLReader parser = createParser();
- if(parser==null)
- // TODO - Move to NLS bundle
+ if(parser==null) {
+ // TODO - Move to NLS bundle
return new String[]{ "error: Unable to instantiate parser ("+DEFAULT_SAX_PARSER_CLASS_NAME+")"};
+ }
parser.setErrorHandler(h);
parser.parse(is);
} catch (SAXException e) {
@@ -140,7 +141,7 @@
} finally {
// Thread.currentThread().setContextClassLoader(cc);
}
- return (String[])h.errors.toArray(new String[0]);
+ return h.errors.toArray(new String[0]);
}
/**
@@ -161,13 +162,17 @@
Bundle b = Platform.getBundle(CommonPlugin.PLUGIN_ID);
String location = Platform.getStateLocation(b).toString().replace('\\', '/');
- if(!location.endsWith("/")) location += "/";
+ if(!location.endsWith("/")) {
+ location += "/";
+ }
String urlString = null;
URL url = null;
try {
url = Platform.resolve(b.getEntry("/"));
urlString = url.toString();
- if(!urlString.endsWith("/")) urlString += "/";
+ if(!urlString.endsWith("/")) {
+ urlString += "/";
+ }
urlString += "schemas";
} catch (IOException e) {
CommonPlugin.getPluginLog().logError(e);
@@ -203,7 +208,8 @@
/**
*
*/
- public String resolveIdentifier(XMLResourceIdentifier resourceIdentifier) throws IOException {
+ @Override
+ public String resolveIdentifier(XMLResourceIdentifier resourceIdentifier) throws IOException {
String literal = resourceIdentifier.getLiteralSystemId();
if(literal != null && !literals.contains(literal)) {
literals.add(literal);
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/SafeDocumentBuilderFactory.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -38,12 +38,15 @@
this.validate = validate;
}
+ @Override
public void run () {
ClassLoader loader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(getClass().getClassLoader());
try {
DocumentBuilderFactory f = DocumentBuilderFactory.newInstance();
- if(validate) f.setValidating(validate);
+ if(validate) {
+ f.setValidating(validate);
+ }
/// f.setExpandEntityReferences(false);
d = f.newDocumentBuilder();
if(!validate) {
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLEntityResolver.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLEntityResolver.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLEntityResolver.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -10,7 +10,9 @@
import java.util.Properties;
import org.eclipse.core.runtime.FileLocator;
-import org.xml.sax.*;
+import org.xml.sax.EntityResolver;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
/**
* @author valera
@@ -26,7 +28,9 @@
public static void registerPublicEntity(String publicId, Class<?> loader, String resourceName) throws IOException {
URL url = resolve(loader, resourceName);
- if(url != null) registerPublicEntity(publicId, url.toString());
+ if(url != null) {
+ registerPublicEntity(publicId, url.toString());
+ }
}
public static void registerSystemEntity(String systemId, String url) {
@@ -35,7 +39,9 @@
public static void registerSystemEntity(String systemId, Class<?> loader, String resourceName) throws IOException {
URL url = resolve(loader, resourceName);
- if(url != null) registerSystemEntity(systemId, url.toString());
+ if(url != null) {
+ registerSystemEntity(systemId, url.toString());
+ }
}
static URL resolve(Class<?> loader, String resourceName) throws IOException {
Modified: trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java 2009-04-14 22:53:02 UTC (rev 14747)
+++ trunk/common/plugins/org.jboss.tools.common/src/org/jboss/tools/common/xml/XMLUtilities.java 2009-04-15 00:53:23 UTC (rev 14748)
@@ -10,13 +10,36 @@
******************************************************************************/
package org.jboss.tools.common.xml;
-import java.io.*;
-import java.util.*;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.io.Reader;
+import java.io.Writer;
+import java.util.ArrayList;
+
import javax.xml.parsers.DocumentBuilder;
-import org.apache.xml.serialize.*;
+
+import org.apache.xml.serialize.LineSeparator;
+import org.apache.xml.serialize.Method;
+import org.apache.xml.serialize.OutputFormat;
+import org.apache.xml.serialize.XMLSerializer;
import org.jboss.tools.common.CommonPlugin;
-import org.w3c.dom.*;
-import org.xml.sax.*;
+import org.w3c.dom.Comment;
+import org.w3c.dom.DOMException;
+import org.w3c.dom.DOMImplementation;
+import org.w3c.dom.Document;
+import org.w3c.dom.DocumentType;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.w3c.dom.Text;
+import org.xml.sax.EntityResolver;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
public class XMLUtilities {
public static boolean hasAttribute(Element e, String s) {
@@ -68,7 +91,9 @@
public static Element[] getAncestors(Element parent, String name) {
int i = name.indexOf('.');
- if(i < 0) return getChildren(parent, name);
+ if(i < 0) {
+ return getChildren(parent, name);
+ }
Element p = getUniqueChild(parent, name.substring(0, i));
return (p == null) ? new Element[0] : getAncestors(p, name.substring(i + 1));
}
@@ -126,7 +151,9 @@
}
public static Element getElement(File file, EntityResolver resolver) {
- if(file == null || !file.isFile()) return null;
+ if(file == null || !file.isFile()) {
+ return null;
+ }
java.io.FileReader fr = null;
try {
fr = new java.io.FileReader(file);
@@ -140,7 +167,9 @@
CommonPlugin.getPluginLog().logError(e);
} finally {
try {
- if (fr != null) fr.close();
+ if (fr != null) {
+ fr.close();
+ }
} catch (IOException e) {
CommonPlugin.getPluginLog().logError(e);
}
@@ -181,7 +210,9 @@
public static Document getDocument(InputSource is, EntityResolver resolver) throws SAXException, IOException{
DocumentBuilder builder = createDocumentBuilder(false);
- if(resolver != null) builder.setEntityResolver(resolver);
+ if(resolver != null) {
+ builder.setEntityResolver(resolver);
+ }
return builder.parse(is);
}
@@ -202,21 +233,31 @@
ErrorHandlerImpl h = new ErrorHandlerImpl();
try {
DocumentBuilder builder = createDocumentBuilder(checkDTD);
- if(resolver != null) builder.setEntityResolver(resolver);
+ if(resolver != null) {
+ builder.setEntityResolver(resolver);
+ }
builder.setErrorHandler(h);
builder.parse(is);
} catch (IOException e) {
- if(h.errors.isEmpty()) return new String[]{"Unexpected parser error:0:0",e.toString()};
+ if(h.errors.isEmpty()) {
+ return new String[]{"Unexpected parser error:0:0",e.toString()};
+ }
} catch (SAXException e) {
- if(h.errors.isEmpty()) return new String[]{"Unexpected parser error:0:0",e.toString()};
+ if(h.errors.isEmpty()) {
+ return new String[]{"Unexpected parser error:0:0",e.toString()};
+ }
}
return h.errors.toArray(new String[0]);
}
public static final void serialize(Element element, String filename) throws IOException {
File f = new File(filename);
- if(f.exists() && !f.canWrite()) return;
- if(!f.exists()) f.createNewFile();
+ if(f.exists() && !f.canWrite()) {
+ return;
+ }
+ if(!f.exists()) {
+ f.createNewFile();
+ }
FileWriter fw = new FileWriter(f);
serialize(element, new BufferedWriter(fw));
fw.close();
@@ -226,10 +267,14 @@
public static String getEncoding(String body) {
int i = body.indexOf(ENCODING);
- if(i < 0) return UTF8;
+ if(i < 0) {
+ return UTF8;
+ }
i = i + ENCODING.length();
int j = body.indexOf('"', i);
- if(j < 0) return UTF8;
+ if(j < 0) {
+ return UTF8;
+ }
return body.substring(i, j);
}
@@ -241,14 +286,18 @@
}
public static final boolean serialize(Element element, Writer w) throws IOException {
- if(element == null) return false;
+ if(element == null) {
+ return false;
+ }
serialize(element, new XMLSerializer(w, createOutputFormat(UTF8)));
w.close();
return true;
}
public static final boolean serialize(Element element, OutputStream w) throws IOException {
- if(element == null) return false;
+ if(element == null) {
+ return false;
+ }
serialize(element, new XMLSerializer(w, createOutputFormat(UTF8)));
w.close();
return true;
@@ -260,7 +309,9 @@
}
public static void serialize(Document document, XMLSerializer serial) throws IOException {
- if(serial == null || document == null) return;
+ if(serial == null || document == null) {
+ return;
+ }
serial.asDOMSerializer();
serial.serialize(document);
}
@@ -270,7 +321,9 @@
}
public static final boolean serialize(Document document, Writer w, String encoding) throws IOException {
- if(document == null) return false;
+ if(document == null) {
+ return false;
+ }
serialize(document, new XMLSerializer(w, createOutputFormat(encoding)));
w.close();
return true;
@@ -289,7 +342,9 @@
sb.append(((Text) nc).getData());
} else if (nc.getNodeType() == Node.TEXT_NODE) {
String txt = ((Text) nc).getData();
- if(trim) txt = txt.trim();
+ if(trim) {
+ txt = txt.trim();
+ }
sb.append(txt);
}
}
@@ -300,7 +355,9 @@
StringBuffer sb = new StringBuffer();
Node node = elem.getPreviousSibling();
while (node != null) {
- if (node.getNodeType() == Node.ELEMENT_NODE) break;
+ if (node.getNodeType() == Node.ELEMENT_NODE) {
+ break;
+ }
if (node.getNodeType() == Node.COMMENT_NODE) {
if (sb.length() > 0) {
sb.insert(0, '\n');
[View Less]
15 years, 9 months
JBoss Tools SVN: r14747 - trunk/archives/features/org.jboss.ide.eclipse.archives.feature.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2009-04-14 18:53:02 -0400 (Tue, 14 Apr 2009)
New Revision: 14747
Modified:
trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
Log:
arhives.jdt.integration included in achives feature to fix build errors
Modified: trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
===================================================================
--- trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2009-04-14 …
[View More]20:30:14 UTC (rev 14746)
+++ trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2009-04-14 22:53:02 UTC (rev 14747)
@@ -102,7 +102,7 @@
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
</license>
-
+
<url>
<update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
</url>
@@ -136,4 +136,11 @@
version="0.0.0"
unpack="false"/>
+ <plugin
+ id="org.jboss.ide.eclipse.archives.jdt.integration"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
</feature>
[View Less]
15 years, 9 months
JBoss Tools SVN: r14745 - in trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces: META-INF and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-04-14 14:31:03 -0400 (Tue, 14 Apr 2009)
New Revision: 14745
Added:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesBundleHyperlink.java
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/…
[View More]RichfacesJSPBundleHyperlinkPartitioner.java
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPLoadBundleHyperlinkPartitioner.java
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesLoadBundleHyperlink.java
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/build.properties
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/RichfacesExtensionsPlugin.java
Log:
JBIDE-4147 A hyperlink doesn't work for <a4j:loadBundle> RichFaces tag
New Bundle & Load Bundle hyperlinks and partitioners are added for bundles defined using <a4j:loadBundle>
and <ajax:loadBundle> tags
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIFEST.MF
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIFEST.MF 2009-04-14 18:27:18 UTC (rev 14744)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/META-INF/MANIFEST.MF 2009-04-14 18:31:03 UTC (rev 14745)
@@ -8,10 +8,15 @@
Bundle-SymbolicName: org.jboss.tools.jsf.text.ext.richfaces; singleton:=true
Bundle-Localization: plugin
Require-Bundle:
- org.eclipse.ui,org.eclipse.core.runtime,
- org.eclipse.core.resources,org.eclipse.jface.text,
+ org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.jface.text,
org.jboss.tools.common.text.ext,
- org.jboss.tools.jsf.text.ext
-Export-Package: org.jboss.tools.jsf.text.ext.richfaces
+ org.jboss.tools.jsf.text.ext,
+ org.jboss.tools.jst.web;bundle-version="2.0.0"
+Export-Package: org.jboss.tools.jsf.text.ext.richfaces,
+ org.jboss.tools.jsf.text.ext.richfaces.hyperlink
Bundle-Version: 2.0.0
+
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/build.properties 2009-04-14 18:27:18 UTC (rev 14744)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/build.properties 2009-04-14 18:31:03 UTC (rev 14745)
@@ -1,8 +1,9 @@
bin.includes = META-INF/,\
plugin.xml,\
- jsfextensions.jar,\
+ jsfrichfacesextensions.jar,\
about.html,\
plugin.properties
-jars.compile.order = jsfextensions.jar
-source.jsfextensions.jar = src/
-output.jsfextensions.jar = bin/
+jars.compile.order = jsfrichfacesextensions.jar
+output.jsfrichfacesextensions.jar = bin/
+src.includes = src/
+source.jsfrichfacesextensions.jar = src/
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-04-14 18:27:18 UTC (rev 14744)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-04-14 18:31:03 UTC (rev 14745)
@@ -169,5 +169,61 @@
</contentType>
</hyperlinkPartitioner>
+ <hyperlinkPartitioner
+ id="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesJSPLoadBundleHyperlinkPartitioner"
+ class="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesJSPLoadBundleHyperlinkPartitioner">
+ <contentType id="org.eclipse.jst.jsp.core.jspsource">
+ <partitionType id="org.jboss.tools.common.text.ext.xml.XML_ATTRIBUTE_VALUE">
+ </partitionType>
+ </contentType>
+ <contentType id="org.eclipse.wst.html.core.htmlsource">
+ <partitionType id="org.jboss.tools.common.text.ext.xml.XML_ATTRIBUTE_VALUE">
+ </partitionType>
+ </contentType>
+ </hyperlinkPartitioner>
+
+
+ <hyperlinkPartitioner
+ id="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesJSPBundleHyperlinkPartitioner"
+ class="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesJSPBundleHyperlinkPartitioner">
+ <contentType id="org.eclipse.jst.jsp.core.jspsource">
+ <partitionType id="org.jboss.tools.common.text.ext.jsp.FACELETS_ATTRIBUTE_VALUE_WITH_EXPR" />
+ <partitionType id="org.jboss.tools.common.text.ext.jsp.JSP_EXPRESSION" />
+ </contentType>
+ <contentType id="org.eclipse.wst.html.core.htmlsource">
+ <partitionType id="org.jboss.tools.common.text.ext.jsp.FACELETS_ATTRIBUTE_VALUE_WITH_EXPR" />
+ <partitionType id="org.jboss.tools.common.text.ext.jsp.JSP_EXPRESSION" />
+ </contentType>
+ </hyperlinkPartitioner>
+
</extension>
+
+ <extension
+ point="org.jboss.tools.common.text.ext.hyperlink"
+ id="org.jboss.tools.common.text.ext.jsf.richfaces.hyperlink"
+ name="org.jboss.tools.common.text.ext.jsf.richfaces.hyperlink">
+
+ <hyperlink
+ class="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesLoadBundleHyperlink"
+ id="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesLoadBundleHyperlink">
+ <contenttypeidentifier id="org.eclipse.jst.jsp.core.jspsource">
+ <partitiontype id="org.jboss.tools.common.text.ext.jsp.JSP_RICHFACES_LOADBUNDLE" />
+ </contenttypeidentifier>
+ <contenttypeidentifier id="org.eclipse.wst.html.core.htmlsource">
+ <partitiontype id="org.jboss.tools.common.text.ext.jsp.JSP_RICHFACES_LOADBUNDLE" />
+ </contenttypeidentifier>
+ </hyperlink>
+
+ <hyperlink
+ class="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesBundleHyperlink"
+ id="org.jboss.tools.jsf.text.ext.richfaces.hyperlink.RichfacesBundleHyperlink">
+ <contenttypeidentifier id="org.eclipse.jst.jsp.core.jspsource">
+ <partitiontype id="org.jboss.tools.common.text.ext.jsp.JSP_RICHFACES_BUNDLE" />
+ </contenttypeidentifier>
+ <contenttypeidentifier id="org.eclipse.wst.html.core.htmlsource">
+ <partitiontype id="org.jboss.tools.common.text.ext.jsp.JSP_RICHFACES_BUNDLE" />
+ </contenttypeidentifier>
+ </hyperlink>
+ </extension>
+
</plugin>
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/RichfacesExtensionsPlugin.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/RichfacesExtensionsPlugin.java 2009-04-14 18:27:18 UTC (rev 14744)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/RichfacesExtensionsPlugin.java 2009-04-14 18:31:03 UTC (rev 14745)
@@ -52,14 +52,6 @@
}
/**
- * This method is called when the plug-in is stopped
- */
- public void stop(BundleContext context) throws Exception {
- super.stop(context);
- plugin = null;
- }
-
- /**
* Returns the shared instance.
*/
public static RichfacesExtensionsPlugin getDefault() {
Added: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesBundleHyperlink.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesBundleHyperlink.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesBundleHyperlink.java 2009-04-14 18:31:03 UTC (rev 14745)
@@ -0,0 +1,48 @@
+package org.jboss.tools.jsf.text.ext.richfaces.hyperlink;
+
+import java.util.ArrayList;
+
+import org.eclipse.jface.text.IRegion;
+import org.eclipse.ui.IEditorPart;
+import org.jboss.tools.common.text.ext.util.TaglibManagerWrapper;
+import org.jboss.tools.jsf.text.ext.hyperlink.BundleHyperlink;
+import org.jboss.tools.jsf.text.ext.richfaces.RichfacesExtensionsPlugin;
+import org.jboss.tools.jst.web.tld.TaglibData;
+import org.jboss.tools.jst.web.tld.VpeTaglibManager;
+import org.jboss.tools.jst.web.tld.VpeTaglibManagerProvider;
+
+public class RichfacesBundleHyperlink extends BundleHyperlink {
+
+ protected String[] getLoadBundleTagPrefixes(IRegion region) {
+ ArrayList<String> prefixes = new ArrayList<String>();
+ TaglibManagerWrapper tmw = new TaglibManagerWrapper();
+ tmw.init(getDocument(), region.getOffset());
+ if(tmw.exists()) {
+ for (String uri : RichfacesJSPBundleHyperlinkPartitioner.LoadBundleURIs) {
+ String prefix = tmw.getPrefix(uri);
+ if (prefix != null)
+ prefixes.add(prefix);
+ }
+ } else {
+ VpeTaglibManager taglibManager = getTaglibManager();
+ if(taglibManager == null) return null;
+ TaglibData[] data = (TaglibData[])taglibManager.getTagLibs().toArray(new TaglibData[0]);
+ for (int i = 0; i < data.length; i++) {
+ for (String uri : RichfacesJSPBundleHyperlinkPartitioner.LoadBundleURIs) {
+ if(uri.equals(data[i].getUri()))
+ prefixes.add(data[i].getPrefix());
+ }
+ }
+ }
+ return (String[])prefixes.toArray(new String[prefixes.size()]);
+ }
+
+ private VpeTaglibManager getTaglibManager() {
+ IEditorPart editor = RichfacesExtensionsPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
+ if(editor instanceof VpeTaglibManagerProvider) {
+ return ((VpeTaglibManagerProvider)editor).getTaglibManager();
+ }
+ return null;
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPBundleHyperlinkPartitioner.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPBundleHyperlinkPartitioner.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPBundleHyperlinkPartitioner.java 2009-04-14 18:31:03 UTC (rev 14745)
@@ -0,0 +1,41 @@
+package org.jboss.tools.jsf.text.ext.richfaces.hyperlink;
+
+import java.util.ArrayList;
+
+import org.eclipse.jface.text.IDocument;
+import org.jboss.tools.common.text.ext.util.TaglibManagerWrapper;
+import org.jboss.tools.jsf.text.ext.hyperlink.JSPBundleHyperlinkPartitioner;
+
+public class RichfacesJSPBundleHyperlinkPartitioner extends JSPBundleHyperlinkPartitioner {
+ public static final String JSP_RICHFACES_BUNDLE_PARTITION = "org.jboss.tools.common.text.ext.jsp.JSP_RICHFACES_BUNDLE";
+
+ public final static String[] LoadBundleURIs = {
+ "http://richfaces.org/a4j",
+ "https://ajax4jsf.dev.java.net/ajax"
+ };
+
+ /**
+ * @Override
+ */
+ protected String getPartitionType() {
+ return JSP_RICHFACES_BUNDLE_PARTITION;
+ }
+
+ /**
+ * @Override
+ */
+ protected String[] getLoadBundleTagPrefixes(IDocument document, int offset) {
+ TaglibManagerWrapper tmw = new TaglibManagerWrapper();
+ tmw.init(document, offset);
+ if(!tmw.exists()) return null;
+
+ ArrayList<String> prefixes = new ArrayList<String>();
+ for (String uri : LoadBundleURIs) {
+ String prefix = tmw.getPrefix(uri);
+ if (prefix != null)
+ prefixes.add(prefix);
+ }
+ return (String[])prefixes.toArray(new String[prefixes.size()]);
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPLoadBundleHyperlinkPartitioner.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPLoadBundleHyperlinkPartitioner.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesJSPLoadBundleHyperlinkPartitioner.java 2009-04-14 18:31:03 UTC (rev 14745)
@@ -0,0 +1,39 @@
+package org.jboss.tools.jsf.text.ext.richfaces.hyperlink;
+
+import java.util.ArrayList;
+
+import org.eclipse.jface.text.IDocument;
+import org.jboss.tools.common.text.ext.util.TaglibManagerWrapper;
+import org.jboss.tools.jsf.text.ext.hyperlink.JSPLoadBundleHyperlinkPartitioner;
+
+
+public class RichfacesJSPLoadBundleHyperlinkPartitioner extends
+ JSPLoadBundleHyperlinkPartitioner {
+
+ public static final String JSP_RICHFACES_LOADBUNDLE_PARTITION = "org.jboss.tools.common.text.ext.jsp.JSP_RICHFACES_LOADBUNDLE";
+
+ /**
+ * @Override
+ */
+ protected String getPartitionType() {
+ return JSP_RICHFACES_LOADBUNDLE_PARTITION;
+ }
+
+ /**
+ * @Override
+ */
+ protected String[] getLoadBundleTagPrefixes(IDocument document, int offset) {
+ TaglibManagerWrapper tmw = new TaglibManagerWrapper();
+ tmw.init(document, offset);
+ if(!tmw.exists()) return null;
+
+ ArrayList<String> prefixes = new ArrayList<String>();
+ for (String uri : RichfacesJSPBundleHyperlinkPartitioner.LoadBundleURIs) {
+ String prefix = tmw.getPrefix(uri);
+ if (prefix != null)
+ prefixes.add(prefix);
+ }
+ return (String[])prefixes.toArray(new String[prefixes.size()]);
+ }
+
+}
Added: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesLoadBundleHyperlink.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesLoadBundleHyperlink.java (rev 0)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/src/org/jboss/tools/jsf/text/ext/richfaces/hyperlink/RichfacesLoadBundleHyperlink.java 2009-04-14 18:31:03 UTC (rev 14745)
@@ -0,0 +1,48 @@
+package org.jboss.tools.jsf.text.ext.richfaces.hyperlink;
+
+import java.util.ArrayList;
+
+import org.eclipse.jface.text.IRegion;
+import org.eclipse.ui.IEditorPart;
+import org.jboss.tools.common.text.ext.util.TaglibManagerWrapper;
+import org.jboss.tools.jsf.text.ext.hyperlink.LoadBundleHyperlink;
+import org.jboss.tools.jsf.text.ext.richfaces.RichfacesExtensionsPlugin;
+import org.jboss.tools.jst.web.tld.TaglibData;
+import org.jboss.tools.jst.web.tld.VpeTaglibManager;
+import org.jboss.tools.jst.web.tld.VpeTaglibManagerProvider;
+
+public class RichfacesLoadBundleHyperlink extends LoadBundleHyperlink {
+
+ protected String[] getLoadBundleTagPrefixes(IRegion region) {
+ ArrayList<String> prefixes = new ArrayList<String>();
+ TaglibManagerWrapper tmw = new TaglibManagerWrapper();
+ tmw.init(getDocument(), region.getOffset());
+ if(tmw.exists()) {
+ for (String uri : RichfacesJSPBundleHyperlinkPartitioner.LoadBundleURIs) {
+ String prefix = tmw.getPrefix(uri);
+ if (prefix != null)
+ prefixes.add(prefix);
+ }
+ } else {
+ VpeTaglibManager taglibManager = getTaglibManager();
+ if(taglibManager == null) return null;
+ TaglibData[] data = (TaglibData[])taglibManager.getTagLibs().toArray(new TaglibData[0]);
+ for (int i = 0; i < data.length; i++) {
+ for (String uri : RichfacesJSPBundleHyperlinkPartitioner.LoadBundleURIs) {
+ if(uri.equals(data[i].getUri()))
+ prefixes.add(data[i].getPrefix());
+ }
+ }
+ }
+ return (String[])prefixes.toArray(new String[prefixes.size()]);
+ }
+
+ private VpeTaglibManager getTaglibManager() {
+ IEditorPart editor = RichfacesExtensionsPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
+ if(editor instanceof VpeTaglibManagerProvider) {
+ return ((VpeTaglibManagerProvider)editor).getTaglibManager();
+ }
+ return null;
+ }
+
+}
[View Less]
15 years, 9 months
JBoss Tools SVN: r14744 - in trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets: META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-04-14 14:27:18 -0400 (Tue, 14 Apr 2009)
New Revision: 14744
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/META-INF/MANIFEST.MF
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/build.properties
Log:
JBIDE-4147 A hyperlink doesn't work for <a4j:loadBundle> RichFaces tag
build properties are modified to use different jar-file
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/META-INF/MANIFEST.MF
=================…
[View More]==================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/META-INF/MANIFEST.MF 2009-04-14 18:25:10 UTC (rev 14743)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/META-INF/MANIFEST.MF 2009-04-14 18:27:18 UTC (rev 14744)
@@ -1,13 +1,11 @@
Manifest-Version: 1.0
Eclipse-LazyStart: true
Bundle-Name: %Bundle-Name.0
-Bundle-ClassPath: jsfextensions.jar
-Bundle-Activator: org.jboss.tools.jsf.text.ext.facelets.Facel
- etsExtensionsPlugin
+Bundle-ClassPath: jsffaceletsextensions.jar
+Bundle-Activator: org.jboss.tools.jsf.text.ext.facelets.FaceletsExtensionsPlugin
Bundle-ManifestVersion: 2
Bundle-Vendor: %providerName
-Bundle-SymbolicName: org.jboss.tools.jsf.text.ext.facelets; s
- ingleton:=true
+Bundle-SymbolicName: org.jboss.tools.jsf.text.ext.facelets; singleton:=true
Bundle-Localization: plugin
Require-Bundle:
org.eclipse.ui,org.eclipse.core.runtime,
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/build.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/build.properties 2009-04-14 18:25:10 UTC (rev 14743)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.facelets/build.properties 2009-04-14 18:27:18 UTC (rev 14744)
@@ -1,8 +1,9 @@
bin.includes = META-INF/,\
plugin.xml,\
- jsfextensions.jar,\
about.html,\
- plugin.properties
-jars.compile.order = jsfextensions.jar
-source.jsfextensions.jar = src/
-output.jsfextensions.jar = bin/
+ plugin.properties,\
+ jsffaceletsextensions.jar
+jars.compile.order = jsffaceletsextensions.jar
+src.includes = src/
+source.jsffaceletsextensions.jar = src/
+output.jsffaceletsextensions.jar = bin/
[View Less]
15 years, 9 months