JBoss Tools SVN: r13693 - trunk/jmx/docs/reference/en/images.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-02-20 03:55:09 -0500 (Fri, 20 Feb 2009)
New Revision: 13693
Modified:
trunk/jmx/docs/reference/en/images/eclipse-jmx_0.2.png
trunk/jmx/docs/reference/en/images/link-with-editor_0.2.0.png
Log:
https://jira.jboss.org/jira/browse/JBDS-563 - updating the images;
Modified: trunk/jmx/docs/reference/en/images/eclipse-jmx_0.2.png
===================================================================
(Binary files differ)
Modified: trunk/jmx/docs/reference/en/images/link-with-editor_0.2.0.png
===================================================================
(Binary files differ)
17 years, 1 month
JBoss Tools SVN: r13692 - trunk/jmx/docs/reference/en/images.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-02-20 03:54:39 -0500 (Fri, 20 Feb 2009)
New Revision: 13692
Added:
trunk/jmx/docs/reference/en/images/collaps_all.png
trunk/jmx/docs/reference/en/images/new_connection_icon.png
Log:
https://jira.jboss.org/jira/browse/JBDS-563 -adding new images;
Added: trunk/jmx/docs/reference/en/images/collaps_all.png
===================================================================
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en/images/collaps_all.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jmx/docs/reference/en/images/new_connection_icon.png
===================================================================
(Binary files differ)
Property changes on: trunk/jmx/docs/reference/en/images/new_connection_icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 1 month
JBoss Tools SVN: r13691 - in workspace/dart/plugins/org.jboss.tools.smooks11.model: .settings and 28 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2009-02-20 03:10:59 -0500 (Fri, 20 Feb 2009)
New Revision: 13691
Added:
workspace/dart/plugins/org.jboss.tools.smooks11.model/.classpath
workspace/dart/plugins/org.jboss.tools.smooks11.model/.project
workspace/dart/plugins/org.jboss.tools.smooks11.model/.settings/
workspace/dart/plugins/org.jboss.tools.smooks11.model/.settings/org.eclipse.jdt.core.prefs
workspace/dart/plugins/org.jboss.tools.smooks11.model/META-INF/
workspace/dart/plugins/org.jboss.tools.smooks11.model/META-INF/MANIFEST.MF
workspace/dart/plugins/org.jboss.tools.smooks11.model/build.properties
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/common.ecore
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.ecore
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.genmodel
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.ecore
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.genmodel
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.ecore
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.genmodel
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/smooks-1.1.ecore
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.ecore
workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.genmodel
workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.properties
workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.xml
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/AbstractAnyType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonPackage.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/Test.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/AbstractAnyTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonPackageImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonAdapterFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonSwitch.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonXMLProcessor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Component.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Delimiters.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Description.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/DocumentRoot.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiMap.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiPackage.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Field.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/MappingNode.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segment.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segments.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/SubComponent.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/ComponentImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DelimitersImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DescriptionImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DocumentRootImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiMapImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiPackageImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/FieldImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/MappingNodeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentsImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SubComponentImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiAdapterFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiSwitch.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiXMLProcessor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/BindTo.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/DocumentRoot.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Freemarker.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerPackage.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Inline.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/InlineDirective.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/OutputTo.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Template.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Use.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/BindToImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/DocumentRootImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerPackageImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/InlineImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/OutputToImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/TemplateImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/UseImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerAdapterFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerSwitch.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerXMLProcessor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/BindingsType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DecodeParamType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DocumentRoot.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ExpressionType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanPackage.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ValueType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/WiringType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/BindingsTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DecodeParamTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DocumentRootImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ExpressionTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanPackageImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ValueTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/WiringTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanXMLProcessor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractReader.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractResourceConfig.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionsType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/DocumentRoot.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ElementVisitor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/FeaturesType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlerType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlersType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ImportType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamsType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfileType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfilesType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ReaderType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceConfigType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOffType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOnType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksPackage.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksResourceListType.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractReaderImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractResourceConfigImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionsTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/DocumentRootImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ElementVisitorImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/FeaturesTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlerTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlersTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ImportTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamsTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfileTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfilesTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ReaderTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceConfigTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOffTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOnTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksResourceListTypeImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksAdapterFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksSwitch.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksXMLProcessor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/BindTo.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Inline.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/OutputTo.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Template.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Use.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Xsl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslPackage.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/BindToImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/DocumentRootImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/InlineImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/OutputToImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/TemplateImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/UseImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslPackageImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslAdapterFactory.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceFactoryImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceImpl.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslSwitch.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslXMLProcessor.java
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/test/
workspace/dart/plugins/org.jboss.tools.smooks11.model/src/test/XSLConfig.xml
workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/
workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/edi-message-mapping-1.0.xsd
workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/freemarker-1.1.xsd
workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/javabean-1.1.xsd
workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/smooks-1.1.xsd
workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/xsl-1.1.xsd
Log:
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/.classpath
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/.classpath (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/.classpath 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/.project
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/.project (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/.project 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.smooks11.model</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/.settings/org.eclipse.jdt.core.prefs 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,7 @@
+#Thu Feb 19 16:17:08 CST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/META-INF/MANIFEST.MF
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/META-INF/MANIFEST.MF (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/META-INF/MANIFEST.MF 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.jboss.tools.smooks11.model;singleton:=true
+Bundle-Version: 1.0.0
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Export-Package: org.jboss.tools.smooks.model.common,
+ org.jboss.tools.smooks.model.common.impl,
+ org.jboss.tools.smooks.model.common.util,
+ org.jboss.tools.smooks.model.freemarker,
+ org.jboss.tools.smooks.model.freemarker.impl,
+ org.jboss.tools.smooks.model.freemarker.util,
+ org.jboss.tools.smooks.model.smooks,
+ org.jboss.tools.smooks.model.smooks.impl,
+ org.jboss.tools.smooks.model.smooks.util
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;visibility:=reexport
+Bundle-ActivationPolicy: lazy
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/build.properties
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/build.properties (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/build.properties 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,14 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+bin.includes = .,\
+ model/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties
+jars.compile.order = .
+source.. = src/
+output.. = bin/
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/common.ecore
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/common.ecore (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/common.ecore 2009-02-20 08:10:59 UTC (rev 13691)
@@ -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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/common.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.ecore
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.ecore (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.ecore 2009-02-20 08:10:59 UTC (rev 13691)
@@ -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="edi"
+ nsURI="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd" nsPrefix="edi">
+ <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="DocumentRoot">
+ <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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.genmodel
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.genmodel (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.genmodel 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,70 @@
+<?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.model/src"
+ modelPluginID="org.jboss.tools.smooks.model" modelName="Edi-message-mapping-1"
+ importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>edi-message-mapping-1.0.ecore</foreignModel>
+ <genPackages prefix="Edi" 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#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute edi-message-mapping-1.0.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference edi-message-mapping-1.0.ecore#//DocumentRoot/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="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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/edi-message-mapping-1.0.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.ecore
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.ecore (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.ecore 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,242 @@
+<?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="BindTo" 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="DocumentRoot">
+ <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="#//Template" 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="#//Use" 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="Inline" 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="#//InlineDirective" 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="InlineDirective">
+ <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="InlineDirectiveObject" 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="OutputTo" 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="Template" 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="Use" 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="#//Inline"
+ 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="#//BindTo"
+ 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="#//OutputTo"
+ 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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.genmodel
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.genmodel (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.genmodel 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,171 @@
+<?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.model/src"
+ modelPluginID="org.jboss.tools.smooks.model" modelName="Freemarker-1" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>freemarker-1.1.ecore</foreignModel>
+ <genPackages prefix="Freemarker" resource="XML" disposableProviderFactory="true"
+ ecorePackage="freemarker-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="freemarker-1.1.ecore#//InlineDirective">
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//InlineDirective/addto"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//InlineDirective/replace"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//InlineDirective/insertbefore"/>
+ <genEnumLiterals ecoreEnumLiteral="freemarker-1.1.ecore#//InlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="freemarker-1.1.ecore#//InlineDirectiveObject"/>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//BindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//BindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//DocumentRoot/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#//Inline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Inline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//OutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//OutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//Template">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Template/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute freemarker-1.1.ecore#//Template/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="freemarker-1.1.ecore#//Use">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Use/inline"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Use/bindTo"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference freemarker-1.1.ecore#//Use/outputTo"/>
+ </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>
+ <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>
+</genmodel:GenModel>
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/freemarker-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.ecore
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.ecore (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.ecore 2009-02-20 08:10:59 UTC (rev 13691)
@@ -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="DocumentRoot">
+ <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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.genmodel
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.genmodel (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.genmodel 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,179 @@
+<?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.model/src"
+ modelPluginID="org.jboss.tools.smooks.model" modelName="Javabean-1" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>javabean-1.1.ecore</foreignModel>
+ <genPackages prefix="Javabean" 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#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute javabean-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/bindings"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/decodeParam"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/expression"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/value"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference javabean-1.1.ecore#//DocumentRoot/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="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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/javabean-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/smooks-1.1.ecore
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/smooks-1.1.ecore (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/smooks-1.1.ecore 2009-02-20 08:10:59 UTC (rev 13691)
@@ -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="DocumentRoot">
+ <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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/smooks-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.ecore
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.ecore (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.ecore 2009-02-20 08:10:59 UTC (rev 13691)
@@ -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="BindTo" 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="DocumentRoot">
+ <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="Inline" 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="#//InlineDirective" 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="InlineDirective">
+ <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="InlineDirectiveObject" 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="OutputTo" 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="Template" 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="Use" 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="#//Inline"
+ 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="#//BindTo"
+ 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="#//OutputTo"
+ 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="#//Template" 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="#//Use" 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: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.ecore
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.genmodel
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.genmodel (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.genmodel 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,170 @@
+<?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.model/src"
+ modelPluginID="org.jboss.tools.smooks.model" modelName="Xsl-1" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="6.0" copyrightFields="false">
+ <foreignModel>xsl-1.1.ecore</foreignModel>
+ <genPackages prefix="Xsl" resource="XML" disposableProviderFactory="true" ecorePackage="xsl-1.1.ecore#/">
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="xsl-1.1.ecore#//InlineDirective">
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//InlineDirective/addto"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//InlineDirective/replace"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//InlineDirective/insertbefore"/>
+ <genEnumLiterals ecoreEnumLiteral="xsl-1.1.ecore#//InlineDirective/insertafter"/>
+ </genEnums>
+ <genDataTypes ecoreDataType="xsl-1.1.ecore#//InlineDirectiveObject"/>
+ <genClasses ecoreClass="xsl-1.1.ecore#//BindTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//BindTo/id"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//DocumentRoot">
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xsl-1.1.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xsl-1.1.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//DocumentRoot/xsl"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Inline">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Inline/directive"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//OutputTo">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//OutputTo/outputStreamResource"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Template">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Template/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xsl-1.1.ecore#//Template/encoding"/>
+ </genClasses>
+ <genClasses ecoreClass="xsl-1.1.ecore#//Use">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Use/inline"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Use/bindTo"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xsl-1.1.ecore#//Use/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>
+ <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>
+ <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>
+</genmodel:GenModel>
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/ecore.model/xsl-1.1.genmodel
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.properties
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.properties (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.properties 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,8 @@
+
+# <copyright>
+# </copyright>
+#
+# $Id$
+
+pluginName = Freemarker-1 Model
+providerName = www.example.org
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.xml
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.xml (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.xml 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd"
+ class="org.jboss.tools.smooks.model.freemarker.FreemarkerPackage"
+ genModel="ecore.model/freemarker-1.1.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="freemarker"
+ class="org.jboss.tools.smooks.model.freemarker.util.FreemarkerResourceFactoryImpl"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.jboss.org/smookstools"
+ class="org.jboss.tools.smooks.model.common.CommonPackage"
+ genModel="ecore.model/freemarker-1.1.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="common"
+ class="org.jboss.tools.smooks.model.common.util.CommonResourceFactoryImpl"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+ uri="http://www.milyn.org/xsd/smooks-1.1.xsd"
+ class="org.jboss.tools.smooks.model.smooks.SmooksPackage"
+ genModel="ecore.model/freemarker-1.1.genmodel"/>
+ </extension>
+
+ <extension point="org.eclipse.emf.ecore.extension_parser">
+ <parser
+ type="smooks"
+ class="org.jboss.tools.smooks.model.smooks.util.SmooksResourceFactoryImpl"/>
+ </extension>
+
+</plugin>
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/AbstractAnyType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/AbstractAnyType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/AbstractAnyType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.xml.type.AnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Abstract Any Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.jboss.tools.smooks.model.common.CommonPackage#getAbstractAnyType()
+ * @model abstract="true"
+ * @generated
+ */
+public interface AbstractAnyType extends EObject, AnyType {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * @generated
+ */
+ void getCDATA();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model cdataDataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ void setCDATA(String cdata);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model kind="operation"
+ * @generated
+ */
+ void getStringValue();
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @model stringValueDataType="org.eclipse.emf.ecore.xml.type.String"
+ * @generated
+ */
+ void setStringValue(String stringValue);
+
+} // AbstractAnyType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/AbstractAnyType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,37 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common;
+
+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.common.CommonPackage
+ * @generated
+ */
+public interface CommonFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CommonFactory eINSTANCE = org.jboss.tools.smooks.model.common.impl.CommonFactoryImpl.init();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ CommonPackage getCommonPackage();
+
+} //CommonFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonPackage.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonPackage.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonPackage.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,153 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.common.CommonFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface CommonPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "common";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.jboss.org/smookstools";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "common";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ CommonPackage eINSTANCE = org.jboss.tools.smooks.model.common.impl.CommonPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl <em>Abstract Any Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl
+ * @see org.jboss.tools.smooks.model.common.impl.CommonPackageImpl#getAbstractAnyType()
+ * @generated
+ */
+ int ABSTRACT_ANY_TYPE = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ANY_TYPE__MIXED = XMLTypePackage.ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ANY_TYPE__ANY = XMLTypePackage.ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE = XMLTypePackage.ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Abstract Any Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_ANY_TYPE_FEATURE_COUNT = XMLTypePackage.ANY_TYPE_FEATURE_COUNT + 0;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.common.AbstractAnyType <em>Abstract Any Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Abstract Any Type</em>'.
+ * @see org.jboss.tools.smooks.model.common.AbstractAnyType
+ * @generated
+ */
+ EClass getAbstractAnyType();
+
+ /**
+ * 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
+ */
+ CommonFactory getCommonFactory();
+
+ /**
+ * <!-- 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.common.impl.AbstractAnyTypeImpl <em>Abstract Any Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl
+ * @see org.jboss.tools.smooks.model.common.impl.CommonPackageImpl#getAbstractAnyType()
+ * @generated
+ */
+ EClass ABSTRACT_ANY_TYPE = eINSTANCE.getAbstractAnyType();
+
+ }
+
+} //CommonPackage
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/CommonPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/Test.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/Test.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/Test.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,53 @@
+package org.jboss.tools.smooks.model.common;
+
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage.Registry;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.jboss.tools.smooks.model.common.util.CommonResourceFactoryImpl;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+public class Test {
+
+ /**
+ * @param args
+ */
+ public static void main(String[] args) {
+ Registry.INSTANCE.put(CommonPackage.eNS_URI, CommonPackage.eINSTANCE);
+ Registry.INSTANCE.put(FreemarkerPackage.eNS_URI, FreemarkerPackage.eINSTANCE);
+ Registry.INSTANCE.put(XslPackage.eNS_URI, XslPackage.eINSTANCE);
+ Registry.INSTANCE.put(SmooksPackage.eNS_URI, SmooksPackage.eINSTANCE);
+ Registry.INSTANCE.put(JavabeanPackage.eNS_URI, JavabeanPackage.eINSTANCE);
+ Registry.INSTANCE.put(EdiPackage.eNS_URI, EdiPackage.eINSTANCE);
+
+
+ Resource resource = new CommonResourceFactoryImpl().createResource(null);
+ InputStream stream = Test.class.getResourceAsStream("/test/XSLConfig.xml");
+ try {
+ resource.load(stream, Collections.EMPTY_MAP);
+ EObject obj = (EObject) resource.getContents().get(0);
+ SmooksResourceListType sr = (SmooksResourceListType)obj.eContents().get(0);
+ List list = sr.getAbstractReader();
+ List list1 = sr.getAbstractResourceConfig();
+ for (Iterator iterator = list1.iterator(); iterator.hasNext();) {
+ AbstractResourceConfig arc = (AbstractResourceConfig) iterator.next();
+ }
+ System.out.println(obj);
+ } catch (IOException e) {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
+ }
+
+}
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/Test.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/AbstractAnyTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/AbstractAnyTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/AbstractAnyTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,89 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.impl;
+
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+import org.jboss.tools.smooks.model.common.CommonPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Abstract Any Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class AbstractAnyTypeImpl extends AnyTypeImpl implements AbstractAnyType {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AbstractAnyTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return CommonPackage.Literals.ABSTRACT_ANY_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getCDATA() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCDATA(String cdata) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void getStringValue() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setStringValue(String stringValue) {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+} //AbstractAnyTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/AbstractAnyTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,88 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.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.common.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CommonFactoryImpl extends EFactoryImpl implements CommonFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static CommonFactory init() {
+ try {
+ CommonFactory theCommonFactory = (CommonFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.jboss.org/smookstools");
+ if (theCommonFactory != null) {
+ return theCommonFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new CommonFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonPackage getCommonPackage() {
+ return (CommonPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static CommonPackage getPackage() {
+ return CommonPackage.eINSTANCE;
+ }
+
+} //CommonFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonPackageImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonPackageImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonPackageImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,215 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.impl;
+
+
+
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EOperation;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+import org.jboss.tools.smooks.model.common.CommonFactory;
+import org.jboss.tools.smooks.model.common.CommonPackage;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+import org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl;
+
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CommonPackageImpl extends EPackageImpl implements CommonPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass abstractAnyTypeEClass = 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.common.CommonPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private CommonPackageImpl() {
+ super(eNS_URI, CommonFactory.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 CommonPackage init() {
+ if (isInited) return (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+
+ // Obtain or create and register package
+ CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new CommonPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ EdiPackageImpl theEdiPackage = (EdiPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(EdiPackage.eNS_URI) instanceof EdiPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(EdiPackage.eNS_URI) : EdiPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theCommonPackage.createPackageContents();
+ theEdiPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theCommonPackage.initializePackageContents();
+ theEdiPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theCommonPackage.freeze();
+
+ return theCommonPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAbstractAnyType() {
+ return abstractAnyTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonFactory getCommonFactory() {
+ return (CommonFactory)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
+ abstractAnyTypeEClass = createEClass(ABSTRACT_ANY_TYPE);
+ }
+
+ /**
+ * <!-- 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
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ abstractAnyTypeEClass.getESuperTypes().add(theXMLTypePackage.getAnyType());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(abstractAnyTypeEClass, AbstractAnyType.class, "AbstractAnyType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ addEOperation(abstractAnyTypeEClass, null, "getCDATA", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ EOperation op = addEOperation(abstractAnyTypeEClass, null, "setCDATA", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theXMLTypePackage.getString(), "cdata", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ addEOperation(abstractAnyTypeEClass, null, "getStringValue", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ op = addEOperation(abstractAnyTypeEClass, null, "setStringValue", 0, 1, IS_UNIQUE, IS_ORDERED);
+ addEParameter(op, theXMLTypePackage.getString(), "stringValue", 0, 1, IS_UNIQUE, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+ }
+
+} //CommonPackageImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/impl/CommonPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonAdapterFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonAdapterFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonAdapterFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,144 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.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.*;
+
+/**
+ * <!-- 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.common.CommonPackage
+ * @generated
+ */
+public class CommonAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CommonPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = CommonPackage.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 CommonSwitch<Adapter> modelSwitch =
+ new CommonSwitch<Adapter>() {
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @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.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.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 the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //CommonAdapterFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.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.common.util.CommonResourceImpl
+ * @generated
+ */
+public class CommonResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new CommonResourceImpl(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;
+ }
+
+} //CommonResourceFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.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.common.util.CommonResourceFactoryImpl
+ * @generated
+ */
+public class CommonResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public CommonResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //CommonResourceImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonSwitch.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonSwitch.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonSwitch.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,148 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.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.*;
+
+/**
+ * <!-- 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.common.CommonPackage
+ * @generated
+ */
+public class CommonSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static CommonPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonSwitch() {
+ if (modelPackage == null) {
+ modelPackage = CommonPackage.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 CommonPackage.ABSTRACT_ANY_TYPE: {
+ AbstractAnyType abstractAnyType = (AbstractAnyType)theEObject;
+ T result = caseAbstractAnyType(abstractAnyType);
+ if (result == null) result = caseAnyType(abstractAnyType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * 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>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>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;
+ }
+
+} //CommonSwitch
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonXMLProcessor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonXMLProcessor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonXMLProcessor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.common.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.common.CommonPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class CommonXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public CommonXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ CommonPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the CommonResourceFactoryImpl 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 CommonResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new CommonResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //CommonXMLProcessor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/common/util/CommonXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Component.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Component.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Component.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,157 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Component</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Component#getSubComponent <em>Sub Component</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Component#isRequired <em>Required</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Component#isTruncatable <em>Truncatable</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getComponent()
+ * @model extendedMetaData="name='Component' kind='elementOnly'"
+ * @generated
+ */
+public interface Component extends MappingNode {
+ /**
+ * Returns the value of the '<em><b>Sub Component</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.edi.SubComponent}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub Component</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub Component</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getComponent_SubComponent()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='sub-component' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<SubComponent> getSubComponent();
+
+ /**
+ * Returns the value of the '<em><b>Required</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Required</em>' attribute.
+ * @see #isSetRequired()
+ * @see #unsetRequired()
+ * @see #setRequired(boolean)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getComponent_Required()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='required'"
+ * @generated
+ */
+ boolean isRequired();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Component#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Required</em>' attribute.
+ * @see #isSetRequired()
+ * @see #unsetRequired()
+ * @see #isRequired()
+ * @generated
+ */
+ void setRequired(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Component#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetRequired()
+ * @see #isRequired()
+ * @see #setRequired(boolean)
+ * @generated
+ */
+ void unsetRequired();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Component#isRequired <em>Required</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Required</em>' attribute is set.
+ * @see #unsetRequired()
+ * @see #isRequired()
+ * @see #setRequired(boolean)
+ * @generated
+ */
+ boolean isSetRequired();
+
+ /**
+ * Returns the value of the '<em><b>Truncatable</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Truncatable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Truncatable</em>' attribute.
+ * @see #isSetTruncatable()
+ * @see #unsetTruncatable()
+ * @see #setTruncatable(boolean)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getComponent_Truncatable()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='truncatable'"
+ * @generated
+ */
+ boolean isTruncatable();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Component#isTruncatable <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Truncatable</em>' attribute.
+ * @see #isSetTruncatable()
+ * @see #unsetTruncatable()
+ * @see #isTruncatable()
+ * @generated
+ */
+ void setTruncatable(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Component#isTruncatable <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetTruncatable()
+ * @see #isTruncatable()
+ * @see #setTruncatable(boolean)
+ * @generated
+ */
+ void unsetTruncatable();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Component#isTruncatable <em>Truncatable</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Truncatable</em>' attribute is set.
+ * @see #unsetTruncatable()
+ * @see #isTruncatable()
+ * @see #setTruncatable(boolean)
+ * @generated
+ */
+ boolean isSetTruncatable();
+
+} // Component
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Component.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Delimiters.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Delimiters.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Delimiters.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,147 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Delimiters</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Delimiters#getComponent <em>Component</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Delimiters#getField <em>Field</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Delimiters#getSegment <em>Segment</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Delimiters#getSubComponent <em>Sub Component</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDelimiters()
+ * @model extendedMetaData="name='Delimiters' kind='empty'"
+ * @generated
+ */
+public interface Delimiters extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Component</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Component</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Component</em>' attribute.
+ * @see #setComponent(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDelimiters_Component()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='component'"
+ * @generated
+ */
+ String getComponent();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Delimiters#getComponent <em>Component</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Component</em>' attribute.
+ * @see #getComponent()
+ * @generated
+ */
+ void setComponent(String value);
+
+ /**
+ * Returns the value of the '<em><b>Field</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Field</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Field</em>' attribute.
+ * @see #setField(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDelimiters_Field()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='field'"
+ * @generated
+ */
+ String getField();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Delimiters#getField <em>Field</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Field</em>' attribute.
+ * @see #getField()
+ * @generated
+ */
+ void setField(String value);
+
+ /**
+ * Returns the value of the '<em><b>Segment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Segment</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Segment</em>' attribute.
+ * @see #setSegment(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDelimiters_Segment()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='segment'"
+ * @generated
+ */
+ String getSegment();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Delimiters#getSegment <em>Segment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Segment</em>' attribute.
+ * @see #getSegment()
+ * @generated
+ */
+ void setSegment(String value);
+
+ /**
+ * Returns the value of the '<em><b>Sub Component</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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 =
+ * "&#10;"
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Sub Component</em>' attribute.
+ * @see #setSubComponent(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDelimiters_SubComponent()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='sub-component'"
+ * @generated
+ */
+ String getSubComponent();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Delimiters#getSubComponent <em>Sub Component</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub Component</em>' attribute.
+ * @see #getSubComponent()
+ * @generated
+ */
+ void setSubComponent(String value);
+
+} // Delimiters
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Delimiters.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Description.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Description.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Description.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,83 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Description</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Description#getName <em>Name</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Description#getVersion <em>Version</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDescription()
+ * @model extendedMetaData="name='Description' kind='empty'"
+ * @generated
+ */
+public interface Description extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDescription_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Description#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Version</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Version</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Version</em>' attribute.
+ * @see #setVersion(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDescription_Version()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='version'"
+ * @generated
+ */
+ String getVersion();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Description#getVersion <em>Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Version</em>' attribute.
+ * @see #getVersion()
+ * @generated
+ */
+ void setVersion(String value);
+
+} // Description
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Description.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/DocumentRoot.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/DocumentRoot.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/DocumentRoot.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,115 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+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.edi.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.DocumentRoot#getEdimap <em>Edimap</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot 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.edi.EdiPackage#getDocumentRoot_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.edi.EdiPackage#getDocumentRoot_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.edi.EdiPackage#getDocumentRoot_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>Edimap</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Edimap</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Edimap</em>' containment reference.
+ * @see #setEdimap(EdiMap)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getDocumentRoot_Edimap()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='edimap' namespace='##targetNamespace'"
+ * @generated
+ */
+ EdiMap getEdimap();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.DocumentRoot#getEdimap <em>Edimap</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Edimap</em>' containment reference.
+ * @see #getEdimap()
+ * @generated
+ */
+ void setEdimap(EdiMap value);
+
+} // DocumentRoot
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/DocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,127 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+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.edi.EdiPackage
+ * @generated
+ */
+public interface EdiFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EdiFactory eINSTANCE = org.jboss.tools.smooks.model.edi.impl.EdiFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Component</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Component</em>'.
+ * @generated
+ */
+ Component createComponent();
+
+ /**
+ * Returns a new object of class '<em>Delimiters</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Delimiters</em>'.
+ * @generated
+ */
+ Delimiters createDelimiters();
+
+ /**
+ * Returns a new object of class '<em>Description</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Description</em>'.
+ * @generated
+ */
+ Description createDescription();
+
+ /**
+ * 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
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Map</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Map</em>'.
+ * @generated
+ */
+ EdiMap createEdiMap();
+
+ /**
+ * Returns a new object of class '<em>Field</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Field</em>'.
+ * @generated
+ */
+ Field createField();
+
+ /**
+ * Returns a new object of class '<em>Mapping Node</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Mapping Node</em>'.
+ * @generated
+ */
+ MappingNode createMappingNode();
+
+ /**
+ * Returns a new object of class '<em>Segment</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Segment</em>'.
+ * @generated
+ */
+ Segment createSegment();
+
+ /**
+ * Returns a new object of class '<em>Segments</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Segments</em>'.
+ * @generated
+ */
+ Segments createSegments();
+
+ /**
+ * Returns a new object of class '<em>Sub Component</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Sub Component</em>'.
+ * @generated
+ */
+ SubComponent createSubComponent();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ EdiPackage getEdiPackage();
+
+} //EdiFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiMap.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiMap.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiMap.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,111 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Map</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.EdiMap#getDescription <em>Description</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.EdiMap#getDelimiters <em>Delimiters</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.EdiMap#getSegments <em>Segments</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getEdiMap()
+ * @model extendedMetaData="name='EdiMap' kind='elementOnly'"
+ * @generated
+ */
+public interface EdiMap extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Description</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Description</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Description</em>' containment reference.
+ * @see #setDescription(Description)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getEdiMap_Description()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'"
+ * @generated
+ */
+ Description getDescription();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.EdiMap#getDescription <em>Description</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Description</em>' containment reference.
+ * @see #getDescription()
+ * @generated
+ */
+ void setDescription(Description value);
+
+ /**
+ * Returns the value of the '<em><b>Delimiters</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Delimiters</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Delimiters</em>' containment reference.
+ * @see #setDelimiters(Delimiters)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getEdiMap_Delimiters()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='delimiters' namespace='##targetNamespace'"
+ * @generated
+ */
+ Delimiters getDelimiters();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.EdiMap#getDelimiters <em>Delimiters</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Delimiters</em>' containment reference.
+ * @see #getDelimiters()
+ * @generated
+ */
+ void setDelimiters(Delimiters value);
+
+ /**
+ * Returns the value of the '<em><b>Segments</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Segments</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Segments</em>' containment reference.
+ * @see #setSegments(Segments)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getEdiMap_Segments()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='segments' namespace='##targetNamespace'"
+ * @generated
+ */
+ Segments getSegments();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.EdiMap#getSegments <em>Segments</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Segments</em>' containment reference.
+ * @see #getSegments()
+ * @generated
+ */
+ void setSegments(Segments value);
+
+} // EdiMap
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiMap.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiPackage.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiPackage.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiPackage.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,1551 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+
+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.common.CommonPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.EdiFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface EdiPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "edi";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/schema/edi-message-mapping-1.0.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "edi";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EdiPackage eINSTANCE = org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.MappingNodeImpl <em>Mapping Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.MappingNodeImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getMappingNode()
+ * @generated
+ */
+ int MAPPING_NODE = 6;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MAPPING_NODE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MAPPING_NODE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MAPPING_NODE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MAPPING_NODE__XMLTAG = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Mapping Node</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int MAPPING_NODE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.ComponentImpl <em>Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.ComponentImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getComponent()
+ * @generated
+ */
+ int COMPONENT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__MIXED = MAPPING_NODE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__ANY = MAPPING_NODE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__ANY_ATTRIBUTE = MAPPING_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__XMLTAG = MAPPING_NODE__XMLTAG;
+
+ /**
+ * The feature id for the '<em><b>Sub Component</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__SUB_COMPONENT = MAPPING_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__REQUIRED = MAPPING_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Truncatable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT__TRUNCATABLE = MAPPING_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Component</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int COMPONENT_FEATURE_COUNT = MAPPING_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.DelimitersImpl <em>Delimiters</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.DelimitersImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getDelimiters()
+ * @generated
+ */
+ int DELIMITERS = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Component</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__COMPONENT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Field</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__FIELD = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Segment</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__SEGMENT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Sub Component</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS__SUB_COMPONENT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Delimiters</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DELIMITERS_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.DescriptionImpl <em>Description</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.DescriptionImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getDescription()
+ * @generated
+ */
+ int DESCRIPTION = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DESCRIPTION__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DESCRIPTION__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DESCRIPTION__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DESCRIPTION__NAME = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Version</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DESCRIPTION__VERSION = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Description</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DESCRIPTION_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 3;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int 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 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 DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Edimap</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EDIMAP = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.EdiMapImpl <em>Map</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiMapImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getEdiMap()
+ * @generated
+ */
+ int EDI_MAP = 4;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Description</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP__DESCRIPTION = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Delimiters</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP__DELIMITERS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Segments</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP__SEGMENTS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Map</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EDI_MAP_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.FieldImpl <em>Field</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.FieldImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getField()
+ * @generated
+ */
+ int FIELD = 5;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__MIXED = MAPPING_NODE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__ANY = MAPPING_NODE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__ANY_ATTRIBUTE = MAPPING_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__XMLTAG = MAPPING_NODE__XMLTAG;
+
+ /**
+ * The feature id for the '<em><b>Component</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__COMPONENT = MAPPING_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__REQUIRED = MAPPING_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Truncatable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD__TRUNCATABLE = MAPPING_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Field</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FIELD_FEATURE_COUNT = MAPPING_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl <em>Segment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.SegmentImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getSegment()
+ * @generated
+ */
+ int SEGMENT = 7;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__MIXED = MAPPING_NODE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__ANY = MAPPING_NODE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__ANY_ATTRIBUTE = MAPPING_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__XMLTAG = MAPPING_NODE__XMLTAG;
+
+ /**
+ * The feature id for the '<em><b>Field</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__FIELD = MAPPING_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Segment</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__SEGMENT = MAPPING_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Max Occurs</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__MAX_OCCURS = MAPPING_NODE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Min Occurs</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__MIN_OCCURS = MAPPING_NODE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Segcode</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__SEGCODE = MAPPING_NODE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Truncatable</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT__TRUNCATABLE = MAPPING_NODE_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Segment</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENT_FEATURE_COUNT = MAPPING_NODE_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.SegmentsImpl <em>Segments</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.SegmentsImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getSegments()
+ * @generated
+ */
+ int SEGMENTS = 8;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENTS__MIXED = MAPPING_NODE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENTS__ANY = MAPPING_NODE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENTS__ANY_ATTRIBUTE = MAPPING_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENTS__XMLTAG = MAPPING_NODE__XMLTAG;
+
+ /**
+ * The feature id for the '<em><b>Segment</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENTS__SEGMENT = MAPPING_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Segments</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SEGMENTS_FEATURE_COUNT = MAPPING_NODE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.edi.impl.SubComponentImpl <em>Sub Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.SubComponentImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getSubComponent()
+ * @generated
+ */
+ int SUB_COMPONENT = 9;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_COMPONENT__MIXED = MAPPING_NODE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_COMPONENT__ANY = MAPPING_NODE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_COMPONENT__ANY_ATTRIBUTE = MAPPING_NODE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_COMPONENT__XMLTAG = MAPPING_NODE__XMLTAG;
+
+ /**
+ * The feature id for the '<em><b>Required</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_COMPONENT__REQUIRED = MAPPING_NODE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Sub Component</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SUB_COMPONENT_FEATURE_COUNT = MAPPING_NODE_FEATURE_COUNT + 1;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.Component <em>Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Component</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Component
+ * @generated
+ */
+ EClass getComponent();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.edi.Component#getSubComponent <em>Sub Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Sub Component</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Component#getSubComponent()
+ * @see #getComponent()
+ * @generated
+ */
+ EReference getComponent_SubComponent();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Component#isRequired <em>Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Required</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Component#isRequired()
+ * @see #getComponent()
+ * @generated
+ */
+ EAttribute getComponent_Required();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Component#isTruncatable <em>Truncatable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Truncatable</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Component#isTruncatable()
+ * @see #getComponent()
+ * @generated
+ */
+ EAttribute getComponent_Truncatable();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.Delimiters <em>Delimiters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Delimiters</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Delimiters
+ * @generated
+ */
+ EClass getDelimiters();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Delimiters#getComponent <em>Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Component</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Delimiters#getComponent()
+ * @see #getDelimiters()
+ * @generated
+ */
+ EAttribute getDelimiters_Component();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Delimiters#getField <em>Field</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Field</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Delimiters#getField()
+ * @see #getDelimiters()
+ * @generated
+ */
+ EAttribute getDelimiters_Field();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Delimiters#getSegment <em>Segment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Segment</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Delimiters#getSegment()
+ * @see #getDelimiters()
+ * @generated
+ */
+ EAttribute getDelimiters_Segment();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Delimiters#getSubComponent <em>Sub Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sub Component</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Delimiters#getSubComponent()
+ * @see #getDelimiters()
+ * @generated
+ */
+ EAttribute getDelimiters_SubComponent();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.Description <em>Description</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Description</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Description
+ * @generated
+ */
+ EClass getDescription();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Description#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Description#getName()
+ * @see #getDescription()
+ * @generated
+ */
+ EAttribute getDescription_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Description#getVersion <em>Version</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Version</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Description#getVersion()
+ * @see #getDescription()
+ * @generated
+ */
+ EAttribute getDescription_Version();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.DocumentRoot <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.edi.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.edi.DocumentRoot#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.edi.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.edi.DocumentRoot#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.edi.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.edi.DocumentRoot#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.edi.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.edi.DocumentRoot#getEdimap <em>Edimap</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Edimap</em>'.
+ * @see org.jboss.tools.smooks.model.edi.DocumentRoot#getEdimap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Edimap();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.EdiMap <em>Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Map</em>'.
+ * @see org.jboss.tools.smooks.model.edi.EdiMap
+ * @generated
+ */
+ EClass getEdiMap();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.edi.EdiMap#getDescription <em>Description</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Description</em>'.
+ * @see org.jboss.tools.smooks.model.edi.EdiMap#getDescription()
+ * @see #getEdiMap()
+ * @generated
+ */
+ EReference getEdiMap_Description();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.edi.EdiMap#getDelimiters <em>Delimiters</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Delimiters</em>'.
+ * @see org.jboss.tools.smooks.model.edi.EdiMap#getDelimiters()
+ * @see #getEdiMap()
+ * @generated
+ */
+ EReference getEdiMap_Delimiters();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.edi.EdiMap#getSegments <em>Segments</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Segments</em>'.
+ * @see org.jboss.tools.smooks.model.edi.EdiMap#getSegments()
+ * @see #getEdiMap()
+ * @generated
+ */
+ EReference getEdiMap_Segments();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.Field <em>Field</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Field</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Field
+ * @generated
+ */
+ EClass getField();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.edi.Field#getComponent <em>Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Component</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Field#getComponent()
+ * @see #getField()
+ * @generated
+ */
+ EReference getField_Component();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Field#isRequired <em>Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Required</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Field#isRequired()
+ * @see #getField()
+ * @generated
+ */
+ EAttribute getField_Required();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Field#isTruncatable <em>Truncatable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Truncatable</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Field#isTruncatable()
+ * @see #getField()
+ * @generated
+ */
+ EAttribute getField_Truncatable();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.MappingNode <em>Mapping Node</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Mapping Node</em>'.
+ * @see org.jboss.tools.smooks.model.edi.MappingNode
+ * @generated
+ */
+ EClass getMappingNode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.MappingNode#getXmltag <em>Xmltag</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Xmltag</em>'.
+ * @see org.jboss.tools.smooks.model.edi.MappingNode#getXmltag()
+ * @see #getMappingNode()
+ * @generated
+ */
+ EAttribute getMappingNode_Xmltag();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.Segment <em>Segment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Segment</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment
+ * @generated
+ */
+ EClass getSegment();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.edi.Segment#getField <em>Field</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Field</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment#getField()
+ * @see #getSegment()
+ * @generated
+ */
+ EReference getSegment_Field();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.edi.Segment#getSegment <em>Segment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Segment</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment#getSegment()
+ * @see #getSegment()
+ * @generated
+ */
+ EReference getSegment_Segment();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Segment#getMaxOccurs <em>Max Occurs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Max Occurs</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment#getMaxOccurs()
+ * @see #getSegment()
+ * @generated
+ */
+ EAttribute getSegment_MaxOccurs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Segment#getMinOccurs <em>Min Occurs</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Min Occurs</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment#getMinOccurs()
+ * @see #getSegment()
+ * @generated
+ */
+ EAttribute getSegment_MinOccurs();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Segment#getSegcode <em>Segcode</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Segcode</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment#getSegcode()
+ * @see #getSegment()
+ * @generated
+ */
+ EAttribute getSegment_Segcode();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.Segment#isTruncatable <em>Truncatable</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Truncatable</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segment#isTruncatable()
+ * @see #getSegment()
+ * @generated
+ */
+ EAttribute getSegment_Truncatable();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.Segments <em>Segments</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Segments</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segments
+ * @generated
+ */
+ EClass getSegments();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.edi.Segments#getSegment <em>Segment</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Segment</em>'.
+ * @see org.jboss.tools.smooks.model.edi.Segments#getSegment()
+ * @see #getSegments()
+ * @generated
+ */
+ EReference getSegments_Segment();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.edi.SubComponent <em>Sub Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Sub Component</em>'.
+ * @see org.jboss.tools.smooks.model.edi.SubComponent
+ * @generated
+ */
+ EClass getSubComponent();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.edi.SubComponent#isRequired <em>Required</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Required</em>'.
+ * @see org.jboss.tools.smooks.model.edi.SubComponent#isRequired()
+ * @see #getSubComponent()
+ * @generated
+ */
+ EAttribute getSubComponent_Required();
+
+ /**
+ * 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
+ */
+ EdiFactory getEdiFactory();
+
+ /**
+ * <!-- 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.edi.impl.ComponentImpl <em>Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.ComponentImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getComponent()
+ * @generated
+ */
+ EClass COMPONENT = eINSTANCE.getComponent();
+
+ /**
+ * The meta object literal for the '<em><b>Sub Component</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference COMPONENT__SUB_COMPONENT = eINSTANCE.getComponent_SubComponent();
+
+ /**
+ * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMPONENT__REQUIRED = eINSTANCE.getComponent_Required();
+
+ /**
+ * The meta object literal for the '<em><b>Truncatable</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute COMPONENT__TRUNCATABLE = eINSTANCE.getComponent_Truncatable();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.DelimitersImpl <em>Delimiters</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.DelimitersImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getDelimiters()
+ * @generated
+ */
+ EClass DELIMITERS = eINSTANCE.getDelimiters();
+
+ /**
+ * The meta object literal for the '<em><b>Component</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DELIMITERS__COMPONENT = eINSTANCE.getDelimiters_Component();
+
+ /**
+ * The meta object literal for the '<em><b>Field</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DELIMITERS__FIELD = eINSTANCE.getDelimiters_Field();
+
+ /**
+ * The meta object literal for the '<em><b>Segment</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DELIMITERS__SEGMENT = eINSTANCE.getDelimiters_Segment();
+
+ /**
+ * The meta object literal for the '<em><b>Sub Component</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DELIMITERS__SUB_COMPONENT = eINSTANCE.getDelimiters_SubComponent();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.DescriptionImpl <em>Description</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.DescriptionImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getDescription()
+ * @generated
+ */
+ EClass DESCRIPTION = eINSTANCE.getDescription();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DESCRIPTION__NAME = eINSTANCE.getDescription_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Version</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DESCRIPTION__VERSION = eINSTANCE.getDescription_Version();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Edimap</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EDIMAP = eINSTANCE.getDocumentRoot_Edimap();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.EdiMapImpl <em>Map</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiMapImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getEdiMap()
+ * @generated
+ */
+ EClass EDI_MAP = eINSTANCE.getEdiMap();
+
+ /**
+ * The meta object literal for the '<em><b>Description</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EDI_MAP__DESCRIPTION = eINSTANCE.getEdiMap_Description();
+
+ /**
+ * The meta object literal for the '<em><b>Delimiters</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EDI_MAP__DELIMITERS = eINSTANCE.getEdiMap_Delimiters();
+
+ /**
+ * The meta object literal for the '<em><b>Segments</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference EDI_MAP__SEGMENTS = eINSTANCE.getEdiMap_Segments();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.FieldImpl <em>Field</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.FieldImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getField()
+ * @generated
+ */
+ EClass FIELD = eINSTANCE.getField();
+
+ /**
+ * The meta object literal for the '<em><b>Component</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FIELD__COMPONENT = eINSTANCE.getField_Component();
+
+ /**
+ * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FIELD__REQUIRED = eINSTANCE.getField_Required();
+
+ /**
+ * The meta object literal for the '<em><b>Truncatable</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FIELD__TRUNCATABLE = eINSTANCE.getField_Truncatable();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.MappingNodeImpl <em>Mapping Node</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.MappingNodeImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getMappingNode()
+ * @generated
+ */
+ EClass MAPPING_NODE = eINSTANCE.getMappingNode();
+
+ /**
+ * The meta object literal for the '<em><b>Xmltag</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute MAPPING_NODE__XMLTAG = eINSTANCE.getMappingNode_Xmltag();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl <em>Segment</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.SegmentImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getSegment()
+ * @generated
+ */
+ EClass SEGMENT = eINSTANCE.getSegment();
+
+ /**
+ * The meta object literal for the '<em><b>Field</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEGMENT__FIELD = eINSTANCE.getSegment_Field();
+
+ /**
+ * The meta object literal for the '<em><b>Segment</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEGMENT__SEGMENT = eINSTANCE.getSegment_Segment();
+
+ /**
+ * The meta object literal for the '<em><b>Max Occurs</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SEGMENT__MAX_OCCURS = eINSTANCE.getSegment_MaxOccurs();
+
+ /**
+ * The meta object literal for the '<em><b>Min Occurs</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SEGMENT__MIN_OCCURS = eINSTANCE.getSegment_MinOccurs();
+
+ /**
+ * The meta object literal for the '<em><b>Segcode</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SEGMENT__SEGCODE = eINSTANCE.getSegment_Segcode();
+
+ /**
+ * The meta object literal for the '<em><b>Truncatable</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SEGMENT__TRUNCATABLE = eINSTANCE.getSegment_Truncatable();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.SegmentsImpl <em>Segments</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.SegmentsImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getSegments()
+ * @generated
+ */
+ EClass SEGMENTS = eINSTANCE.getSegments();
+
+ /**
+ * The meta object literal for the '<em><b>Segment</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SEGMENTS__SEGMENT = eINSTANCE.getSegments_Segment();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.edi.impl.SubComponentImpl <em>Sub Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.edi.impl.SubComponentImpl
+ * @see org.jboss.tools.smooks.model.edi.impl.EdiPackageImpl#getSubComponent()
+ * @generated
+ */
+ EClass SUB_COMPONENT = eINSTANCE.getSubComponent();
+
+ /**
+ * The meta object literal for the '<em><b>Required</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SUB_COMPONENT__REQUIRED = eINSTANCE.getSubComponent_Required();
+
+ }
+
+} //EdiPackage
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/EdiPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Field.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Field.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Field.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,157 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Field</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Field#getComponent <em>Component</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Field#isRequired <em>Required</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Field#isTruncatable <em>Truncatable</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getField()
+ * @model extendedMetaData="name='Field' kind='elementOnly'"
+ * @generated
+ */
+public interface Field extends MappingNode {
+ /**
+ * Returns the value of the '<em><b>Component</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.edi.Component}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Component</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Component</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getField_Component()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='component' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<Component> getComponent();
+
+ /**
+ * Returns the value of the '<em><b>Required</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Required</em>' attribute.
+ * @see #isSetRequired()
+ * @see #unsetRequired()
+ * @see #setRequired(boolean)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getField_Required()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='required'"
+ * @generated
+ */
+ boolean isRequired();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Field#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Required</em>' attribute.
+ * @see #isSetRequired()
+ * @see #unsetRequired()
+ * @see #isRequired()
+ * @generated
+ */
+ void setRequired(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Field#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetRequired()
+ * @see #isRequired()
+ * @see #setRequired(boolean)
+ * @generated
+ */
+ void unsetRequired();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Field#isRequired <em>Required</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Required</em>' attribute is set.
+ * @see #unsetRequired()
+ * @see #isRequired()
+ * @see #setRequired(boolean)
+ * @generated
+ */
+ boolean isSetRequired();
+
+ /**
+ * Returns the value of the '<em><b>Truncatable</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Truncatable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Truncatable</em>' attribute.
+ * @see #isSetTruncatable()
+ * @see #unsetTruncatable()
+ * @see #setTruncatable(boolean)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getField_Truncatable()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='truncatable'"
+ * @generated
+ */
+ boolean isTruncatable();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Field#isTruncatable <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Truncatable</em>' attribute.
+ * @see #isSetTruncatable()
+ * @see #unsetTruncatable()
+ * @see #isTruncatable()
+ * @generated
+ */
+ void setTruncatable(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Field#isTruncatable <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetTruncatable()
+ * @see #isTruncatable()
+ * @see #setTruncatable(boolean)
+ * @generated
+ */
+ void unsetTruncatable();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Field#isTruncatable <em>Truncatable</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Truncatable</em>' attribute is set.
+ * @see #unsetTruncatable()
+ * @see #isTruncatable()
+ * @see #setTruncatable(boolean)
+ * @generated
+ */
+ boolean isSetTruncatable();
+
+} // Field
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Field.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/MappingNode.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/MappingNode.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/MappingNode.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Mapping Node</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.MappingNode#getXmltag <em>Xmltag</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getMappingNode()
+ * @model extendedMetaData="name='MappingNode' kind='empty'"
+ * @generated
+ */
+public interface MappingNode extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Xmltag</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Xmltag</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Xmltag</em>' attribute.
+ * @see #setXmltag(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getMappingNode_Xmltag()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='xmltag'"
+ * @generated
+ */
+ String getXmltag();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.MappingNode#getXmltag <em>Xmltag</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xmltag</em>' attribute.
+ * @see #getXmltag()
+ * @generated
+ */
+ void setXmltag(String value);
+
+} // MappingNode
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/MappingNode.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segment.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segment.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segment.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,264 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Segment</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segment#getField <em>Field</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segment#getSegment <em>Segment</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segment#getMaxOccurs <em>Max Occurs</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segment#getMinOccurs <em>Min Occurs</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segment#getSegcode <em>Segcode</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segment#isTruncatable <em>Truncatable</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment()
+ * @model extendedMetaData="name='Segment' kind='elementOnly'"
+ * @generated
+ */
+public interface Segment extends MappingNode {
+ /**
+ * Returns the value of the '<em><b>Field</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.edi.Field}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Field</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Field</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment_Field()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='field' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<Field> getField();
+
+ /**
+ * Returns the value of the '<em><b>Segment</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.edi.Segment}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Segment</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Segment</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment_Segment()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='segment' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<Segment> getSegment();
+
+ /**
+ * Returns the value of the '<em><b>Max Occurs</b></em>' attribute.
+ * The default value is <code>"1"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Max Occurs</em>' attribute.
+ * @see #isSetMaxOccurs()
+ * @see #unsetMaxOccurs()
+ * @see #setMaxOccurs(int)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment_MaxOccurs()
+ * @model default="1" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
+ * extendedMetaData="kind='attribute' name='maxOccurs'"
+ * @generated
+ */
+ int getMaxOccurs();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getMaxOccurs <em>Max Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Max Occurs</em>' attribute.
+ * @see #isSetMaxOccurs()
+ * @see #unsetMaxOccurs()
+ * @see #getMaxOccurs()
+ * @generated
+ */
+ void setMaxOccurs(int value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getMaxOccurs <em>Max Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetMaxOccurs()
+ * @see #getMaxOccurs()
+ * @see #setMaxOccurs(int)
+ * @generated
+ */
+ void unsetMaxOccurs();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getMaxOccurs <em>Max Occurs</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Max Occurs</em>' attribute is set.
+ * @see #unsetMaxOccurs()
+ * @see #getMaxOccurs()
+ * @see #setMaxOccurs(int)
+ * @generated
+ */
+ boolean isSetMaxOccurs();
+
+ /**
+ * Returns the value of the '<em><b>Min Occurs</b></em>' attribute.
+ * The default value is <code>"1"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The minimum number of times the segment must appear in this
+ * position within the EDI message.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Min Occurs</em>' attribute.
+ * @see #isSetMinOccurs()
+ * @see #unsetMinOccurs()
+ * @see #setMinOccurs(int)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment_MinOccurs()
+ * @model default="1" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Int"
+ * extendedMetaData="kind='attribute' name='minOccurs'"
+ * @generated
+ */
+ int getMinOccurs();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getMinOccurs <em>Min Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Min Occurs</em>' attribute.
+ * @see #isSetMinOccurs()
+ * @see #unsetMinOccurs()
+ * @see #getMinOccurs()
+ * @generated
+ */
+ void setMinOccurs(int value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getMinOccurs <em>Min Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetMinOccurs()
+ * @see #getMinOccurs()
+ * @see #setMinOccurs(int)
+ * @generated
+ */
+ void unsetMinOccurs();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getMinOccurs <em>Min Occurs</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Min Occurs</em>' attribute is set.
+ * @see #unsetMinOccurs()
+ * @see #getMinOccurs()
+ * @see #setMinOccurs(int)
+ * @generated
+ */
+ boolean isSetMinOccurs();
+
+ /**
+ * Returns the value of the '<em><b>Segcode</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Segcode</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Segcode</em>' attribute.
+ * @see #setSegcode(String)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment_Segcode()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='segcode'"
+ * @generated
+ */
+ String getSegcode();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#getSegcode <em>Segcode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Segcode</em>' attribute.
+ * @see #getSegcode()
+ * @generated
+ */
+ void setSegcode(String value);
+
+ /**
+ * Returns the value of the '<em><b>Truncatable</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Truncatable</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Truncatable</em>' attribute.
+ * @see #isSetTruncatable()
+ * @see #unsetTruncatable()
+ * @see #setTruncatable(boolean)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegment_Truncatable()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='truncatable'"
+ * @generated
+ */
+ boolean isTruncatable();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#isTruncatable <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Truncatable</em>' attribute.
+ * @see #isSetTruncatable()
+ * @see #unsetTruncatable()
+ * @see #isTruncatable()
+ * @generated
+ */
+ void setTruncatable(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#isTruncatable <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetTruncatable()
+ * @see #isTruncatable()
+ * @see #setTruncatable(boolean)
+ * @generated
+ */
+ void unsetTruncatable();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.Segment#isTruncatable <em>Truncatable</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Truncatable</em>' attribute is set.
+ * @see #unsetTruncatable()
+ * @see #isTruncatable()
+ * @see #setTruncatable(boolean)
+ * @generated
+ */
+ boolean isSetTruncatable();
+
+} // Segment
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segment.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segments.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segments.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segments.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,45 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Segments</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.Segments#getSegment <em>Segment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegments()
+ * @model extendedMetaData="name='Segments' kind='elementOnly'"
+ * @generated
+ */
+public interface Segments extends MappingNode {
+ /**
+ * Returns the value of the '<em><b>Segment</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.edi.Segment}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Segment</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Segment</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSegments_Segment()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='segment' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<Segment> getSegment();
+
+} // Segments
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/Segments.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/SubComponent.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/SubComponent.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/SubComponent.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,82 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Sub Component</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.SubComponent#isRequired <em>Required</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSubComponent()
+ * @model extendedMetaData="name='SubComponent' kind='empty'"
+ * @generated
+ */
+public interface SubComponent extends MappingNode {
+ /**
+ * Returns the value of the '<em><b>Required</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Required</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Required</em>' attribute.
+ * @see #isSetRequired()
+ * @see #unsetRequired()
+ * @see #setRequired(boolean)
+ * @see org.jboss.tools.smooks.model.edi.EdiPackage#getSubComponent_Required()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='required'"
+ * @generated
+ */
+ boolean isRequired();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.edi.SubComponent#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Required</em>' attribute.
+ * @see #isSetRequired()
+ * @see #unsetRequired()
+ * @see #isRequired()
+ * @generated
+ */
+ void setRequired(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.edi.SubComponent#isRequired <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetRequired()
+ * @see #isRequired()
+ * @see #setRequired(boolean)
+ * @generated
+ */
+ void unsetRequired();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.edi.SubComponent#isRequired <em>Required</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Required</em>' attribute is set.
+ * @see #unsetRequired()
+ * @see #isRequired()
+ * @see #setRequired(boolean)
+ * @generated
+ */
+ boolean isSetRequired();
+
+} // SubComponent
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/SubComponent.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/ComponentImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/ComponentImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/ComponentImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,347 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.edi.Component;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.SubComponent;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Component</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.ComponentImpl#getSubComponent <em>Sub Component</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.ComponentImpl#isRequired <em>Required</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.ComponentImpl#isTruncatable <em>Truncatable</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ComponentImpl extends MappingNodeImpl implements Component {
+ /**
+ * The cached value of the '{@link #getSubComponent() <em>Sub Component</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubComponent()
+ * @generated
+ * @ordered
+ */
+ protected EList<SubComponent> subComponent;
+
+ /**
+ * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REQUIRED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean required = REQUIRED_EDEFAULT;
+
+ /**
+ * This is true if the Required attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean requiredESet;
+
+ /**
+ * The default value of the '{@link #isTruncatable() <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTruncatable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean TRUNCATABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isTruncatable() <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTruncatable()
+ * @generated
+ * @ordered
+ */
+ protected boolean truncatable = TRUNCATABLE_EDEFAULT;
+
+ /**
+ * This is true if the Truncatable attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean truncatableESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComponentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.COMPONENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<SubComponent> getSubComponent() {
+ if (subComponent == null) {
+ subComponent = new EObjectContainmentEList<SubComponent>(SubComponent.class, this, EdiPackage.COMPONENT__SUB_COMPONENT);
+ }
+ return subComponent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isRequired() {
+ return required;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRequired(boolean newRequired) {
+ boolean oldRequired = required;
+ required = newRequired;
+ boolean oldRequiredESet = requiredESet;
+ requiredESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.COMPONENT__REQUIRED, oldRequired, required, !oldRequiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetRequired() {
+ boolean oldRequired = required;
+ boolean oldRequiredESet = requiredESet;
+ required = REQUIRED_EDEFAULT;
+ requiredESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.COMPONENT__REQUIRED, oldRequired, REQUIRED_EDEFAULT, oldRequiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetRequired() {
+ return requiredESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isTruncatable() {
+ return truncatable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTruncatable(boolean newTruncatable) {
+ boolean oldTruncatable = truncatable;
+ truncatable = newTruncatable;
+ boolean oldTruncatableESet = truncatableESet;
+ truncatableESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.COMPONENT__TRUNCATABLE, oldTruncatable, truncatable, !oldTruncatableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetTruncatable() {
+ boolean oldTruncatable = truncatable;
+ boolean oldTruncatableESet = truncatableESet;
+ truncatable = TRUNCATABLE_EDEFAULT;
+ truncatableESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.COMPONENT__TRUNCATABLE, oldTruncatable, TRUNCATABLE_EDEFAULT, oldTruncatableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetTruncatable() {
+ return truncatableESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case EdiPackage.COMPONENT__SUB_COMPONENT:
+ return ((InternalEList<?>)getSubComponent()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.COMPONENT__SUB_COMPONENT:
+ return getSubComponent();
+ case EdiPackage.COMPONENT__REQUIRED:
+ return isRequired() ? Boolean.TRUE : Boolean.FALSE;
+ case EdiPackage.COMPONENT__TRUNCATABLE:
+ return isTruncatable() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.COMPONENT__SUB_COMPONENT:
+ getSubComponent().clear();
+ getSubComponent().addAll((Collection<? extends SubComponent>)newValue);
+ return;
+ case EdiPackage.COMPONENT__REQUIRED:
+ setRequired(((Boolean)newValue).booleanValue());
+ return;
+ case EdiPackage.COMPONENT__TRUNCATABLE:
+ setTruncatable(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.COMPONENT__SUB_COMPONENT:
+ getSubComponent().clear();
+ return;
+ case EdiPackage.COMPONENT__REQUIRED:
+ unsetRequired();
+ return;
+ case EdiPackage.COMPONENT__TRUNCATABLE:
+ unsetTruncatable();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.COMPONENT__SUB_COMPONENT:
+ return subComponent != null && !subComponent.isEmpty();
+ case EdiPackage.COMPONENT__REQUIRED:
+ return isSetRequired();
+ case EdiPackage.COMPONENT__TRUNCATABLE:
+ return isSetTruncatable();
+ }
+ 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(" (required: ");
+ if (requiredESet) result.append(required); else result.append("<unset>");
+ result.append(", truncatable: ");
+ if (truncatableESet) result.append(truncatable); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //ComponentImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/ComponentImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DelimitersImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DelimitersImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DelimitersImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,330 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.edi.Delimiters;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Delimiters</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DelimitersImpl#getComponent <em>Component</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DelimitersImpl#getField <em>Field</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DelimitersImpl#getSegment <em>Segment</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DelimitersImpl#getSubComponent <em>Sub Component</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DelimitersImpl extends AbstractAnyTypeImpl implements Delimiters {
+ /**
+ * The default value of the '{@link #getComponent() <em>Component</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getComponent()
+ * @generated
+ * @ordered
+ */
+ protected static final String COMPONENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getComponent() <em>Component</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getComponent()
+ * @generated
+ * @ordered
+ */
+ protected String component = COMPONENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getField() <em>Field</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getField()
+ * @generated
+ * @ordered
+ */
+ protected static final String FIELD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getField() <em>Field</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getField()
+ * @generated
+ * @ordered
+ */
+ protected String field = FIELD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSegment() <em>Segment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegment()
+ * @generated
+ * @ordered
+ */
+ protected static final String SEGMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSegment() <em>Segment</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegment()
+ * @generated
+ * @ordered
+ */
+ protected String segment = SEGMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSubComponent() <em>Sub Component</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubComponent()
+ * @generated
+ * @ordered
+ */
+ protected static final String SUB_COMPONENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSubComponent() <em>Sub Component</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubComponent()
+ * @generated
+ * @ordered
+ */
+ protected String subComponent = SUB_COMPONENT_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DelimitersImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.DELIMITERS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getComponent() {
+ return component;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setComponent(String newComponent) {
+ String oldComponent = component;
+ component = newComponent;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.DELIMITERS__COMPONENT, oldComponent, component));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getField() {
+ return field;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setField(String newField) {
+ String oldField = field;
+ field = newField;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.DELIMITERS__FIELD, oldField, field));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSegment() {
+ return segment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSegment(String newSegment) {
+ String oldSegment = segment;
+ segment = newSegment;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.DELIMITERS__SEGMENT, oldSegment, segment));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSubComponent() {
+ return subComponent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubComponent(String newSubComponent) {
+ String oldSubComponent = subComponent;
+ subComponent = newSubComponent;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.DELIMITERS__SUB_COMPONENT, oldSubComponent, subComponent));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.DELIMITERS__COMPONENT:
+ return getComponent();
+ case EdiPackage.DELIMITERS__FIELD:
+ return getField();
+ case EdiPackage.DELIMITERS__SEGMENT:
+ return getSegment();
+ case EdiPackage.DELIMITERS__SUB_COMPONENT:
+ return getSubComponent();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.DELIMITERS__COMPONENT:
+ setComponent((String)newValue);
+ return;
+ case EdiPackage.DELIMITERS__FIELD:
+ setField((String)newValue);
+ return;
+ case EdiPackage.DELIMITERS__SEGMENT:
+ setSegment((String)newValue);
+ return;
+ case EdiPackage.DELIMITERS__SUB_COMPONENT:
+ setSubComponent((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.DELIMITERS__COMPONENT:
+ setComponent(COMPONENT_EDEFAULT);
+ return;
+ case EdiPackage.DELIMITERS__FIELD:
+ setField(FIELD_EDEFAULT);
+ return;
+ case EdiPackage.DELIMITERS__SEGMENT:
+ setSegment(SEGMENT_EDEFAULT);
+ return;
+ case EdiPackage.DELIMITERS__SUB_COMPONENT:
+ setSubComponent(SUB_COMPONENT_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.DELIMITERS__COMPONENT:
+ return COMPONENT_EDEFAULT == null ? component != null : !COMPONENT_EDEFAULT.equals(component);
+ case EdiPackage.DELIMITERS__FIELD:
+ return FIELD_EDEFAULT == null ? field != null : !FIELD_EDEFAULT.equals(field);
+ case EdiPackage.DELIMITERS__SEGMENT:
+ return SEGMENT_EDEFAULT == null ? segment != null : !SEGMENT_EDEFAULT.equals(segment);
+ case EdiPackage.DELIMITERS__SUB_COMPONENT:
+ return SUB_COMPONENT_EDEFAULT == null ? subComponent != null : !SUB_COMPONENT_EDEFAULT.equals(subComponent);
+ }
+ 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(" (component: ");
+ result.append(component);
+ result.append(", field: ");
+ result.append(field);
+ result.append(", segment: ");
+ result.append(segment);
+ result.append(", subComponent: ");
+ result.append(subComponent);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DelimitersImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DelimitersImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DescriptionImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DescriptionImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DescriptionImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,222 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.edi.Description;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Description</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DescriptionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DescriptionImpl#getVersion <em>Version</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DescriptionImpl extends AbstractAnyTypeImpl implements Description {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getVersion() <em>Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVersion()
+ * @generated
+ * @ordered
+ */
+ protected static final String VERSION_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getVersion() <em>Version</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getVersion()
+ * @generated
+ * @ordered
+ */
+ protected String version = VERSION_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DescriptionImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.DESCRIPTION;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.DESCRIPTION__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setVersion(String newVersion) {
+ String oldVersion = version;
+ version = newVersion;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.DESCRIPTION__VERSION, oldVersion, version));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.DESCRIPTION__NAME:
+ return getName();
+ case EdiPackage.DESCRIPTION__VERSION:
+ return getVersion();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.DESCRIPTION__NAME:
+ setName((String)newValue);
+ return;
+ case EdiPackage.DESCRIPTION__VERSION:
+ setVersion((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.DESCRIPTION__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case EdiPackage.DESCRIPTION__VERSION:
+ setVersion(VERSION_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.DESCRIPTION__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case EdiPackage.DESCRIPTION__VERSION:
+ return VERSION_EDEFAULT == null ? version != null : !VERSION_EDEFAULT.equals(version);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(", version: ");
+ result.append(version);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DescriptionImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DescriptionImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DocumentRootImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DocumentRootImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DocumentRootImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,286 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.DocumentRoot;
+import org.jboss.tools.smooks.model.edi.EdiMap;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+
+/**
+ * <!-- 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.edi.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.DocumentRootImpl#getEdimap <em>Edimap</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * 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 DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, EdiPackage.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, EdiPackage.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, EdiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiMap getEdimap() {
+ return (EdiMap)getMixed().get(EdiPackage.Literals.DOCUMENT_ROOT__EDIMAP, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetEdimap(EdiMap newEdimap, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(EdiPackage.Literals.DOCUMENT_ROOT__EDIMAP, newEdimap, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEdimap(EdiMap newEdimap) {
+ ((FeatureMap.Internal)getMixed()).set(EdiPackage.Literals.DOCUMENT_ROOT__EDIMAP, newEdimap);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case EdiPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case EdiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case EdiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case EdiPackage.DOCUMENT_ROOT__EDIMAP:
+ return basicSetEdimap(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 EdiPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case EdiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case EdiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case EdiPackage.DOCUMENT_ROOT__EDIMAP:
+ return getEdimap();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case EdiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case EdiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case EdiPackage.DOCUMENT_ROOT__EDIMAP:
+ setEdimap((EdiMap)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case EdiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case EdiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case EdiPackage.DOCUMENT_ROOT__EDIMAP:
+ setEdimap((EdiMap)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case EdiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case EdiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case EdiPackage.DOCUMENT_ROOT__EDIMAP:
+ return getEdimap() != 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();
+ }
+
+} //DocumentRootImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/DocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,198 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class EdiFactoryImpl extends EFactoryImpl implements EdiFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static EdiFactory init() {
+ try {
+ EdiFactory theEdiFactory = (EdiFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/schema/edi-message-mapping-1.0.xsd");
+ if (theEdiFactory != null) {
+ return theEdiFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new EdiFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case EdiPackage.COMPONENT: return createComponent();
+ case EdiPackage.DELIMITERS: return createDelimiters();
+ case EdiPackage.DESCRIPTION: return createDescription();
+ case EdiPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case EdiPackage.EDI_MAP: return createEdiMap();
+ case EdiPackage.FIELD: return createField();
+ case EdiPackage.MAPPING_NODE: return createMappingNode();
+ case EdiPackage.SEGMENT: return createSegment();
+ case EdiPackage.SEGMENTS: return createSegments();
+ case EdiPackage.SUB_COMPONENT: return createSubComponent();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Component createComponent() {
+ ComponentImpl component = new ComponentImpl();
+ return component;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Delimiters createDelimiters() {
+ DelimitersImpl delimiters = new DelimitersImpl();
+ return delimiters;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Description createDescription() {
+ DescriptionImpl description = new DescriptionImpl();
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiMap createEdiMap() {
+ EdiMapImpl ediMap = new EdiMapImpl();
+ return ediMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Field createField() {
+ FieldImpl field = new FieldImpl();
+ return field;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public MappingNode createMappingNode() {
+ MappingNodeImpl mappingNode = new MappingNodeImpl();
+ return mappingNode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Segment createSegment() {
+ SegmentImpl segment = new SegmentImpl();
+ return segment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Segments createSegments() {
+ SegmentsImpl segments = new SegmentsImpl();
+ return segments;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SubComponent createSubComponent() {
+ SubComponentImpl subComponent = new SubComponentImpl();
+ return subComponent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiPackage getEdiPackage() {
+ return (EdiPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static EdiPackage getPackage() {
+ return EdiPackage.eINSTANCE;
+ }
+
+} //EdiFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiMapImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiMapImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiMapImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,315 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.impl;
+
+
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.edi.Delimiters;
+import org.jboss.tools.smooks.model.edi.Description;
+import org.jboss.tools.smooks.model.edi.EdiMap;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.Segments;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Map</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.EdiMapImpl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.EdiMapImpl#getDelimiters <em>Delimiters</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.EdiMapImpl#getSegments <em>Segments</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class EdiMapImpl extends AbstractAnyTypeImpl implements EdiMap {
+ /**
+ * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDescription()
+ * @generated
+ * @ordered
+ */
+ protected Description description;
+
+ /**
+ * The cached value of the '{@link #getDelimiters() <em>Delimiters</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDelimiters()
+ * @generated
+ * @ordered
+ */
+ protected Delimiters delimiters;
+
+ /**
+ * The cached value of the '{@link #getSegments() <em>Segments</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegments()
+ * @generated
+ * @ordered
+ */
+ protected Segments segments;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EdiMapImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.EDI_MAP;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Description getDescription() {
+ return description;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDescription(Description newDescription, NotificationChain msgs) {
+ Description oldDescription = description;
+ description = newDescription;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EdiPackage.EDI_MAP__DESCRIPTION, oldDescription, newDescription);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDescription(Description newDescription) {
+ if (newDescription != description) {
+ NotificationChain msgs = null;
+ if (description != null)
+ msgs = ((InternalEObject)description).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EdiPackage.EDI_MAP__DESCRIPTION, null, msgs);
+ if (newDescription != null)
+ msgs = ((InternalEObject)newDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EdiPackage.EDI_MAP__DESCRIPTION, null, msgs);
+ msgs = basicSetDescription(newDescription, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.EDI_MAP__DESCRIPTION, newDescription, newDescription));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Delimiters getDelimiters() {
+ return delimiters;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDelimiters(Delimiters newDelimiters, NotificationChain msgs) {
+ Delimiters oldDelimiters = delimiters;
+ delimiters = newDelimiters;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EdiPackage.EDI_MAP__DELIMITERS, oldDelimiters, newDelimiters);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDelimiters(Delimiters newDelimiters) {
+ if (newDelimiters != delimiters) {
+ NotificationChain msgs = null;
+ if (delimiters != null)
+ msgs = ((InternalEObject)delimiters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EdiPackage.EDI_MAP__DELIMITERS, null, msgs);
+ if (newDelimiters != null)
+ msgs = ((InternalEObject)newDelimiters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EdiPackage.EDI_MAP__DELIMITERS, null, msgs);
+ msgs = basicSetDelimiters(newDelimiters, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.EDI_MAP__DELIMITERS, newDelimiters, newDelimiters));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Segments getSegments() {
+ return segments;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSegments(Segments newSegments, NotificationChain msgs) {
+ Segments oldSegments = segments;
+ segments = newSegments;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EdiPackage.EDI_MAP__SEGMENTS, oldSegments, newSegments);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSegments(Segments newSegments) {
+ if (newSegments != segments) {
+ NotificationChain msgs = null;
+ if (segments != null)
+ msgs = ((InternalEObject)segments).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EdiPackage.EDI_MAP__SEGMENTS, null, msgs);
+ if (newSegments != null)
+ msgs = ((InternalEObject)newSegments).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EdiPackage.EDI_MAP__SEGMENTS, null, msgs);
+ msgs = basicSetSegments(newSegments, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.EDI_MAP__SEGMENTS, newSegments, newSegments));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case EdiPackage.EDI_MAP__DESCRIPTION:
+ return basicSetDescription(null, msgs);
+ case EdiPackage.EDI_MAP__DELIMITERS:
+ return basicSetDelimiters(null, msgs);
+ case EdiPackage.EDI_MAP__SEGMENTS:
+ return basicSetSegments(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 EdiPackage.EDI_MAP__DESCRIPTION:
+ return getDescription();
+ case EdiPackage.EDI_MAP__DELIMITERS:
+ return getDelimiters();
+ case EdiPackage.EDI_MAP__SEGMENTS:
+ return getSegments();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.EDI_MAP__DESCRIPTION:
+ setDescription((Description)newValue);
+ return;
+ case EdiPackage.EDI_MAP__DELIMITERS:
+ setDelimiters((Delimiters)newValue);
+ return;
+ case EdiPackage.EDI_MAP__SEGMENTS:
+ setSegments((Segments)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.EDI_MAP__DESCRIPTION:
+ setDescription((Description)null);
+ return;
+ case EdiPackage.EDI_MAP__DELIMITERS:
+ setDelimiters((Delimiters)null);
+ return;
+ case EdiPackage.EDI_MAP__SEGMENTS:
+ setSegments((Segments)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.EDI_MAP__DESCRIPTION:
+ return description != null;
+ case EdiPackage.EDI_MAP__DELIMITERS:
+ return delimiters != null;
+ case EdiPackage.EDI_MAP__SEGMENTS:
+ return segments != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //EdiMapImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiMapImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiPackageImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiPackageImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiPackageImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,991 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.Component;
+import org.jboss.tools.smooks.model.edi.Delimiters;
+import org.jboss.tools.smooks.model.edi.Description;
+import org.jboss.tools.smooks.model.edi.DocumentRoot;
+import org.jboss.tools.smooks.model.edi.EdiFactory;
+import org.jboss.tools.smooks.model.edi.EdiMap;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.Field;
+import org.jboss.tools.smooks.model.edi.MappingNode;
+import org.jboss.tools.smooks.model.edi.Segment;
+import org.jboss.tools.smooks.model.edi.Segments;
+import org.jboss.tools.smooks.model.edi.SubComponent;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class EdiPackageImpl extends EPackageImpl implements EdiPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass componentEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass delimitersEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass descriptionEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass ediMapEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass fieldEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass mappingNodeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass segmentEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass segmentsEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass subComponentEClass = 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.edi.EdiPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private EdiPackageImpl() {
+ super(eNS_URI, EdiFactory.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 EdiPackage init() {
+ if (isInited) return (EdiPackage)EPackage.Registry.INSTANCE.getEPackage(EdiPackage.eNS_URI);
+
+ // Obtain or create and register package
+ EdiPackageImpl theEdiPackage = (EdiPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof EdiPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new EdiPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ 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
+ theEdiPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theEdiPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theEdiPackage.freeze();
+
+ return theEdiPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getComponent() {
+ return componentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getComponent_SubComponent() {
+ return (EReference)componentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getComponent_Required() {
+ return (EAttribute)componentEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getComponent_Truncatable() {
+ return (EAttribute)componentEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDelimiters() {
+ return delimitersEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDelimiters_Component() {
+ return (EAttribute)delimitersEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDelimiters_Field() {
+ return (EAttribute)delimitersEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDelimiters_Segment() {
+ return (EAttribute)delimitersEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDelimiters_SubComponent() {
+ return (EAttribute)delimitersEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDescription() {
+ return descriptionEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDescription_Name() {
+ return (EAttribute)descriptionEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDescription_Version() {
+ return (EAttribute)descriptionEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Edimap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getEdiMap() {
+ return ediMapEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEdiMap_Description() {
+ return (EReference)ediMapEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEdiMap_Delimiters() {
+ return (EReference)ediMapEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getEdiMap_Segments() {
+ return (EReference)ediMapEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getField() {
+ return fieldEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getField_Component() {
+ return (EReference)fieldEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getField_Required() {
+ return (EAttribute)fieldEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getField_Truncatable() {
+ return (EAttribute)fieldEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getMappingNode() {
+ return mappingNodeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getMappingNode_Xmltag() {
+ return (EAttribute)mappingNodeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSegment() {
+ return segmentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSegment_Field() {
+ return (EReference)segmentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSegment_Segment() {
+ return (EReference)segmentEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSegment_MaxOccurs() {
+ return (EAttribute)segmentEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSegment_MinOccurs() {
+ return (EAttribute)segmentEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSegment_Segcode() {
+ return (EAttribute)segmentEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSegment_Truncatable() {
+ return (EAttribute)segmentEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSegments() {
+ return segmentsEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSegments_Segment() {
+ return (EReference)segmentsEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSubComponent() {
+ return subComponentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSubComponent_Required() {
+ return (EAttribute)subComponentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiFactory getEdiFactory() {
+ return (EdiFactory)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
+ componentEClass = createEClass(COMPONENT);
+ createEReference(componentEClass, COMPONENT__SUB_COMPONENT);
+ createEAttribute(componentEClass, COMPONENT__REQUIRED);
+ createEAttribute(componentEClass, COMPONENT__TRUNCATABLE);
+
+ delimitersEClass = createEClass(DELIMITERS);
+ createEAttribute(delimitersEClass, DELIMITERS__COMPONENT);
+ createEAttribute(delimitersEClass, DELIMITERS__FIELD);
+ createEAttribute(delimitersEClass, DELIMITERS__SEGMENT);
+ createEAttribute(delimitersEClass, DELIMITERS__SUB_COMPONENT);
+
+ descriptionEClass = createEClass(DESCRIPTION);
+ createEAttribute(descriptionEClass, DESCRIPTION__NAME);
+ createEAttribute(descriptionEClass, DESCRIPTION__VERSION);
+
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__EDIMAP);
+
+ ediMapEClass = createEClass(EDI_MAP);
+ createEReference(ediMapEClass, EDI_MAP__DESCRIPTION);
+ createEReference(ediMapEClass, EDI_MAP__DELIMITERS);
+ createEReference(ediMapEClass, EDI_MAP__SEGMENTS);
+
+ fieldEClass = createEClass(FIELD);
+ createEReference(fieldEClass, FIELD__COMPONENT);
+ createEAttribute(fieldEClass, FIELD__REQUIRED);
+ createEAttribute(fieldEClass, FIELD__TRUNCATABLE);
+
+ mappingNodeEClass = createEClass(MAPPING_NODE);
+ createEAttribute(mappingNodeEClass, MAPPING_NODE__XMLTAG);
+
+ segmentEClass = createEClass(SEGMENT);
+ createEReference(segmentEClass, SEGMENT__FIELD);
+ createEReference(segmentEClass, SEGMENT__SEGMENT);
+ createEAttribute(segmentEClass, SEGMENT__MAX_OCCURS);
+ createEAttribute(segmentEClass, SEGMENT__MIN_OCCURS);
+ createEAttribute(segmentEClass, SEGMENT__SEGCODE);
+ createEAttribute(segmentEClass, SEGMENT__TRUNCATABLE);
+
+ segmentsEClass = createEClass(SEGMENTS);
+ createEReference(segmentsEClass, SEGMENTS__SEGMENT);
+
+ subComponentEClass = createEClass(SUB_COMPONENT);
+ createEAttribute(subComponentEClass, SUB_COMPONENT__REQUIRED);
+ }
+
+ /**
+ * <!-- 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
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ componentEClass.getESuperTypes().add(this.getMappingNode());
+ delimitersEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ descriptionEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ ediMapEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ fieldEClass.getESuperTypes().add(this.getMappingNode());
+ mappingNodeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ segmentEClass.getESuperTypes().add(this.getMappingNode());
+ segmentsEClass.getESuperTypes().add(this.getMappingNode());
+ subComponentEClass.getESuperTypes().add(this.getMappingNode());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(componentEClass, Component.class, "Component", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getComponent_SubComponent(), this.getSubComponent(), null, "subComponent", null, 0, -1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getComponent_Required(), theXMLTypePackage.getBoolean(), "required", "false", 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getComponent_Truncatable(), theXMLTypePackage.getBoolean(), "truncatable", "false", 0, 1, Component.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(delimitersEClass, Delimiters.class, "Delimiters", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDelimiters_Component(), theXMLTypePackage.getString(), "component", null, 1, 1, Delimiters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDelimiters_Field(), theXMLTypePackage.getString(), "field", null, 1, 1, Delimiters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDelimiters_Segment(), theXMLTypePackage.getString(), "segment", null, 1, 1, Delimiters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDelimiters_SubComponent(), theXMLTypePackage.getString(), "subComponent", null, 1, 1, Delimiters.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(descriptionEClass, Description.class, "Description", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDescription_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDescription_Version(), theXMLTypePackage.getString(), "version", null, 1, 1, Description.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_Edimap(), this.getEdiMap(), null, "edimap", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(ediMapEClass, EdiMap.class, "EdiMap", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getEdiMap_Description(), this.getDescription(), null, "description", null, 1, 1, EdiMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEdiMap_Delimiters(), this.getDelimiters(), null, "delimiters", null, 1, 1, EdiMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getEdiMap_Segments(), this.getSegments(), null, "segments", null, 1, 1, EdiMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(fieldEClass, Field.class, "Field", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getField_Component(), this.getComponent(), null, "component", null, 0, -1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getField_Required(), theXMLTypePackage.getBoolean(), "required", "false", 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getField_Truncatable(), theXMLTypePackage.getBoolean(), "truncatable", "false", 0, 1, Field.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(mappingNodeEClass, MappingNode.class, "MappingNode", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getMappingNode_Xmltag(), theXMLTypePackage.getString(), "xmltag", null, 1, 1, MappingNode.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(segmentEClass, Segment.class, "Segment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getSegment_Field(), this.getField(), null, "field", null, 1, -1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSegment_Segment(), this.getSegment(), null, "segment", null, 0, -1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSegment_MaxOccurs(), theXMLTypePackage.getInt(), "maxOccurs", "1", 0, 1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSegment_MinOccurs(), theXMLTypePackage.getInt(), "minOccurs", "1", 0, 1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSegment_Segcode(), theXMLTypePackage.getString(), "segcode", null, 1, 1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSegment_Truncatable(), theXMLTypePackage.getBoolean(), "truncatable", "false", 0, 1, Segment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(segmentsEClass, Segments.class, "Segments", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getSegments_Segment(), this.getSegment(), null, "segment", null, 1, -1, Segments.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(subComponentEClass, SubComponent.class, "SubComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getSubComponent_Required(), theXMLTypePackage.getBoolean(), "required", "false", 0, 1, SubComponent.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
+ (componentEClass,
+ source,
+ new String[] {
+ "name", "Component",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getComponent_SubComponent(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "sub-component",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getComponent_Required(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "required"
+ });
+ addAnnotation
+ (getComponent_Truncatable(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "truncatable"
+ });
+ addAnnotation
+ (delimitersEClass,
+ source,
+ new String[] {
+ "name", "Delimiters",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getDelimiters_Component(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "component"
+ });
+ addAnnotation
+ (getDelimiters_Field(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "field"
+ });
+ addAnnotation
+ (getDelimiters_Segment(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "segment"
+ });
+ addAnnotation
+ (getDelimiters_SubComponent(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "sub-component"
+ });
+ addAnnotation
+ (descriptionEClass,
+ source,
+ new String[] {
+ "name", "Description",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getDescription_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (getDescription_Version(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "version"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_Edimap(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "edimap",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (ediMapEClass,
+ source,
+ new String[] {
+ "name", "EdiMap",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getEdiMap_Description(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "description",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getEdiMap_Delimiters(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "delimiters",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getEdiMap_Segments(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "segments",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (fieldEClass,
+ source,
+ new String[] {
+ "name", "Field",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getField_Component(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "component",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getField_Required(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "required"
+ });
+ addAnnotation
+ (getField_Truncatable(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "truncatable"
+ });
+ addAnnotation
+ (mappingNodeEClass,
+ source,
+ new String[] {
+ "name", "MappingNode",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getMappingNode_Xmltag(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmltag"
+ });
+ addAnnotation
+ (segmentEClass,
+ source,
+ new String[] {
+ "name", "Segment",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getSegment_Field(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "field",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSegment_Segment(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "segment",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSegment_MaxOccurs(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "maxOccurs"
+ });
+ addAnnotation
+ (getSegment_MinOccurs(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "minOccurs"
+ });
+ addAnnotation
+ (getSegment_Segcode(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "segcode"
+ });
+ addAnnotation
+ (getSegment_Truncatable(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "truncatable"
+ });
+ addAnnotation
+ (segmentsEClass,
+ source,
+ new String[] {
+ "name", "Segments",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getSegments_Segment(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "segment",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (subComponentEClass,
+ source,
+ new String[] {
+ "name", "SubComponent",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getSubComponent_Required(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "required"
+ });
+ }
+
+} //EdiPackageImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/EdiPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/FieldImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/FieldImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/FieldImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,347 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.edi.Component;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.Field;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Field</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.FieldImpl#getComponent <em>Component</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.FieldImpl#isRequired <em>Required</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.FieldImpl#isTruncatable <em>Truncatable</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FieldImpl extends MappingNodeImpl implements Field {
+ /**
+ * The cached value of the '{@link #getComponent() <em>Component</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getComponent()
+ * @generated
+ * @ordered
+ */
+ protected EList<Component> component;
+
+ /**
+ * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REQUIRED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean required = REQUIRED_EDEFAULT;
+
+ /**
+ * This is true if the Required attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean requiredESet;
+
+ /**
+ * The default value of the '{@link #isTruncatable() <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTruncatable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean TRUNCATABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isTruncatable() <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTruncatable()
+ * @generated
+ * @ordered
+ */
+ protected boolean truncatable = TRUNCATABLE_EDEFAULT;
+
+ /**
+ * This is true if the Truncatable attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean truncatableESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FieldImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.FIELD;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Component> getComponent() {
+ if (component == null) {
+ component = new EObjectContainmentEList<Component>(Component.class, this, EdiPackage.FIELD__COMPONENT);
+ }
+ return component;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isRequired() {
+ return required;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRequired(boolean newRequired) {
+ boolean oldRequired = required;
+ required = newRequired;
+ boolean oldRequiredESet = requiredESet;
+ requiredESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.FIELD__REQUIRED, oldRequired, required, !oldRequiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetRequired() {
+ boolean oldRequired = required;
+ boolean oldRequiredESet = requiredESet;
+ required = REQUIRED_EDEFAULT;
+ requiredESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.FIELD__REQUIRED, oldRequired, REQUIRED_EDEFAULT, oldRequiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetRequired() {
+ return requiredESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isTruncatable() {
+ return truncatable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTruncatable(boolean newTruncatable) {
+ boolean oldTruncatable = truncatable;
+ truncatable = newTruncatable;
+ boolean oldTruncatableESet = truncatableESet;
+ truncatableESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.FIELD__TRUNCATABLE, oldTruncatable, truncatable, !oldTruncatableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetTruncatable() {
+ boolean oldTruncatable = truncatable;
+ boolean oldTruncatableESet = truncatableESet;
+ truncatable = TRUNCATABLE_EDEFAULT;
+ truncatableESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.FIELD__TRUNCATABLE, oldTruncatable, TRUNCATABLE_EDEFAULT, oldTruncatableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetTruncatable() {
+ return truncatableESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case EdiPackage.FIELD__COMPONENT:
+ return ((InternalEList<?>)getComponent()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.FIELD__COMPONENT:
+ return getComponent();
+ case EdiPackage.FIELD__REQUIRED:
+ return isRequired() ? Boolean.TRUE : Boolean.FALSE;
+ case EdiPackage.FIELD__TRUNCATABLE:
+ return isTruncatable() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.FIELD__COMPONENT:
+ getComponent().clear();
+ getComponent().addAll((Collection<? extends Component>)newValue);
+ return;
+ case EdiPackage.FIELD__REQUIRED:
+ setRequired(((Boolean)newValue).booleanValue());
+ return;
+ case EdiPackage.FIELD__TRUNCATABLE:
+ setTruncatable(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.FIELD__COMPONENT:
+ getComponent().clear();
+ return;
+ case EdiPackage.FIELD__REQUIRED:
+ unsetRequired();
+ return;
+ case EdiPackage.FIELD__TRUNCATABLE:
+ unsetTruncatable();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.FIELD__COMPONENT:
+ return component != null && !component.isEmpty();
+ case EdiPackage.FIELD__REQUIRED:
+ return isSetRequired();
+ case EdiPackage.FIELD__TRUNCATABLE:
+ return isSetTruncatable();
+ }
+ 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(" (required: ");
+ if (requiredESet) result.append(required); else result.append("<unset>");
+ result.append(", truncatable: ");
+ if (truncatableESet) result.append(truncatable); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //FieldImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/FieldImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/MappingNodeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/MappingNodeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/MappingNodeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.MappingNode;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Mapping Node</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.MappingNodeImpl#getXmltag <em>Xmltag</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class MappingNodeImpl extends AbstractAnyTypeImpl implements MappingNode {
+ /**
+ * The default value of the '{@link #getXmltag() <em>Xmltag</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmltag()
+ * @generated
+ * @ordered
+ */
+ protected static final String XMLTAG_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getXmltag() <em>Xmltag</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXmltag()
+ * @generated
+ * @ordered
+ */
+ protected String xmltag = XMLTAG_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected MappingNodeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.MAPPING_NODE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getXmltag() {
+ return xmltag;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setXmltag(String newXmltag) {
+ String oldXmltag = xmltag;
+ xmltag = newXmltag;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.MAPPING_NODE__XMLTAG, oldXmltag, xmltag));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.MAPPING_NODE__XMLTAG:
+ return getXmltag();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.MAPPING_NODE__XMLTAG:
+ setXmltag((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.MAPPING_NODE__XMLTAG:
+ setXmltag(XMLTAG_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.MAPPING_NODE__XMLTAG:
+ return XMLTAG_EDEFAULT == null ? xmltag != null : !XMLTAG_EDEFAULT.equals(xmltag);
+ }
+ 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(" (xmltag: ");
+ result.append(xmltag);
+ result.append(')');
+ return result.toString();
+ }
+
+} //MappingNodeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/MappingNodeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,525 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.Field;
+import org.jboss.tools.smooks.model.edi.Segment;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Segment</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl#getField <em>Field</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl#getSegment <em>Segment</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl#getMaxOccurs <em>Max Occurs</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl#getMinOccurs <em>Min Occurs</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl#getSegcode <em>Segcode</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentImpl#isTruncatable <em>Truncatable</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SegmentImpl extends MappingNodeImpl implements Segment {
+ /**
+ * The cached value of the '{@link #getField() <em>Field</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getField()
+ * @generated
+ * @ordered
+ */
+ protected EList<Field> field;
+
+ /**
+ * The cached value of the '{@link #getSegment() <em>Segment</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegment()
+ * @generated
+ * @ordered
+ */
+ protected EList<Segment> segment;
+
+ /**
+ * The default value of the '{@link #getMaxOccurs() <em>Max Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaxOccurs()
+ * @generated
+ * @ordered
+ */
+ protected static final int MAX_OCCURS_EDEFAULT = 1;
+
+ /**
+ * The cached value of the '{@link #getMaxOccurs() <em>Max Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMaxOccurs()
+ * @generated
+ * @ordered
+ */
+ protected int maxOccurs = MAX_OCCURS_EDEFAULT;
+
+ /**
+ * This is true if the Max Occurs attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean maxOccursESet;
+
+ /**
+ * The default value of the '{@link #getMinOccurs() <em>Min Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMinOccurs()
+ * @generated
+ * @ordered
+ */
+ protected static final int MIN_OCCURS_EDEFAULT = 1;
+
+ /**
+ * The cached value of the '{@link #getMinOccurs() <em>Min Occurs</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMinOccurs()
+ * @generated
+ * @ordered
+ */
+ protected int minOccurs = MIN_OCCURS_EDEFAULT;
+
+ /**
+ * This is true if the Min Occurs attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean minOccursESet;
+
+ /**
+ * The default value of the '{@link #getSegcode() <em>Segcode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegcode()
+ * @generated
+ * @ordered
+ */
+ protected static final String SEGCODE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSegcode() <em>Segcode</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegcode()
+ * @generated
+ * @ordered
+ */
+ protected String segcode = SEGCODE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isTruncatable() <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTruncatable()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean TRUNCATABLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isTruncatable() <em>Truncatable</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isTruncatable()
+ * @generated
+ * @ordered
+ */
+ protected boolean truncatable = TRUNCATABLE_EDEFAULT;
+
+ /**
+ * This is true if the Truncatable attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean truncatableESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SegmentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.SEGMENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Field> getField() {
+ if (field == null) {
+ field = new EObjectContainmentEList<Field>(Field.class, this, EdiPackage.SEGMENT__FIELD);
+ }
+ return field;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Segment> getSegment() {
+ if (segment == null) {
+ segment = new EObjectContainmentEList<Segment>(Segment.class, this, EdiPackage.SEGMENT__SEGMENT);
+ }
+ return segment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMaxOccurs() {
+ return maxOccurs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMaxOccurs(int newMaxOccurs) {
+ int oldMaxOccurs = maxOccurs;
+ maxOccurs = newMaxOccurs;
+ boolean oldMaxOccursESet = maxOccursESet;
+ maxOccursESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.SEGMENT__MAX_OCCURS, oldMaxOccurs, maxOccurs, !oldMaxOccursESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetMaxOccurs() {
+ int oldMaxOccurs = maxOccurs;
+ boolean oldMaxOccursESet = maxOccursESet;
+ maxOccurs = MAX_OCCURS_EDEFAULT;
+ maxOccursESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.SEGMENT__MAX_OCCURS, oldMaxOccurs, MAX_OCCURS_EDEFAULT, oldMaxOccursESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetMaxOccurs() {
+ return maxOccursESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getMinOccurs() {
+ return minOccurs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setMinOccurs(int newMinOccurs) {
+ int oldMinOccurs = minOccurs;
+ minOccurs = newMinOccurs;
+ boolean oldMinOccursESet = minOccursESet;
+ minOccursESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.SEGMENT__MIN_OCCURS, oldMinOccurs, minOccurs, !oldMinOccursESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetMinOccurs() {
+ int oldMinOccurs = minOccurs;
+ boolean oldMinOccursESet = minOccursESet;
+ minOccurs = MIN_OCCURS_EDEFAULT;
+ minOccursESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.SEGMENT__MIN_OCCURS, oldMinOccurs, MIN_OCCURS_EDEFAULT, oldMinOccursESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetMinOccurs() {
+ return minOccursESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSegcode() {
+ return segcode;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSegcode(String newSegcode) {
+ String oldSegcode = segcode;
+ segcode = newSegcode;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.SEGMENT__SEGCODE, oldSegcode, segcode));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isTruncatable() {
+ return truncatable;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTruncatable(boolean newTruncatable) {
+ boolean oldTruncatable = truncatable;
+ truncatable = newTruncatable;
+ boolean oldTruncatableESet = truncatableESet;
+ truncatableESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.SEGMENT__TRUNCATABLE, oldTruncatable, truncatable, !oldTruncatableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetTruncatable() {
+ boolean oldTruncatable = truncatable;
+ boolean oldTruncatableESet = truncatableESet;
+ truncatable = TRUNCATABLE_EDEFAULT;
+ truncatableESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.SEGMENT__TRUNCATABLE, oldTruncatable, TRUNCATABLE_EDEFAULT, oldTruncatableESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetTruncatable() {
+ return truncatableESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case EdiPackage.SEGMENT__FIELD:
+ return ((InternalEList<?>)getField()).basicRemove(otherEnd, msgs);
+ case EdiPackage.SEGMENT__SEGMENT:
+ return ((InternalEList<?>)getSegment()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.SEGMENT__FIELD:
+ return getField();
+ case EdiPackage.SEGMENT__SEGMENT:
+ return getSegment();
+ case EdiPackage.SEGMENT__MAX_OCCURS:
+ return new Integer(getMaxOccurs());
+ case EdiPackage.SEGMENT__MIN_OCCURS:
+ return new Integer(getMinOccurs());
+ case EdiPackage.SEGMENT__SEGCODE:
+ return getSegcode();
+ case EdiPackage.SEGMENT__TRUNCATABLE:
+ return isTruncatable() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.SEGMENT__FIELD:
+ getField().clear();
+ getField().addAll((Collection<? extends Field>)newValue);
+ return;
+ case EdiPackage.SEGMENT__SEGMENT:
+ getSegment().clear();
+ getSegment().addAll((Collection<? extends Segment>)newValue);
+ return;
+ case EdiPackage.SEGMENT__MAX_OCCURS:
+ setMaxOccurs(((Integer)newValue).intValue());
+ return;
+ case EdiPackage.SEGMENT__MIN_OCCURS:
+ setMinOccurs(((Integer)newValue).intValue());
+ return;
+ case EdiPackage.SEGMENT__SEGCODE:
+ setSegcode((String)newValue);
+ return;
+ case EdiPackage.SEGMENT__TRUNCATABLE:
+ setTruncatable(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.SEGMENT__FIELD:
+ getField().clear();
+ return;
+ case EdiPackage.SEGMENT__SEGMENT:
+ getSegment().clear();
+ return;
+ case EdiPackage.SEGMENT__MAX_OCCURS:
+ unsetMaxOccurs();
+ return;
+ case EdiPackage.SEGMENT__MIN_OCCURS:
+ unsetMinOccurs();
+ return;
+ case EdiPackage.SEGMENT__SEGCODE:
+ setSegcode(SEGCODE_EDEFAULT);
+ return;
+ case EdiPackage.SEGMENT__TRUNCATABLE:
+ unsetTruncatable();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.SEGMENT__FIELD:
+ return field != null && !field.isEmpty();
+ case EdiPackage.SEGMENT__SEGMENT:
+ return segment != null && !segment.isEmpty();
+ case EdiPackage.SEGMENT__MAX_OCCURS:
+ return isSetMaxOccurs();
+ case EdiPackage.SEGMENT__MIN_OCCURS:
+ return isSetMinOccurs();
+ case EdiPackage.SEGMENT__SEGCODE:
+ return SEGCODE_EDEFAULT == null ? segcode != null : !SEGCODE_EDEFAULT.equals(segcode);
+ case EdiPackage.SEGMENT__TRUNCATABLE:
+ return isSetTruncatable();
+ }
+ 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(" (maxOccurs: ");
+ if (maxOccursESet) result.append(maxOccurs); else result.append("<unset>");
+ result.append(", minOccurs: ");
+ if (minOccursESet) result.append(minOccurs); else result.append("<unset>");
+ result.append(", segcode: ");
+ result.append(segcode);
+ result.append(", truncatable: ");
+ if (truncatableESet) result.append(truncatable); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //SegmentImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentsImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentsImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentsImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,154 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.Segment;
+import org.jboss.tools.smooks.model.edi.Segments;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Segments</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SegmentsImpl#getSegment <em>Segment</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SegmentsImpl extends MappingNodeImpl implements Segments {
+ /**
+ * The cached value of the '{@link #getSegment() <em>Segment</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSegment()
+ * @generated
+ * @ordered
+ */
+ protected EList<Segment> segment;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SegmentsImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.SEGMENTS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<Segment> getSegment() {
+ if (segment == null) {
+ segment = new EObjectContainmentEList<Segment>(Segment.class, this, EdiPackage.SEGMENTS__SEGMENT);
+ }
+ return segment;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case EdiPackage.SEGMENTS__SEGMENT:
+ return ((InternalEList<?>)getSegment()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.SEGMENTS__SEGMENT:
+ return getSegment();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.SEGMENTS__SEGMENT:
+ getSegment().clear();
+ getSegment().addAll((Collection<? extends Segment>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.SEGMENTS__SEGMENT:
+ getSegment().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.SEGMENTS__SEGMENT:
+ return segment != null && !segment.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //SegmentsImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SegmentsImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SubComponentImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SubComponentImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SubComponentImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,200 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.EdiPackage;
+import org.jboss.tools.smooks.model.edi.SubComponent;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Sub Component</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.edi.impl.SubComponentImpl#isRequired <em>Required</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SubComponentImpl extends MappingNodeImpl implements SubComponent {
+ /**
+ * The default value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean REQUIRED_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isRequired() <em>Required</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isRequired()
+ * @generated
+ * @ordered
+ */
+ protected boolean required = REQUIRED_EDEFAULT;
+
+ /**
+ * This is true if the Required attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean requiredESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SubComponentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return EdiPackage.Literals.SUB_COMPONENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isRequired() {
+ return required;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRequired(boolean newRequired) {
+ boolean oldRequired = required;
+ required = newRequired;
+ boolean oldRequiredESet = requiredESet;
+ requiredESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, EdiPackage.SUB_COMPONENT__REQUIRED, oldRequired, required, !oldRequiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetRequired() {
+ boolean oldRequired = required;
+ boolean oldRequiredESet = requiredESet;
+ required = REQUIRED_EDEFAULT;
+ requiredESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, EdiPackage.SUB_COMPONENT__REQUIRED, oldRequired, REQUIRED_EDEFAULT, oldRequiredESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetRequired() {
+ return requiredESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case EdiPackage.SUB_COMPONENT__REQUIRED:
+ return isRequired() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case EdiPackage.SUB_COMPONENT__REQUIRED:
+ setRequired(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case EdiPackage.SUB_COMPONENT__REQUIRED:
+ unsetRequired();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case EdiPackage.SUB_COMPONENT__REQUIRED:
+ return isSetRequired();
+ }
+ 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(" (required: ");
+ if (requiredESet) result.append(required); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //SubComponentImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/impl/SubComponentImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiAdapterFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiAdapterFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiAdapterFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,326 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.*;
+
+/**
+ * <!-- 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.edi.EdiPackage
+ * @generated
+ */
+public class EdiAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static EdiPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = EdiPackage.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 EdiSwitch<Adapter> modelSwitch =
+ new EdiSwitch<Adapter>() {
+ @Override
+ public Adapter caseComponent(Component object) {
+ return createComponentAdapter();
+ }
+ @Override
+ public Adapter caseDelimiters(Delimiters object) {
+ return createDelimitersAdapter();
+ }
+ @Override
+ public Adapter caseDescription(Description object) {
+ return createDescriptionAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseEdiMap(EdiMap object) {
+ return createEdiMapAdapter();
+ }
+ @Override
+ public Adapter caseField(Field object) {
+ return createFieldAdapter();
+ }
+ @Override
+ public Adapter caseMappingNode(MappingNode object) {
+ return createMappingNodeAdapter();
+ }
+ @Override
+ public Adapter caseSegment(Segment object) {
+ return createSegmentAdapter();
+ }
+ @Override
+ public Adapter caseSegments(Segments object) {
+ return createSegmentsAdapter();
+ }
+ @Override
+ public Adapter caseSubComponent(SubComponent object) {
+ return createSubComponentAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @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.edi.Component <em>Component</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.edi.Component
+ * @generated
+ */
+ public Adapter createComponentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.Delimiters <em>Delimiters</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.edi.Delimiters
+ * @generated
+ */
+ public Adapter createDelimitersAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.Description <em>Description</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.edi.Description
+ * @generated
+ */
+ public Adapter createDescriptionAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.DocumentRoot <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.edi.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.EdiMap <em>Map</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.edi.EdiMap
+ * @generated
+ */
+ public Adapter createEdiMapAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.Field <em>Field</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.edi.Field
+ * @generated
+ */
+ public Adapter createFieldAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.MappingNode <em>Mapping Node</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.jboss.tools.smooks.model.edi.MappingNode
+ * @generated
+ */
+ public Adapter createMappingNodeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.Segment <em>Segment</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.edi.Segment
+ * @generated
+ */
+ public Adapter createSegmentAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.Segments <em>Segments</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.edi.Segments
+ * @generated
+ */
+ public Adapter createSegmentsAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.edi.SubComponent <em>Sub Component</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.edi.SubComponent
+ * @generated
+ */
+ public Adapter createSubComponentAdapter() {
+ 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 the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //EdiAdapterFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.util.EdiResourceImpl
+ * @generated
+ */
+public class EdiResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new EdiResourceImpl(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;
+ }
+
+} //EdiResourceFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.util.EdiResourceFactoryImpl
+ * @generated
+ */
+public class EdiResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public EdiResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //EdiResourceImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiSwitch.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiSwitch.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiSwitch.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,376 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.*;
+
+/**
+ * <!-- 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.edi.EdiPackage
+ * @generated
+ */
+public class EdiSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static EdiPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiSwitch() {
+ if (modelPackage == null) {
+ modelPackage = EdiPackage.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 EdiPackage.COMPONENT: {
+ Component component = (Component)theEObject;
+ T result = caseComponent(component);
+ if (result == null) result = caseMappingNode(component);
+ if (result == null) result = caseAbstractAnyType(component);
+ if (result == null) result = caseAnyType(component);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.DELIMITERS: {
+ Delimiters delimiters = (Delimiters)theEObject;
+ T result = caseDelimiters(delimiters);
+ if (result == null) result = caseAbstractAnyType(delimiters);
+ if (result == null) result = caseAnyType(delimiters);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.DESCRIPTION: {
+ Description description = (Description)theEObject;
+ T result = caseDescription(description);
+ if (result == null) result = caseAbstractAnyType(description);
+ if (result == null) result = caseAnyType(description);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.EDI_MAP: {
+ EdiMap ediMap = (EdiMap)theEObject;
+ T result = caseEdiMap(ediMap);
+ if (result == null) result = caseAbstractAnyType(ediMap);
+ if (result == null) result = caseAnyType(ediMap);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.FIELD: {
+ Field field = (Field)theEObject;
+ T result = caseField(field);
+ if (result == null) result = caseMappingNode(field);
+ if (result == null) result = caseAbstractAnyType(field);
+ if (result == null) result = caseAnyType(field);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.MAPPING_NODE: {
+ MappingNode mappingNode = (MappingNode)theEObject;
+ T result = caseMappingNode(mappingNode);
+ if (result == null) result = caseAbstractAnyType(mappingNode);
+ if (result == null) result = caseAnyType(mappingNode);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.SEGMENT: {
+ Segment segment = (Segment)theEObject;
+ T result = caseSegment(segment);
+ if (result == null) result = caseMappingNode(segment);
+ if (result == null) result = caseAbstractAnyType(segment);
+ if (result == null) result = caseAnyType(segment);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.SEGMENTS: {
+ Segments segments = (Segments)theEObject;
+ T result = caseSegments(segments);
+ if (result == null) result = caseMappingNode(segments);
+ if (result == null) result = caseAbstractAnyType(segments);
+ if (result == null) result = caseAnyType(segments);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case EdiPackage.SUB_COMPONENT: {
+ SubComponent subComponent = (SubComponent)theEObject;
+ T result = caseSubComponent(subComponent);
+ if (result == null) result = caseMappingNode(subComponent);
+ if (result == null) result = caseAbstractAnyType(subComponent);
+ if (result == null) result = caseAnyType(subComponent);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Component</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>Component</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseComponent(Component object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Delimiters</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>Delimiters</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDelimiters(Delimiters object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Description</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>Description</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDescription(Description 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 caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Map</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>Map</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseEdiMap(EdiMap object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Field</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>Field</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseField(Field object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Mapping Node</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Mapping Node</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseMappingNode(MappingNode object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Segment</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>Segment</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSegment(Segment object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Segments</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>Segments</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSegments(Segments object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Sub Component</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>Sub Component</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSubComponent(SubComponent 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>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;
+ }
+
+} //EdiSwitch
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiXMLProcessor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiXMLProcessor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiXMLProcessor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.edi.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.edi.EdiPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class EdiXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EdiXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ EdiPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the EdiResourceFactoryImpl 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 EdiResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new EdiResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //EdiXMLProcessor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/edi/util/EdiXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/BindTo.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/BindTo.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/BindTo.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Bind To</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Bind the templating result into the bean context under the specified "id". This makes the
+ * templating result available for routing or other operations.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.BindTo#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getBindTo()
+ * @model extendedMetaData="name='bindTo' kind='empty'"
+ * @generated
+ */
+public interface BindTo extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getBindTo_Id()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.BindTo#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+} // BindTo
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/BindTo.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/DocumentRoot.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/DocumentRoot.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/DocumentRoot.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,116 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+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.freemarker.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#getFreemarker <em>Freemarker</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot 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.freemarker.FreemarkerPackage#getDocumentRoot_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.freemarker.FreemarkerPackage#getDocumentRoot_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.freemarker.FreemarkerPackage#getDocumentRoot_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>Freemarker</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * FreeMarker Templating Configuration.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Freemarker</em>' containment reference.
+ * @see #setFreemarker(Freemarker)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getDocumentRoot_Freemarker()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='freemarker' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
+ * @generated
+ */
+ Freemarker getFreemarker();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#getFreemarker <em>Freemarker</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Freemarker</em>' containment reference.
+ * @see #getFreemarker()
+ * @generated
+ */
+ void setFreemarker(Freemarker value);
+
+} // DocumentRoot
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/DocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Freemarker.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Freemarker.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Freemarker.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,225 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Freemarker</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * FreeMarker Templating Configuration Type.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getTemplate <em>Template</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getUse <em>Use</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Freemarker#isApplyBefore <em>Apply Before</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElement <em>Apply On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElementNS <em>Apply On Element NS</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker()
+ * @model extendedMetaData="name='freemarker' kind='elementOnly'"
+ * @generated
+ */
+public interface Freemarker extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Template</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Template</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Template</em>' containment reference.
+ * @see #setTemplate(Template)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker_Template()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='template' namespace='##targetNamespace'"
+ * @generated
+ */
+ Template getTemplate();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getTemplate <em>Template</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Template</em>' containment reference.
+ * @see #getTemplate()
+ * @generated
+ */
+ void setTemplate(Template value);
+
+ /**
+ * Returns the value of the '<em><b>Use</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Use</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Use</em>' containment reference.
+ * @see #setUse(Use)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker_Use()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='use' namespace='##targetNamespace'"
+ * @generated
+ */
+ Use getUse();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getUse <em>Use</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Use</em>' containment reference.
+ * @see #getUse()
+ * @generated
+ */
+ void setUse(Use value);
+
+ /**
+ * Returns the value of the '<em><b>Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ParamType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker_Param()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='param' namespace='http://www.milyn.org/xsd/smooks-1.1.xsd'"
+ * @generated
+ */
+ EList<ParamType> getParam();
+
+ /**
+ * Returns the value of the '<em><b>Apply Before</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Apply the template before visiting the elements child content.<p/>Default is 'false'.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Apply Before</em>' attribute.
+ * @see #isSetApplyBefore()
+ * @see #unsetApplyBefore()
+ * @see #setApplyBefore(boolean)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker_ApplyBefore()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='applyBefore'"
+ * @generated
+ */
+ boolean isApplyBefore();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#isApplyBefore <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Apply Before</em>' attribute.
+ * @see #isSetApplyBefore()
+ * @see #unsetApplyBefore()
+ * @see #isApplyBefore()
+ * @generated
+ */
+ void setApplyBefore(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#isApplyBefore <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetApplyBefore()
+ * @see #isApplyBefore()
+ * @see #setApplyBefore(boolean)
+ * @generated
+ */
+ void unsetApplyBefore();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#isApplyBefore <em>Apply Before</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Apply Before</em>' attribute is set.
+ * @see #unsetApplyBefore()
+ * @see #isApplyBefore()
+ * @see #setApplyBefore(boolean)
+ * @generated
+ */
+ boolean isSetApplyBefore();
+
+ /**
+ * Returns the value of the '<em><b>Apply On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The name of the element on which the template is to be applied.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Apply On Element</em>' attribute.
+ * @see #setApplyOnElement(String)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker_ApplyOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='applyOnElement'"
+ * @generated
+ */
+ String getApplyOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElement <em>Apply On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Apply On Element</em>' attribute.
+ * @see #getApplyOnElement()
+ * @generated
+ */
+ void setApplyOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Apply On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The namespace of the element on which the template is to be applied.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Apply On Element NS</em>' attribute.
+ * @see #setApplyOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getFreemarker_ApplyOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='applyOnElementNS'"
+ * @generated
+ */
+ String getApplyOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElementNS <em>Apply On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Apply On Element NS</em>' attribute.
+ * @see #getApplyOnElementNS()
+ * @generated
+ */
+ void setApplyOnElementNS(String value);
+
+} // Freemarker
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Freemarker.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,100 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+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.freemarker.FreemarkerPackage
+ * @generated
+ */
+public interface FreemarkerFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ FreemarkerFactory eINSTANCE = org.jboss.tools.smooks.model.freemarker.impl.FreemarkerFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Bind To</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Bind To</em>'.
+ * @generated
+ */
+ BindTo createBindTo();
+
+ /**
+ * 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
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Freemarker</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Freemarker</em>'.
+ * @generated
+ */
+ Freemarker createFreemarker();
+
+ /**
+ * Returns a new object of class '<em>Inline</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Inline</em>'.
+ * @generated
+ */
+ Inline createInline();
+
+ /**
+ * Returns a new object of class '<em>Output To</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Output To</em>'.
+ * @generated
+ */
+ OutputTo createOutputTo();
+
+ /**
+ * Returns a new object of class '<em>Template</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Template</em>'.
+ * @generated
+ */
+ Template createTemplate();
+
+ /**
+ * Returns a new object of class '<em>Use</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Use</em>'.
+ * @generated
+ */
+ Use createUse();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ FreemarkerPackage getFreemarkerPackage();
+
+} //FreemarkerFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerPackage.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerPackage.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerPackage.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,1115 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+
+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.common.CommonPackage;
+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 -->
+ * FreeMarker Templating Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface FreemarkerPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "freemarker";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "flt";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ FreemarkerPackage eINSTANCE = org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.BindToImpl <em>Bind To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.BindToImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getBindTo()
+ * @generated
+ */
+ int BIND_TO = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__ID = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Bind To</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int 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 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 DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Freemarker</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__FREEMARKER = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl <em>Freemarker</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getFreemarker()
+ * @generated
+ */
+ int FREEMARKER = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__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 FREEMARKER__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 FREEMARKER__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 FREEMARKER__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 FREEMARKER__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Template</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__TEMPLATE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Use</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__USE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Param</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__PARAM = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Apply Before</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__APPLY_BEFORE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Apply On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__APPLY_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Apply On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER__APPLY_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Freemarker</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FREEMARKER_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.InlineImpl <em>Inline</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.InlineImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getInline()
+ * @generated
+ */
+ int INLINE = 3;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Directive</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__DIRECTIVE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Inline</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.OutputToImpl <em>Output To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.OutputToImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getOutputTo()
+ * @generated
+ */
+ int OUTPUT_TO = 4;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Output Stream Resource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__OUTPUT_STREAM_RESOURCE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Output To</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.TemplateImpl <em>Template</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.TemplateImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getTemplate()
+ * @generated
+ */
+ int TEMPLATE = 5;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Encoding</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__ENCODING = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Template</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.impl.UseImpl <em>Use</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.UseImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getUse()
+ * @generated
+ */
+ int USE = 6;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Inline</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__INLINE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bind To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__BIND_TO = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Output To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__OUTPUT_TO = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Use</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.freemarker.InlineDirective <em>Inline Directive</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getInlineDirective()
+ * @generated
+ */
+ int INLINE_DIRECTIVE = 7;
+
+ /**
+ * The meta object id for the '<em>Inline Directive Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getInlineDirectiveObject()
+ * @generated
+ */
+ int INLINE_DIRECTIVE_OBJECT = 8;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.BindTo <em>Bind To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Bind To</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.BindTo
+ * @generated
+ */
+ EClass getBindTo();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.BindTo#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.BindTo#getId()
+ * @see #getBindTo()
+ * @generated
+ */
+ EAttribute getBindTo_Id();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot <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.freemarker.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#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.freemarker.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#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.freemarker.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#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.freemarker.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot#getFreemarker <em>Freemarker</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Freemarker</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.DocumentRoot#getFreemarker()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Freemarker();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.Freemarker <em>Freemarker</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Freemarker</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker
+ * @generated
+ */
+ EClass getFreemarker();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getTemplate <em>Template</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Template</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker#getTemplate()
+ * @see #getFreemarker()
+ * @generated
+ */
+ EReference getFreemarker_Template();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getUse <em>Use</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Use</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker#getUse()
+ * @see #getFreemarker()
+ * @generated
+ */
+ EReference getFreemarker_Use();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getParam <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Param</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker#getParam()
+ * @see #getFreemarker()
+ * @generated
+ */
+ EReference getFreemarker_Param();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#isApplyBefore <em>Apply Before</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Apply Before</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker#isApplyBefore()
+ * @see #getFreemarker()
+ * @generated
+ */
+ EAttribute getFreemarker_ApplyBefore();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElement <em>Apply On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Apply On Element</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElement()
+ * @see #getFreemarker()
+ * @generated
+ */
+ EAttribute getFreemarker_ApplyOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElementNS <em>Apply On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Apply On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Freemarker#getApplyOnElementNS()
+ * @see #getFreemarker()
+ * @generated
+ */
+ EAttribute getFreemarker_ApplyOnElementNS();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.Inline <em>Inline</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Inline</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Inline
+ * @generated
+ */
+ EClass getInline();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.Inline#getDirective <em>Directive</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Directive</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Inline#getDirective()
+ * @see #getInline()
+ * @generated
+ */
+ EAttribute getInline_Directive();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.OutputTo <em>Output To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Output To</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.OutputTo
+ * @generated
+ */
+ EClass getOutputTo();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Output Stream Resource</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.OutputTo#getOutputStreamResource()
+ * @see #getOutputTo()
+ * @generated
+ */
+ EAttribute getOutputTo_OutputStreamResource();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.Template <em>Template</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Template</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Template
+ * @generated
+ */
+ EClass getTemplate();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.Template#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Template#getValue()
+ * @see #getTemplate()
+ * @generated
+ */
+ EAttribute getTemplate_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.freemarker.Template#getEncoding <em>Encoding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Encoding</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Template#getEncoding()
+ * @see #getTemplate()
+ * @generated
+ */
+ EAttribute getTemplate_Encoding();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.freemarker.Use <em>Use</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Use</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Use
+ * @generated
+ */
+ EClass getUse();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.freemarker.Use#getInline <em>Inline</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Inline</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Use#getInline()
+ * @see #getUse()
+ * @generated
+ */
+ EReference getUse_Inline();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.freemarker.Use#getBindTo <em>Bind To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Bind To</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Use#getBindTo()
+ * @see #getUse()
+ * @generated
+ */
+ EReference getUse_BindTo();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.freemarker.Use#getOutputTo <em>Output To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Output To</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.Use#getOutputTo()
+ * @see #getUse()
+ * @generated
+ */
+ EReference getUse_OutputTo();
+
+ /**
+ * Returns the meta object for enum '{@link org.jboss.tools.smooks.model.freemarker.InlineDirective <em>Inline Directive</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Inline Directive</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @generated
+ */
+ EEnum getInlineDirective();
+
+ /**
+ * Returns the meta object for data type '{@link org.jboss.tools.smooks.model.freemarker.InlineDirective <em>Inline Directive Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>Inline Directive Object</em>'.
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @model instanceClass="freemarker.InlineDirective"
+ * extendedMetaData="name='inlineDirective:Object' baseType='inlineDirective'"
+ * @generated
+ */
+ EDataType getInlineDirectiveObject();
+
+ /**
+ * 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
+ */
+ FreemarkerFactory getFreemarkerFactory();
+
+ /**
+ * <!-- 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.freemarker.impl.BindToImpl <em>Bind To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.BindToImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getBindTo()
+ * @generated
+ */
+ EClass BIND_TO = eINSTANCE.getBindTo();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BIND_TO__ID = eINSTANCE.getBindTo_Id();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Freemarker</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__FREEMARKER = eINSTANCE.getDocumentRoot_Freemarker();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl <em>Freemarker</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getFreemarker()
+ * @generated
+ */
+ EClass FREEMARKER = eINSTANCE.getFreemarker();
+
+ /**
+ * The meta object literal for the '<em><b>Template</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FREEMARKER__TEMPLATE = eINSTANCE.getFreemarker_Template();
+
+ /**
+ * The meta object literal for the '<em><b>Use</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FREEMARKER__USE = eINSTANCE.getFreemarker_Use();
+
+ /**
+ * The meta object literal for the '<em><b>Param</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FREEMARKER__PARAM = eINSTANCE.getFreemarker_Param();
+
+ /**
+ * The meta object literal for the '<em><b>Apply Before</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FREEMARKER__APPLY_BEFORE = eINSTANCE.getFreemarker_ApplyBefore();
+
+ /**
+ * The meta object literal for the '<em><b>Apply On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FREEMARKER__APPLY_ON_ELEMENT = eINSTANCE.getFreemarker_ApplyOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Apply On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute FREEMARKER__APPLY_ON_ELEMENT_NS = eINSTANCE.getFreemarker_ApplyOnElementNS();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.impl.InlineImpl <em>Inline</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.InlineImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getInline()
+ * @generated
+ */
+ EClass INLINE = eINSTANCE.getInline();
+
+ /**
+ * The meta object literal for the '<em><b>Directive</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute INLINE__DIRECTIVE = eINSTANCE.getInline_Directive();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.impl.OutputToImpl <em>Output To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.OutputToImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getOutputTo()
+ * @generated
+ */
+ EClass OUTPUT_TO = eINSTANCE.getOutputTo();
+
+ /**
+ * The meta object literal for the '<em><b>Output Stream Resource</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OUTPUT_TO__OUTPUT_STREAM_RESOURCE = eINSTANCE.getOutputTo_OutputStreamResource();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.impl.TemplateImpl <em>Template</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.TemplateImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getTemplate()
+ * @generated
+ */
+ EClass TEMPLATE = eINSTANCE.getTemplate();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEMPLATE__VALUE = eINSTANCE.getTemplate_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Encoding</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEMPLATE__ENCODING = eINSTANCE.getTemplate_Encoding();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.impl.UseImpl <em>Use</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.impl.UseImpl
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getUse()
+ * @generated
+ */
+ EClass USE = eINSTANCE.getUse();
+
+ /**
+ * The meta object literal for the '<em><b>Inline</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USE__INLINE = eINSTANCE.getUse_Inline();
+
+ /**
+ * The meta object literal for the '<em><b>Bind To</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USE__BIND_TO = eINSTANCE.getUse_BindTo();
+
+ /**
+ * The meta object literal for the '<em><b>Output To</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USE__OUTPUT_TO = eINSTANCE.getUse_OutputTo();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.freemarker.InlineDirective <em>Inline Directive</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getInlineDirective()
+ * @generated
+ */
+ EEnum INLINE_DIRECTIVE = eINSTANCE.getInlineDirective();
+
+ /**
+ * The meta object literal for the '<em>Inline Directive Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @see org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl#getInlineDirectiveObject()
+ * @generated
+ */
+ EDataType INLINE_DIRECTIVE_OBJECT = eINSTANCE.getInlineDirectiveObject();
+
+ }
+
+} //FreemarkerPackage
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/FreemarkerPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Inline.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Inline.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Inline.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,93 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Inline</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Inline the templating result into the <b>Smooks.filter</b> Result message.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Inline#getDirective <em>Directive</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getInline()
+ * @model extendedMetaData="name='inline' kind='empty'"
+ * @generated
+ */
+public interface Inline extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Directive</b></em>' attribute.
+ * The literals are from the enumeration {@link org.jboss.tools.smooks.model.freemarker.InlineDirective}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * How the templating result is to be used (relative to the element on which it
+ * is applied).
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Directive</em>' attribute.
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @see #isSetDirective()
+ * @see #unsetDirective()
+ * @see #setDirective(InlineDirective)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getInline_Directive()
+ * @model unsettable="true" required="true"
+ * extendedMetaData="kind='attribute' name='directive'"
+ * @generated
+ */
+ InlineDirective getDirective();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Inline#getDirective <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Directive</em>' attribute.
+ * @see org.jboss.tools.smooks.model.freemarker.InlineDirective
+ * @see #isSetDirective()
+ * @see #unsetDirective()
+ * @see #getDirective()
+ * @generated
+ */
+ void setDirective(InlineDirective value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Inline#getDirective <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDirective()
+ * @see #getDirective()
+ * @see #setDirective(InlineDirective)
+ * @generated
+ */
+ void unsetDirective();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.freemarker.Inline#getDirective <em>Directive</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Directive</em>' attribute is set.
+ * @see #unsetDirective()
+ * @see #getDirective()
+ * @see #setDirective(InlineDirective)
+ * @generated
+ */
+ boolean isSetDirective();
+
+} // Inline
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Inline.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/InlineDirective.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/InlineDirective.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/InlineDirective.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,266 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+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>Inline Directive</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getInlineDirective()
+ * @model extendedMetaData="name='inlineDirective'"
+ * @generated
+ */
+public enum InlineDirective implements Enumerator {
+ /**
+ * The '<em><b>Addto</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ADDTO_VALUE
+ * @generated
+ * @ordered
+ */
+ ADDTO(0, "addto", "addto"),
+
+ /**
+ * The '<em><b>Replace</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #REPLACE_VALUE
+ * @generated
+ * @ordered
+ */
+ REPLACE(1, "replace", "replace"),
+
+ /**
+ * The '<em><b>Insertbefore</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INSERTBEFORE_VALUE
+ * @generated
+ * @ordered
+ */
+ INSERTBEFORE(2, "insertbefore", "insertbefore"),
+
+ /**
+ * The '<em><b>Insertafter</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INSERTAFTER_VALUE
+ * @generated
+ * @ordered
+ */
+ INSERTAFTER(3, "insertafter", "insertafter");
+
+ /**
+ * The '<em><b>Addto</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Addto</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ADDTO
+ * @model name="addto"
+ * @generated
+ * @ordered
+ */
+ public static final int ADDTO_VALUE = 0;
+
+ /**
+ * The '<em><b>Replace</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Replace</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #REPLACE
+ * @model name="replace"
+ * @generated
+ * @ordered
+ */
+ public static final int REPLACE_VALUE = 1;
+
+ /**
+ * The '<em><b>Insertbefore</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Insertbefore</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INSERTBEFORE
+ * @model name="insertbefore"
+ * @generated
+ * @ordered
+ */
+ public static final int INSERTBEFORE_VALUE = 2;
+
+ /**
+ * The '<em><b>Insertafter</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Insertafter</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INSERTAFTER
+ * @model name="insertafter"
+ * @generated
+ * @ordered
+ */
+ public static final int INSERTAFTER_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Inline Directive</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final InlineDirective[] VALUES_ARRAY =
+ new InlineDirective[] {
+ ADDTO,
+ REPLACE,
+ INSERTBEFORE,
+ INSERTAFTER,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Inline Directive</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<InlineDirective> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Inline Directive</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static InlineDirective get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ InlineDirective result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Inline Directive</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static InlineDirective getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ InlineDirective result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Inline Directive</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static InlineDirective get(int value) {
+ switch (value) {
+ case ADDTO_VALUE: return ADDTO;
+ case REPLACE_VALUE: return REPLACE;
+ case INSERTBEFORE_VALUE: return INSERTBEFORE;
+ case INSERTAFTER_VALUE: return INSERTAFTER;
+ }
+ 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 InlineDirective(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;
+ }
+
+} //InlineDirective
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/InlineDirective.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/OutputTo.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/OutputTo.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/OutputTo.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Output To</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Output the templating result to a named OutputStreamResource.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getOutputTo()
+ * @model extendedMetaData="name='outputTo' kind='empty'"
+ * @generated
+ */
+public interface OutputTo extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Output Stream Resource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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).
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Output Stream Resource</em>' attribute.
+ * @see #setOutputStreamResource(String)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getOutputTo_OutputStreamResource()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='outputStreamResource'"
+ * @generated
+ */
+ String getOutputStreamResource();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output Stream Resource</em>' attribute.
+ * @see #getOutputStreamResource()
+ * @generated
+ */
+ void setOutputStreamResource(String value);
+
+} // OutputTo
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/OutputTo.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Template.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Template.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Template.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,120 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Template</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * The FreeMarker Template.
+ * <p/>
+ * This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Template#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Template#getEncoding <em>Encoding</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getTemplate()
+ * @model extendedMetaData="name='template' kind='simple'"
+ * @generated
+ */
+public interface Template extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getTemplate_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Template#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Encoding</b></em>' attribute.
+ * The default value is <code>"UTF-8"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Template character encodng.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Encoding</em>' attribute.
+ * @see #isSetEncoding()
+ * @see #unsetEncoding()
+ * @see #setEncoding(String)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getTemplate_Encoding()
+ * @model default="UTF-8" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='encoding'"
+ * @generated
+ */
+ String getEncoding();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Template#getEncoding <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Encoding</em>' attribute.
+ * @see #isSetEncoding()
+ * @see #unsetEncoding()
+ * @see #getEncoding()
+ * @generated
+ */
+ void setEncoding(String value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Template#getEncoding <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetEncoding()
+ * @see #getEncoding()
+ * @see #setEncoding(String)
+ * @generated
+ */
+ void unsetEncoding();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.freemarker.Template#getEncoding <em>Encoding</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Encoding</em>' attribute is set.
+ * @see #unsetEncoding()
+ * @see #getEncoding()
+ * @see #setEncoding(String)
+ * @generated
+ */
+ boolean isSetEncoding();
+
+} // Template
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Template.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Use.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Use.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Use.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Use</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * The <use> element allows you to define how the templating result is to be used.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Use#getInline <em>Inline</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Use#getBindTo <em>Bind To</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.Use#getOutputTo <em>Output To</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getUse()
+ * @model extendedMetaData="name='use' kind='elementOnly'"
+ * @generated
+ */
+public interface Use extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Inline</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inline</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inline</em>' containment reference.
+ * @see #setInline(Inline)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getUse_Inline()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='inline' namespace='##targetNamespace'"
+ * @generated
+ */
+ Inline getInline();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Use#getInline <em>Inline</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inline</em>' containment reference.
+ * @see #getInline()
+ * @generated
+ */
+ void setInline(Inline value);
+
+ /**
+ * Returns the value of the '<em><b>Bind To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bind To</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bind To</em>' containment reference.
+ * @see #setBindTo(BindTo)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getUse_BindTo()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='bindTo' namespace='##targetNamespace'"
+ * @generated
+ */
+ BindTo getBindTo();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Use#getBindTo <em>Bind To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind To</em>' containment reference.
+ * @see #getBindTo()
+ * @generated
+ */
+ void setBindTo(BindTo value);
+
+ /**
+ * Returns the value of the '<em><b>Output To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output To</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output To</em>' containment reference.
+ * @see #setOutputTo(OutputTo)
+ * @see org.jboss.tools.smooks.model.freemarker.FreemarkerPackage#getUse_OutputTo()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='outputTo' namespace='##targetNamespace'"
+ * @generated
+ */
+ OutputTo getOutputTo();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.freemarker.Use#getOutputTo <em>Output To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output To</em>' containment reference.
+ * @see #getOutputTo()
+ * @generated
+ */
+ void setOutputTo(OutputTo value);
+
+} // Use
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/Use.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/BindToImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/BindToImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/BindToImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.freemarker.BindTo;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Bind To</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.BindToImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BindToImpl extends AbstractAnyTypeImpl implements BindTo {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BindToImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.BIND_TO;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.BIND_TO__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FreemarkerPackage.BIND_TO__ID:
+ return getId();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.BIND_TO__ID:
+ setId((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.BIND_TO__ID:
+ setId(ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.BIND_TO__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BindToImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/BindToImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/DocumentRootImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/DocumentRootImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/DocumentRootImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,286 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.DocumentRoot;
+import org.jboss.tools.smooks.model.freemarker.Freemarker;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+
+/**
+ * <!-- 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.freemarker.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.DocumentRootImpl#getFreemarker <em>Freemarker</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * 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 DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, FreemarkerPackage.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, FreemarkerPackage.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, FreemarkerPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Freemarker getFreemarker() {
+ return (Freemarker)getMixed().get(FreemarkerPackage.Literals.DOCUMENT_ROOT__FREEMARKER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFreemarker(Freemarker newFreemarker, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(FreemarkerPackage.Literals.DOCUMENT_ROOT__FREEMARKER, newFreemarker, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFreemarker(Freemarker newFreemarker) {
+ ((FeatureMap.Internal)getMixed()).set(FreemarkerPackage.Literals.DOCUMENT_ROOT__FREEMARKER, newFreemarker);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FreemarkerPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case FreemarkerPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case FreemarkerPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case FreemarkerPackage.DOCUMENT_ROOT__FREEMARKER:
+ return basicSetFreemarker(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 FreemarkerPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case FreemarkerPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case FreemarkerPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case FreemarkerPackage.DOCUMENT_ROOT__FREEMARKER:
+ return getFreemarker();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case FreemarkerPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case FreemarkerPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case FreemarkerPackage.DOCUMENT_ROOT__FREEMARKER:
+ setFreemarker((Freemarker)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case FreemarkerPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case FreemarkerPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case FreemarkerPackage.DOCUMENT_ROOT__FREEMARKER:
+ setFreemarker((Freemarker)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case FreemarkerPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case FreemarkerPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case FreemarkerPackage.DOCUMENT_ROOT__FREEMARKER:
+ return getFreemarker() != 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();
+ }
+
+} //DocumentRootImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/DocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,238 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class FreemarkerFactoryImpl extends EFactoryImpl implements FreemarkerFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static FreemarkerFactory init() {
+ try {
+ FreemarkerFactory theFreemarkerFactory = (FreemarkerFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd");
+ if (theFreemarkerFactory != null) {
+ return theFreemarkerFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new FreemarkerFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case FreemarkerPackage.BIND_TO: return createBindTo();
+ case FreemarkerPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case FreemarkerPackage.FREEMARKER: return createFreemarker();
+ case FreemarkerPackage.INLINE: return createInline();
+ case FreemarkerPackage.OUTPUT_TO: return createOutputTo();
+ case FreemarkerPackage.TEMPLATE: return createTemplate();
+ case FreemarkerPackage.USE: return createUse();
+ 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 FreemarkerPackage.INLINE_DIRECTIVE:
+ return createInlineDirectiveFromString(eDataType, initialValue);
+ case FreemarkerPackage.INLINE_DIRECTIVE_OBJECT:
+ return createInlineDirectiveObjectFromString(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 FreemarkerPackage.INLINE_DIRECTIVE:
+ return convertInlineDirectiveToString(eDataType, instanceValue);
+ case FreemarkerPackage.INLINE_DIRECTIVE_OBJECT:
+ return convertInlineDirectiveObjectToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindTo createBindTo() {
+ BindToImpl bindTo = new BindToImpl();
+ return bindTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Freemarker createFreemarker() {
+ FreemarkerImpl freemarker = new FreemarkerImpl();
+ return freemarker;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Inline createInline() {
+ InlineImpl inline = new InlineImpl();
+ return inline;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputTo createOutputTo() {
+ OutputToImpl outputTo = new OutputToImpl();
+ return outputTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Template createTemplate() {
+ TemplateImpl template = new TemplateImpl();
+ return template;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Use createUse() {
+ UseImpl use = new UseImpl();
+ return use;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InlineDirective createInlineDirectiveFromString(EDataType eDataType, String initialValue) {
+ InlineDirective result = InlineDirective.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 convertInlineDirectiveToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InlineDirective createInlineDirectiveObjectFromString(EDataType eDataType, String initialValue) {
+ return createInlineDirectiveFromString(FreemarkerPackage.Literals.INLINE_DIRECTIVE, initialValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertInlineDirectiveObjectToString(EDataType eDataType, Object instanceValue) {
+ return convertInlineDirectiveToString(FreemarkerPackage.Literals.INLINE_DIRECTIVE, instanceValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerPackage getFreemarkerPackage() {
+ return (FreemarkerPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static FreemarkerPackage getPackage() {
+ return FreemarkerPackage.eINSTANCE;
+ }
+
+} //FreemarkerFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,504 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.freemarker.Freemarker;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.Template;
+import org.jboss.tools.smooks.model.freemarker.Use;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Freemarker</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl#getTemplate <em>Template</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl#getUse <em>Use</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl#isApplyBefore <em>Apply Before</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl#getApplyOnElement <em>Apply On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.FreemarkerImpl#getApplyOnElementNS <em>Apply On Element NS</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FreemarkerImpl extends ElementVisitorImpl implements Freemarker {
+ /**
+ * The cached value of the '{@link #getTemplate() <em>Template</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTemplate()
+ * @generated
+ * @ordered
+ */
+ protected Template template;
+
+ /**
+ * The cached value of the '{@link #getUse() <em>Use</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUse()
+ * @generated
+ * @ordered
+ */
+ protected Use use;
+
+ /**
+ * The cached value of the '{@link #getParam() <em>Param</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParam()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParamType> param;
+
+ /**
+ * The default value of the '{@link #isApplyBefore() <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isApplyBefore()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean APPLY_BEFORE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isApplyBefore() <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isApplyBefore()
+ * @generated
+ * @ordered
+ */
+ protected boolean applyBefore = APPLY_BEFORE_EDEFAULT;
+
+ /**
+ * This is true if the Apply Before attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean applyBeforeESet;
+
+ /**
+ * The default value of the '{@link #getApplyOnElement() <em>Apply On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLY_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplyOnElement() <em>Apply On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String applyOnElement = APPLY_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getApplyOnElementNS() <em>Apply On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLY_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplyOnElementNS() <em>Apply On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String applyOnElementNS = APPLY_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FreemarkerImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.FREEMARKER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Template getTemplate() {
+ return template;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTemplate(Template newTemplate, NotificationChain msgs) {
+ Template oldTemplate = template;
+ template = newTemplate;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__TEMPLATE, oldTemplate, newTemplate);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTemplate(Template newTemplate) {
+ if (newTemplate != template) {
+ NotificationChain msgs = null;
+ if (template != null)
+ msgs = ((InternalEObject)template).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.FREEMARKER__TEMPLATE, null, msgs);
+ if (newTemplate != null)
+ msgs = ((InternalEObject)newTemplate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.FREEMARKER__TEMPLATE, null, msgs);
+ msgs = basicSetTemplate(newTemplate, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__TEMPLATE, newTemplate, newTemplate));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Use getUse() {
+ return use;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUse(Use newUse, NotificationChain msgs) {
+ Use oldUse = use;
+ use = newUse;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__USE, oldUse, newUse);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUse(Use newUse) {
+ if (newUse != use) {
+ NotificationChain msgs = null;
+ if (use != null)
+ msgs = ((InternalEObject)use).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.FREEMARKER__USE, null, msgs);
+ if (newUse != null)
+ msgs = ((InternalEObject)newUse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.FREEMARKER__USE, null, msgs);
+ msgs = basicSetUse(newUse, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__USE, newUse, newUse));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ParamType> getParam() {
+ if (param == null) {
+ param = new EObjectContainmentEList<ParamType>(ParamType.class, this, FreemarkerPackage.FREEMARKER__PARAM);
+ }
+ return param;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isApplyBefore() {
+ return applyBefore;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplyBefore(boolean newApplyBefore) {
+ boolean oldApplyBefore = applyBefore;
+ applyBefore = newApplyBefore;
+ boolean oldApplyBeforeESet = applyBeforeESet;
+ applyBeforeESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__APPLY_BEFORE, oldApplyBefore, applyBefore, !oldApplyBeforeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetApplyBefore() {
+ boolean oldApplyBefore = applyBefore;
+ boolean oldApplyBeforeESet = applyBeforeESet;
+ applyBefore = APPLY_BEFORE_EDEFAULT;
+ applyBeforeESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, FreemarkerPackage.FREEMARKER__APPLY_BEFORE, oldApplyBefore, APPLY_BEFORE_EDEFAULT, oldApplyBeforeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetApplyBefore() {
+ return applyBeforeESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getApplyOnElement() {
+ return applyOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplyOnElement(String newApplyOnElement) {
+ String oldApplyOnElement = applyOnElement;
+ applyOnElement = newApplyOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT, oldApplyOnElement, applyOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getApplyOnElementNS() {
+ return applyOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplyOnElementNS(String newApplyOnElementNS) {
+ String oldApplyOnElementNS = applyOnElementNS;
+ applyOnElementNS = newApplyOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT_NS, oldApplyOnElementNS, applyOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FreemarkerPackage.FREEMARKER__TEMPLATE:
+ return basicSetTemplate(null, msgs);
+ case FreemarkerPackage.FREEMARKER__USE:
+ return basicSetUse(null, msgs);
+ case FreemarkerPackage.FREEMARKER__PARAM:
+ return ((InternalEList<?>)getParam()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FreemarkerPackage.FREEMARKER__TEMPLATE:
+ return getTemplate();
+ case FreemarkerPackage.FREEMARKER__USE:
+ return getUse();
+ case FreemarkerPackage.FREEMARKER__PARAM:
+ return getParam();
+ case FreemarkerPackage.FREEMARKER__APPLY_BEFORE:
+ return isApplyBefore() ? Boolean.TRUE : Boolean.FALSE;
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT:
+ return getApplyOnElement();
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT_NS:
+ return getApplyOnElementNS();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.FREEMARKER__TEMPLATE:
+ setTemplate((Template)newValue);
+ return;
+ case FreemarkerPackage.FREEMARKER__USE:
+ setUse((Use)newValue);
+ return;
+ case FreemarkerPackage.FREEMARKER__PARAM:
+ getParam().clear();
+ getParam().addAll((Collection<? extends ParamType>)newValue);
+ return;
+ case FreemarkerPackage.FREEMARKER__APPLY_BEFORE:
+ setApplyBefore(((Boolean)newValue).booleanValue());
+ return;
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT:
+ setApplyOnElement((String)newValue);
+ return;
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT_NS:
+ setApplyOnElementNS((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.FREEMARKER__TEMPLATE:
+ setTemplate((Template)null);
+ return;
+ case FreemarkerPackage.FREEMARKER__USE:
+ setUse((Use)null);
+ return;
+ case FreemarkerPackage.FREEMARKER__PARAM:
+ getParam().clear();
+ return;
+ case FreemarkerPackage.FREEMARKER__APPLY_BEFORE:
+ unsetApplyBefore();
+ return;
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT:
+ setApplyOnElement(APPLY_ON_ELEMENT_EDEFAULT);
+ return;
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT_NS:
+ setApplyOnElementNS(APPLY_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.FREEMARKER__TEMPLATE:
+ return template != null;
+ case FreemarkerPackage.FREEMARKER__USE:
+ return use != null;
+ case FreemarkerPackage.FREEMARKER__PARAM:
+ return param != null && !param.isEmpty();
+ case FreemarkerPackage.FREEMARKER__APPLY_BEFORE:
+ return isSetApplyBefore();
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT:
+ return APPLY_ON_ELEMENT_EDEFAULT == null ? applyOnElement != null : !APPLY_ON_ELEMENT_EDEFAULT.equals(applyOnElement);
+ case FreemarkerPackage.FREEMARKER__APPLY_ON_ELEMENT_NS:
+ return APPLY_ON_ELEMENT_NS_EDEFAULT == null ? applyOnElementNS != null : !APPLY_ON_ELEMENT_NS_EDEFAULT.equals(applyOnElementNS);
+ }
+ 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(" (applyBefore: ");
+ if (applyBeforeESet) result.append(applyBefore); else result.append("<unset>");
+ result.append(", applyOnElement: ");
+ result.append(applyOnElement);
+ result.append(", applyOnElementNS: ");
+ result.append(applyOnElementNS);
+ result.append(')');
+ return result.toString();
+ }
+
+} //FreemarkerImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerPackageImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerPackageImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerPackageImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,795 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.common.CommonPackage;
+import org.jboss.tools.smooks.model.common.impl.CommonPackageImpl;
+import org.jboss.tools.smooks.model.freemarker.BindTo;
+import org.jboss.tools.smooks.model.freemarker.DocumentRoot;
+import org.jboss.tools.smooks.model.freemarker.Freemarker;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerFactory;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.Inline;
+import org.jboss.tools.smooks.model.freemarker.InlineDirective;
+import org.jboss.tools.smooks.model.freemarker.OutputTo;
+import org.jboss.tools.smooks.model.freemarker.Template;
+import org.jboss.tools.smooks.model.freemarker.Use;
+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 FreemarkerPackageImpl extends EPackageImpl implements FreemarkerPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bindToEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass freemarkerEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass inlineEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass outputToEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass templateEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass useEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum inlineDirectiveEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType inlineDirectiveObjectEDataType = 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.freemarker.FreemarkerPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private FreemarkerPackageImpl() {
+ super(eNS_URI, FreemarkerFactory.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 FreemarkerPackage init() {
+ if (isInited) return (FreemarkerPackage)EPackage.Registry.INSTANCE.getEPackage(FreemarkerPackage.eNS_URI);
+
+ // Obtain or create and register package
+ FreemarkerPackageImpl theFreemarkerPackage = (FreemarkerPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof FreemarkerPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new FreemarkerPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
+ SmooksPackageImpl theSmooksPackage = (SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) instanceof SmooksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theFreemarkerPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theFreemarkerPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theFreemarkerPackage.freeze();
+
+ return theFreemarkerPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBindTo() {
+ return bindToEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindTo_Id() {
+ return (EAttribute)bindToEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Freemarker() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFreemarker() {
+ return freemarkerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFreemarker_Template() {
+ return (EReference)freemarkerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFreemarker_Use() {
+ return (EReference)freemarkerEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFreemarker_Param() {
+ return (EReference)freemarkerEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFreemarker_ApplyBefore() {
+ return (EAttribute)freemarkerEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFreemarker_ApplyOnElement() {
+ return (EAttribute)freemarkerEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getFreemarker_ApplyOnElementNS() {
+ return (EAttribute)freemarkerEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInline() {
+ return inlineEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getInline_Directive() {
+ return (EAttribute)inlineEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOutputTo() {
+ return outputToEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOutputTo_OutputStreamResource() {
+ return (EAttribute)outputToEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTemplate() {
+ return templateEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTemplate_Value() {
+ return (EAttribute)templateEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTemplate_Encoding() {
+ return (EAttribute)templateEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUse() {
+ return useEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUse_Inline() {
+ return (EReference)useEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUse_BindTo() {
+ return (EReference)useEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUse_OutputTo() {
+ return (EReference)useEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getInlineDirective() {
+ return inlineDirectiveEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EDataType getInlineDirectiveObject() {
+ return inlineDirectiveObjectEDataType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerFactory getFreemarkerFactory() {
+ return (FreemarkerFactory)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
+ bindToEClass = createEClass(BIND_TO);
+ createEAttribute(bindToEClass, BIND_TO__ID);
+
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__FREEMARKER);
+
+ freemarkerEClass = createEClass(FREEMARKER);
+ createEReference(freemarkerEClass, FREEMARKER__TEMPLATE);
+ createEReference(freemarkerEClass, FREEMARKER__USE);
+ createEReference(freemarkerEClass, FREEMARKER__PARAM);
+ createEAttribute(freemarkerEClass, FREEMARKER__APPLY_BEFORE);
+ createEAttribute(freemarkerEClass, FREEMARKER__APPLY_ON_ELEMENT);
+ createEAttribute(freemarkerEClass, FREEMARKER__APPLY_ON_ELEMENT_NS);
+
+ inlineEClass = createEClass(INLINE);
+ createEAttribute(inlineEClass, INLINE__DIRECTIVE);
+
+ outputToEClass = createEClass(OUTPUT_TO);
+ createEAttribute(outputToEClass, OUTPUT_TO__OUTPUT_STREAM_RESOURCE);
+
+ templateEClass = createEClass(TEMPLATE);
+ createEAttribute(templateEClass, TEMPLATE__VALUE);
+ createEAttribute(templateEClass, TEMPLATE__ENCODING);
+
+ useEClass = createEClass(USE);
+ createEReference(useEClass, USE__INLINE);
+ createEReference(useEClass, USE__BIND_TO);
+ createEReference(useEClass, USE__OUTPUT_TO);
+
+ // Create enums
+ inlineDirectiveEEnum = createEEnum(INLINE_DIRECTIVE);
+
+ // Create data types
+ inlineDirectiveObjectEDataType = createEDataType(INLINE_DIRECTIVE_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
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+ SmooksPackage theSmooksPackage = (SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ bindToEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ freemarkerEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+ inlineEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ outputToEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ templateEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ useEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(bindToEClass, BindTo.class, "BindTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBindTo_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, BindTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_Freemarker(), this.getFreemarker(), null, "freemarker", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(freemarkerEClass, Freemarker.class, "Freemarker", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFreemarker_Template(), this.getTemplate(), null, "template", null, 1, 1, Freemarker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFreemarker_Use(), this.getUse(), null, "use", null, 0, 1, Freemarker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFreemarker_Param(), theSmooksPackage.getParamType(), null, "param", null, 0, -1, Freemarker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFreemarker_ApplyBefore(), theXMLTypePackage.getBoolean(), "applyBefore", "false", 0, 1, Freemarker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFreemarker_ApplyOnElement(), theXMLTypePackage.getString(), "applyOnElement", null, 1, 1, Freemarker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getFreemarker_ApplyOnElementNS(), theXMLTypePackage.getAnyURI(), "applyOnElementNS", null, 0, 1, Freemarker.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(inlineEClass, Inline.class, "Inline", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getInline_Directive(), this.getInlineDirective(), "directive", null, 1, 1, Inline.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(outputToEClass, OutputTo.class, "OutputTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getOutputTo_OutputStreamResource(), theXMLTypePackage.getString(), "outputStreamResource", null, 1, 1, OutputTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(templateEClass, Template.class, "Template", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTemplate_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTemplate_Encoding(), theXMLTypePackage.getString(), "encoding", "UTF-8", 0, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(useEClass, Use.class, "Use", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUse_Inline(), this.getInline(), null, "inline", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getUse_BindTo(), this.getBindTo(), null, "bindTo", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getUse_OutputTo(), this.getOutputTo(), null, "outputTo", null, 0, 1, Use.class, !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(inlineDirectiveEEnum, InlineDirective.class, "InlineDirective");
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.ADDTO);
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.REPLACE);
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.INSERTBEFORE);
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.INSERTAFTER);
+
+ // Initialize data types
+ initEDataType(inlineDirectiveObjectEDataType, InlineDirective.class, "InlineDirectiveObject", 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
+ (bindToEClass,
+ source,
+ new String[] {
+ "name", "bindTo",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getBindTo_Id(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "id"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_Freemarker(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "freemarker",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (freemarkerEClass,
+ source,
+ new String[] {
+ "name", "freemarker",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getFreemarker_Template(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "template",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getFreemarker_Use(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "use",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getFreemarker_Param(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "param",
+ "namespace", "http://www.milyn.org/xsd/smooks-1.1.xsd"
+ });
+ addAnnotation
+ (getFreemarker_ApplyBefore(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "applyBefore"
+ });
+ addAnnotation
+ (getFreemarker_ApplyOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "applyOnElement"
+ });
+ addAnnotation
+ (getFreemarker_ApplyOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "applyOnElementNS"
+ });
+ addAnnotation
+ (inlineEClass,
+ source,
+ new String[] {
+ "name", "inline",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getInline_Directive(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "directive"
+ });
+ addAnnotation
+ (inlineDirectiveEEnum,
+ source,
+ new String[] {
+ "name", "inlineDirective"
+ });
+ addAnnotation
+ (inlineDirectiveObjectEDataType,
+ source,
+ new String[] {
+ "name", "inlineDirective:Object",
+ "baseType", "inlineDirective"
+ });
+ addAnnotation
+ (outputToEClass,
+ source,
+ new String[] {
+ "name", "outputTo",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getOutputTo_OutputStreamResource(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "outputStreamResource"
+ });
+ addAnnotation
+ (templateEClass,
+ source,
+ new String[] {
+ "name", "template",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getTemplate_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getTemplate_Encoding(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "encoding"
+ });
+ addAnnotation
+ (useEClass,
+ source,
+ new String[] {
+ "name", "use",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getUse_Inline(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "inline",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getUse_BindTo(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "bindTo",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getUse_OutputTo(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "outputTo",
+ "namespace", "##targetNamespace"
+ });
+ }
+
+} //FreemarkerPackageImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/FreemarkerPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/InlineImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/InlineImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/InlineImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,203 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.Inline;
+import org.jboss.tools.smooks.model.freemarker.InlineDirective;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Inline</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.InlineImpl#getDirective <em>Directive</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InlineImpl extends AbstractAnyTypeImpl implements Inline {
+ /**
+ * The default value of the '{@link #getDirective() <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirective()
+ * @generated
+ * @ordered
+ */
+ protected static final InlineDirective DIRECTIVE_EDEFAULT = InlineDirective.ADDTO;
+
+ /**
+ * The cached value of the '{@link #getDirective() <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirective()
+ * @generated
+ * @ordered
+ */
+ protected InlineDirective directive = DIRECTIVE_EDEFAULT;
+
+ /**
+ * This is true if the Directive attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean directiveESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InlineImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.INLINE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InlineDirective getDirective() {
+ return directive;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirective(InlineDirective newDirective) {
+ InlineDirective oldDirective = directive;
+ directive = newDirective == null ? DIRECTIVE_EDEFAULT : newDirective;
+ boolean oldDirectiveESet = directiveESet;
+ directiveESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.INLINE__DIRECTIVE, oldDirective, directive, !oldDirectiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDirective() {
+ InlineDirective oldDirective = directive;
+ boolean oldDirectiveESet = directiveESet;
+ directive = DIRECTIVE_EDEFAULT;
+ directiveESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, FreemarkerPackage.INLINE__DIRECTIVE, oldDirective, DIRECTIVE_EDEFAULT, oldDirectiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDirective() {
+ return directiveESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FreemarkerPackage.INLINE__DIRECTIVE:
+ return getDirective();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.INLINE__DIRECTIVE:
+ setDirective((InlineDirective)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.INLINE__DIRECTIVE:
+ unsetDirective();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.INLINE__DIRECTIVE:
+ return isSetDirective();
+ }
+ 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(" (directive: ");
+ if (directiveESet) result.append(directive); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //InlineImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/InlineImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/OutputToImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/OutputToImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/OutputToImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.OutputTo;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Output To</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.OutputToImpl#getOutputStreamResource <em>Output Stream Resource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class OutputToImpl extends AbstractAnyTypeImpl implements OutputTo {
+ /**
+ * The default value of the '{@link #getOutputStreamResource() <em>Output Stream Resource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputStreamResource()
+ * @generated
+ * @ordered
+ */
+ protected static final String OUTPUT_STREAM_RESOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getOutputStreamResource() <em>Output Stream Resource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputStreamResource()
+ * @generated
+ * @ordered
+ */
+ protected String outputStreamResource = OUTPUT_STREAM_RESOURCE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OutputToImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.OUTPUT_TO;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getOutputStreamResource() {
+ return outputStreamResource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputStreamResource(String newOutputStreamResource) {
+ String oldOutputStreamResource = outputStreamResource;
+ outputStreamResource = newOutputStreamResource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE, oldOutputStreamResource, outputStreamResource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FreemarkerPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ return getOutputStreamResource();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ setOutputStreamResource((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ setOutputStreamResource(OUTPUT_STREAM_RESOURCE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ return OUTPUT_STREAM_RESOURCE_EDEFAULT == null ? outputStreamResource != null : !OUTPUT_STREAM_RESOURCE_EDEFAULT.equals(outputStreamResource);
+ }
+ 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(" (outputStreamResource: ");
+ result.append(outputStreamResource);
+ result.append(')');
+ return result.toString();
+ }
+
+} //OutputToImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/OutputToImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/TemplateImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/TemplateImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/TemplateImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,256 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.Template;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Template</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.TemplateImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.TemplateImpl#getEncoding <em>Encoding</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TemplateImpl extends AbstractAnyTypeImpl implements Template {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEncoding()
+ * @generated
+ * @ordered
+ */
+ protected static final String ENCODING_EDEFAULT = "UTF-8";
+
+ /**
+ * The cached value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEncoding()
+ * @generated
+ * @ordered
+ */
+ protected String encoding = ENCODING_EDEFAULT;
+
+ /**
+ * This is true if the Encoding attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean encodingESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TemplateImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.TEMPLATE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.TEMPLATE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEncoding() {
+ return encoding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEncoding(String newEncoding) {
+ String oldEncoding = encoding;
+ encoding = newEncoding;
+ boolean oldEncodingESet = encodingESet;
+ encodingESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.TEMPLATE__ENCODING, oldEncoding, encoding, !oldEncodingESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetEncoding() {
+ String oldEncoding = encoding;
+ boolean oldEncodingESet = encodingESet;
+ encoding = ENCODING_EDEFAULT;
+ encodingESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, FreemarkerPackage.TEMPLATE__ENCODING, oldEncoding, ENCODING_EDEFAULT, oldEncodingESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetEncoding() {
+ return encodingESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case FreemarkerPackage.TEMPLATE__VALUE:
+ return getValue();
+ case FreemarkerPackage.TEMPLATE__ENCODING:
+ return getEncoding();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.TEMPLATE__VALUE:
+ setValue((String)newValue);
+ return;
+ case FreemarkerPackage.TEMPLATE__ENCODING:
+ setEncoding((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.TEMPLATE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case FreemarkerPackage.TEMPLATE__ENCODING:
+ unsetEncoding();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.TEMPLATE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case FreemarkerPackage.TEMPLATE__ENCODING:
+ return isSetEncoding();
+ }
+ 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(" (value: ");
+ result.append(value);
+ result.append(", encoding: ");
+ if (encodingESet) result.append(encoding); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //TemplateImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/TemplateImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/UseImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/UseImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/UseImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,315 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.impl;
+
+
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.freemarker.BindTo;
+import org.jboss.tools.smooks.model.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.Inline;
+import org.jboss.tools.smooks.model.freemarker.OutputTo;
+import org.jboss.tools.smooks.model.freemarker.Use;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Use</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.UseImpl#getInline <em>Inline</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.UseImpl#getBindTo <em>Bind To</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.freemarker.impl.UseImpl#getOutputTo <em>Output To</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UseImpl extends AbstractAnyTypeImpl implements Use {
+ /**
+ * The cached value of the '{@link #getInline() <em>Inline</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInline()
+ * @generated
+ * @ordered
+ */
+ protected Inline inline;
+
+ /**
+ * The cached value of the '{@link #getBindTo() <em>Bind To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindTo()
+ * @generated
+ * @ordered
+ */
+ protected BindTo bindTo;
+
+ /**
+ * The cached value of the '{@link #getOutputTo() <em>Output To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputTo()
+ * @generated
+ * @ordered
+ */
+ protected OutputTo outputTo;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UseImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return FreemarkerPackage.Literals.USE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Inline getInline() {
+ return inline;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInline(Inline newInline, NotificationChain msgs) {
+ Inline oldInline = inline;
+ inline = newInline;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FreemarkerPackage.USE__INLINE, oldInline, newInline);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInline(Inline newInline) {
+ if (newInline != inline) {
+ NotificationChain msgs = null;
+ if (inline != null)
+ msgs = ((InternalEObject)inline).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.USE__INLINE, null, msgs);
+ if (newInline != null)
+ msgs = ((InternalEObject)newInline).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.USE__INLINE, null, msgs);
+ msgs = basicSetInline(newInline, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.USE__INLINE, newInline, newInline));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindTo getBindTo() {
+ return bindTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBindTo(BindTo newBindTo, NotificationChain msgs) {
+ BindTo oldBindTo = bindTo;
+ bindTo = newBindTo;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FreemarkerPackage.USE__BIND_TO, oldBindTo, newBindTo);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindTo(BindTo newBindTo) {
+ if (newBindTo != bindTo) {
+ NotificationChain msgs = null;
+ if (bindTo != null)
+ msgs = ((InternalEObject)bindTo).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.USE__BIND_TO, null, msgs);
+ if (newBindTo != null)
+ msgs = ((InternalEObject)newBindTo).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.USE__BIND_TO, null, msgs);
+ msgs = basicSetBindTo(newBindTo, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.USE__BIND_TO, newBindTo, newBindTo));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputTo getOutputTo() {
+ return outputTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOutputTo(OutputTo newOutputTo, NotificationChain msgs) {
+ OutputTo oldOutputTo = outputTo;
+ outputTo = newOutputTo;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FreemarkerPackage.USE__OUTPUT_TO, oldOutputTo, newOutputTo);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputTo(OutputTo newOutputTo) {
+ if (newOutputTo != outputTo) {
+ NotificationChain msgs = null;
+ if (outputTo != null)
+ msgs = ((InternalEObject)outputTo).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.USE__OUTPUT_TO, null, msgs);
+ if (newOutputTo != null)
+ msgs = ((InternalEObject)newOutputTo).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FreemarkerPackage.USE__OUTPUT_TO, null, msgs);
+ msgs = basicSetOutputTo(newOutputTo, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, FreemarkerPackage.USE__OUTPUT_TO, newOutputTo, newOutputTo));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case FreemarkerPackage.USE__INLINE:
+ return basicSetInline(null, msgs);
+ case FreemarkerPackage.USE__BIND_TO:
+ return basicSetBindTo(null, msgs);
+ case FreemarkerPackage.USE__OUTPUT_TO:
+ return basicSetOutputTo(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 FreemarkerPackage.USE__INLINE:
+ return getInline();
+ case FreemarkerPackage.USE__BIND_TO:
+ return getBindTo();
+ case FreemarkerPackage.USE__OUTPUT_TO:
+ return getOutputTo();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case FreemarkerPackage.USE__INLINE:
+ setInline((Inline)newValue);
+ return;
+ case FreemarkerPackage.USE__BIND_TO:
+ setBindTo((BindTo)newValue);
+ return;
+ case FreemarkerPackage.USE__OUTPUT_TO:
+ setOutputTo((OutputTo)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.USE__INLINE:
+ setInline((Inline)null);
+ return;
+ case FreemarkerPackage.USE__BIND_TO:
+ setBindTo((BindTo)null);
+ return;
+ case FreemarkerPackage.USE__OUTPUT_TO:
+ setOutputTo((OutputTo)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case FreemarkerPackage.USE__INLINE:
+ return inline != null;
+ case FreemarkerPackage.USE__BIND_TO:
+ return bindTo != null;
+ case FreemarkerPackage.USE__OUTPUT_TO:
+ return outputTo != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //UseImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/impl/UseImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerAdapterFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerAdapterFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerAdapterFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,311 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.*;
+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.freemarker.FreemarkerPackage
+ * @generated
+ */
+public class FreemarkerAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static FreemarkerPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = FreemarkerPackage.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 FreemarkerSwitch<Adapter> modelSwitch =
+ new FreemarkerSwitch<Adapter>() {
+ @Override
+ public Adapter caseBindTo(BindTo object) {
+ return createBindToAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseFreemarker(Freemarker object) {
+ return createFreemarkerAdapter();
+ }
+ @Override
+ public Adapter caseInline(Inline object) {
+ return createInlineAdapter();
+ }
+ @Override
+ public Adapter caseOutputTo(OutputTo object) {
+ return createOutputToAdapter();
+ }
+ @Override
+ public Adapter caseTemplate(Template object) {
+ return createTemplateAdapter();
+ }
+ @Override
+ public Adapter caseUse(Use object) {
+ return createUseAdapter();
+ }
+ @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.freemarker.BindTo <em>Bind To</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.freemarker.BindTo
+ * @generated
+ */
+ public Adapter createBindToAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.freemarker.DocumentRoot <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.freemarker.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.freemarker.Freemarker <em>Freemarker</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.freemarker.Freemarker
+ * @generated
+ */
+ public Adapter createFreemarkerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.freemarker.Inline <em>Inline</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.freemarker.Inline
+ * @generated
+ */
+ public Adapter createInlineAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.freemarker.OutputTo <em>Output To</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.freemarker.OutputTo
+ * @generated
+ */
+ public Adapter createOutputToAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.freemarker.Template <em>Template</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.freemarker.Template
+ * @generated
+ */
+ public Adapter createTemplateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.freemarker.Use <em>Use</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.freemarker.Use
+ * @generated
+ */
+ public Adapter createUseAdapter() {
+ 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;
+ }
+
+} //FreemarkerAdapterFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.util.FreemarkerResourceImpl
+ * @generated
+ */
+public class FreemarkerResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new FreemarkerResourceImpl(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;
+ }
+
+} //FreemarkerResourceFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.util.FreemarkerResourceFactoryImpl
+ * @generated
+ */
+public class FreemarkerResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public FreemarkerResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //FreemarkerResourceImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerSwitch.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerSwitch.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerSwitch.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,337 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.*;
+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.freemarker.FreemarkerPackage
+ * @generated
+ */
+public class FreemarkerSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static FreemarkerPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerSwitch() {
+ if (modelPackage == null) {
+ modelPackage = FreemarkerPackage.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 FreemarkerPackage.BIND_TO: {
+ BindTo bindTo = (BindTo)theEObject;
+ T result = caseBindTo(bindTo);
+ if (result == null) result = caseAbstractAnyType(bindTo);
+ if (result == null) result = caseAnyType(bindTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FreemarkerPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FreemarkerPackage.FREEMARKER: {
+ Freemarker freemarker = (Freemarker)theEObject;
+ T result = caseFreemarker(freemarker);
+ if (result == null) result = caseElementVisitor(freemarker);
+ if (result == null) result = caseAbstractResourceConfig(freemarker);
+ if (result == null) result = caseAbstractAnyType(freemarker);
+ if (result == null) result = caseAnyType(freemarker);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FreemarkerPackage.INLINE: {
+ Inline inline = (Inline)theEObject;
+ T result = caseInline(inline);
+ if (result == null) result = caseAbstractAnyType(inline);
+ if (result == null) result = caseAnyType(inline);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FreemarkerPackage.OUTPUT_TO: {
+ OutputTo outputTo = (OutputTo)theEObject;
+ T result = caseOutputTo(outputTo);
+ if (result == null) result = caseAbstractAnyType(outputTo);
+ if (result == null) result = caseAnyType(outputTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FreemarkerPackage.TEMPLATE: {
+ Template template = (Template)theEObject;
+ T result = caseTemplate(template);
+ if (result == null) result = caseAbstractAnyType(template);
+ if (result == null) result = caseAnyType(template);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case FreemarkerPackage.USE: {
+ Use use = (Use)theEObject;
+ T result = caseUse(use);
+ if (result == null) result = caseAbstractAnyType(use);
+ if (result == null) result = caseAnyType(use);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Bind To</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>Bind To</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBindTo(BindTo 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 caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Freemarker</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>Freemarker</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFreemarker(Freemarker object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Inline</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>Inline</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInline(Inline object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Output To</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>Output To</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOutputTo(OutputTo object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Template</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>Template</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTemplate(Template object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Use</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>Use</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUse(Use 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;
+ }
+
+} //FreemarkerSwitch
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerXMLProcessor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerXMLProcessor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerXMLProcessor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.freemarker.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.freemarker.FreemarkerPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class FreemarkerXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FreemarkerXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ FreemarkerPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the FreemarkerResourceFactoryImpl 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 FreemarkerResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new FreemarkerResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //FreemarkerXMLProcessor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/freemarker/util/FreemarkerXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/BindingsType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/BindingsType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/BindingsType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,310 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Bindings Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getGroup <em>Group</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getWiring <em>Wiring</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getBeanId <em>Bean Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getClass_ <em>Class</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElement <em>Create On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElementNS <em>Create On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.BindingsType#isExtendLifecycle <em>Extend Lifecycle</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType()
+ * @model extendedMetaData="name='bindings_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface BindingsType extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Group</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>Group</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>Group</em>' attribute list.
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_Group()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='group:2'"
+ * @generated
+ */
+ FeatureMap getGroup();
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.javabean.ValueType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Basic "value" based binding configuration.
+ * <p/>
+ * This binding type is used to bind data from the source message event stream.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Value</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_Value()
+ * @model containment="true" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='value' namespace='##targetNamespace' group='#group:2'"
+ * @generated
+ */
+ EList<ValueType> getValue();
+
+ /**
+ * Returns the value of the '<em><b>Wiring</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.javabean.WiringType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Wiring based binding configuration.
+ * <p/>
+ * This binding type is used to "wire" beans together.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Wiring</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_Wiring()
+ * @model containment="true" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='wiring' namespace='##targetNamespace' group='#group:2'"
+ * @generated
+ */
+ EList<WiringType> getWiring();
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.javabean.ExpressionType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Expression based Configuration
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Expression</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_Expression()
+ * @model containment="true" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='expression' namespace='##targetNamespace' group='#group:2'"
+ * @generated
+ */
+ EList<ExpressionType> getExpression();
+
+ /**
+ * Returns the value of the '<em><b>Bean Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The ID under which the created bean is
+ * to be bound in the bean context.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bean Id</em>' attribute.
+ * @see #setBeanId(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_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.javabean.BindingsType#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>Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The fully qualified bean Class name.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Class</em>' attribute.
+ * @see #setClass(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_Class()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='class'"
+ * @generated
+ */
+ String getClass_();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getClass_ <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Class</em>' attribute.
+ * @see #getClass_()
+ * @generated
+ */
+ void setClass(String value);
+
+ /**
+ * Returns the value of the '<em><b>Create On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Create On Element</em>' attribute.
+ * @see #setCreateOnElement(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_CreateOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='createOnElement'"
+ * @generated
+ */
+ String getCreateOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElement <em>Create On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Create On Element</em>' attribute.
+ * @see #getCreateOnElement()
+ * @generated
+ */
+ void setCreateOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Create On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Namespace control for the
+ * "createOnElement" attribute.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Create On Element NS</em>' attribute.
+ * @see #setCreateOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_CreateOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='createOnElementNS'"
+ * @generated
+ */
+ String getCreateOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElementNS <em>Create On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Create On Element NS</em>' attribute.
+ * @see #getCreateOnElementNS()
+ * @generated
+ */
+ void setCreateOnElementNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Extend Lifecycle</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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'.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Extend Lifecycle</em>' attribute.
+ * @see #isSetExtendLifecycle()
+ * @see #unsetExtendLifecycle()
+ * @see #setExtendLifecycle(boolean)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getBindingsType_ExtendLifecycle()
+ * @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='extendLifecycle'"
+ * @generated
+ */
+ boolean isExtendLifecycle();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.BindingsType#isExtendLifecycle <em>Extend Lifecycle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Extend Lifecycle</em>' attribute.
+ * @see #isSetExtendLifecycle()
+ * @see #unsetExtendLifecycle()
+ * @see #isExtendLifecycle()
+ * @generated
+ */
+ void setExtendLifecycle(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.javabean.BindingsType#isExtendLifecycle <em>Extend Lifecycle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetExtendLifecycle()
+ * @see #isExtendLifecycle()
+ * @see #setExtendLifecycle(boolean)
+ * @generated
+ */
+ void unsetExtendLifecycle();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.javabean.BindingsType#isExtendLifecycle <em>Extend Lifecycle</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Extend Lifecycle</em>' attribute is set.
+ * @see #unsetExtendLifecycle()
+ * @see #isExtendLifecycle()
+ * @see #setExtendLifecycle(boolean)
+ * @generated
+ */
+ boolean isSetExtendLifecycle();
+
+} // BindingsType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/BindingsType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DecodeParamType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DecodeParamType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DecodeParamType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,82 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Decode Param Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DecodeParamType#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DecodeParamType#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDecodeParamType()
+ * @model extendedMetaData="name='decodeParam_._type' kind='simple'"
+ * @generated
+ */
+public interface DecodeParamType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDecodeParamType_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DecodeParamType#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The name of the parameter.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDecodeParamType_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DecodeParamType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // DecodeParamType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DecodeParamType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DocumentRoot.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DocumentRoot.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DocumentRoot.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,262 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+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.javabean.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getBindings <em>Bindings</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getDecodeParam <em>Decode Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getWiring <em>Wiring</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot 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.javabean.JavabeanPackage#getDocumentRoot_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.javabean.JavabeanPackage#getDocumentRoot_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.javabean.JavabeanPackage#getDocumentRoot_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>Bindings</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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 your IDE to
+ * discover these elements.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bindings</em>' containment reference.
+ * @see #setBindings(BindingsType)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDocumentRoot_Bindings()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='bindings' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
+ * @generated
+ */
+ BindingsType getBindings();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getBindings <em>Bindings</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bindings</em>' containment reference.
+ * @see #getBindings()
+ * @generated
+ */
+ void setBindings(BindingsType value);
+
+ /**
+ * Returns the value of the '<em><b>Decode Param</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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/decoders/Date...">DateDecoder</a>.
+ * These parameters can be specified by adding <decodeParam> sub-elements to the <value>
+ * binding element. Review the Decoder's Javadoc for details of the custom parameters.
+ * <p/>
+ * <u>Example:</u>
+ * <pre>
+ * <jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/decoders/Date...">Date</a>">
+ * <jb:decodeParam name="format">EEE MMM dd HH:mm:ss z yyyy</jb:decodeParam>
+ * <jb:decodeParam name="locale-language">en</jb:decodeParam>
+ * <jb:decodeParam name="locale-country">IE</jb:decodeParam>
+ * </jb:value>
+ * </pre>
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Decode Param</em>' containment reference.
+ * @see #setDecodeParam(DecodeParamType)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDocumentRoot_DecodeParam()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='decodeParam' namespace='##targetNamespace'"
+ * @generated
+ */
+ DecodeParamType getDecodeParam();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getDecodeParam <em>Decode Param</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Decode Param</em>' containment reference.
+ * @see #getDecodeParam()
+ * @generated
+ */
+ void setDecodeParam(DecodeParamType value);
+
+ /**
+ * Returns the value of the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Expression based Configuration
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Expression</em>' containment reference.
+ * @see #setExpression(ExpressionType)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDocumentRoot_Expression()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='expression' namespace='##targetNamespace'"
+ * @generated
+ */
+ ExpressionType getExpression();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getExpression <em>Expression</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Expression</em>' containment reference.
+ * @see #getExpression()
+ * @generated
+ */
+ void setExpression(ExpressionType value);
+
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Basic "value" based binding configuration.
+ * <p/>
+ * This binding type is used to bind data from the source message event stream.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Value</em>' containment reference.
+ * @see #setValue(ValueType)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDocumentRoot_Value()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='value' namespace='##targetNamespace'"
+ * @generated
+ */
+ ValueType getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getValue <em>Value</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' containment reference.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(ValueType value);
+
+ /**
+ * Returns the value of the '<em><b>Wiring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Wiring based binding configuration.
+ * <p/>
+ * This binding type is used to "wire" beans together.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Wiring</em>' containment reference.
+ * @see #setWiring(WiringType)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getDocumentRoot_Wiring()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='wiring' namespace='##targetNamespace'"
+ * @generated
+ */
+ WiringType getWiring();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getWiring <em>Wiring</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Wiring</em>' containment reference.
+ * @see #getWiring()
+ * @generated
+ */
+ void setWiring(WiringType value);
+
+} // DocumentRoot
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/DocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ExpressionType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ExpressionType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ExpressionType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,188 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Expression Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElement <em>Exec On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElementNS <em>Exec On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getProperty <em>Property</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getSetterMethod <em>Setter Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getExpressionType()
+ * @model extendedMetaData="name='expression_._type' kind='simple'"
+ * @generated
+ */
+public interface ExpressionType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getExpressionType_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Exec On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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 stream.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Exec On Element</em>' attribute.
+ * @see #setExecOnElement(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getExpressionType_ExecOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='execOnElement'"
+ * @generated
+ */
+ String getExecOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElement <em>Exec On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Exec On Element</em>' attribute.
+ * @see #getExecOnElement()
+ * @generated
+ */
+ void setExecOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Exec On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * Namespace control for the "execOnElement" attribute.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Exec On Element NS</em>' attribute.
+ * @see #setExecOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getExpressionType_ExecOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='execOnElementNS'"
+ * @generated
+ */
+ String getExecOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElementNS <em>Exec On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Exec On Element NS</em>' attribute.
+ * @see #getExecOnElementNS()
+ * @generated
+ */
+ void setExecOnElementNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Property</em>' attribute.
+ * @see #setProperty(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getExpressionType_Property()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='property'"
+ * @generated
+ */
+ String getProperty();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getProperty <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Property</em>' attribute.
+ * @see #getProperty()
+ * @generated
+ */
+ void setProperty(String value);
+
+ /**
+ * Returns the value of the '<em><b>Setter Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Setter Method</em>' attribute.
+ * @see #setSetterMethod(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getExpressionType_SetterMethod()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='setterMethod'"
+ * @generated
+ */
+ String getSetterMethod();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getSetterMethod <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Setter Method</em>' attribute.
+ * @see #getSetterMethod()
+ * @generated
+ */
+ void setSetterMethod(String value);
+
+} // ExpressionType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ExpressionType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,91 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+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.javabean.JavabeanPackage
+ * @generated
+ */
+public interface JavabeanFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ JavabeanFactory eINSTANCE = org.jboss.tools.smooks.model.javabean.impl.JavabeanFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Bindings Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Bindings Type</em>'.
+ * @generated
+ */
+ BindingsType createBindingsType();
+
+ /**
+ * Returns a new object of class '<em>Decode Param Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Decode Param Type</em>'.
+ * @generated
+ */
+ DecodeParamType createDecodeParamType();
+
+ /**
+ * 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
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Expression Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Expression Type</em>'.
+ * @generated
+ */
+ ExpressionType createExpressionType();
+
+ /**
+ * Returns a new object of class '<em>Value Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Value Type</em>'.
+ * @generated
+ */
+ ValueType createValueType();
+
+ /**
+ * Returns a new object of class '<em>Wiring Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Wiring Type</em>'.
+ * @generated
+ */
+ WiringType createWiringType();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ JavabeanPackage getJavabeanPackage();
+
+} //JavabeanFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanPackage.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanPackage.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanPackage.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,1489 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+
+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.common.CommonPackage;
+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 Java Binding Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface JavabeanPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "javabean";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/javabean-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "jb";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ JavabeanPackage eINSTANCE = org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl <em>Bindings Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getBindingsType()
+ * @generated
+ */
+ int BINDINGS_TYPE = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__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 BINDINGS_TYPE__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 BINDINGS_TYPE__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 BINDINGS_TYPE__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 BINDINGS_TYPE__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__GROUP = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__VALUE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Wiring</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__WIRING = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__EXPRESSION = 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 BINDINGS_TYPE__BEAN_ID = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__CLASS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Create On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__CREATE_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Create On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__CREATE_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Extend Lifecycle</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE__EXTEND_LIFECYCLE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 8;
+
+ /**
+ * The number of structural features of the '<em>Bindings Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BINDINGS_TYPE_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 9;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.javabean.impl.DecodeParamTypeImpl <em>Decode Param Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.DecodeParamTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getDecodeParamType()
+ * @generated
+ */
+ int DECODE_PARAM_TYPE = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECODE_PARAM_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECODE_PARAM_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECODE_PARAM_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECODE_PARAM_TYPE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECODE_PARAM_TYPE__NAME = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Decode Param Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DECODE_PARAM_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int 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 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 DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Bindings</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__BINDINGS = 3;
+
+ /**
+ * The feature id for the '<em><b>Decode Param</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__DECODE_PARAM = 4;
+
+ /**
+ * The feature id for the '<em><b>Expression</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__EXPRESSION = 5;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__VALUE = 6;
+
+ /**
+ * The feature id for the '<em><b>Wiring</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__WIRING = 7;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 8;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl <em>Expression Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getExpressionType()
+ * @generated
+ */
+ int EXPRESSION_TYPE = 3;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Exec On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__EXEC_ON_ELEMENT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Exec On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__PROPERTY = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Setter Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE__SETTER_METHOD = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Expression Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int EXPRESSION_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 5;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl <em>Value Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getValueType()
+ * @generated
+ */
+ int VALUE_TYPE = 4;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Decode Param</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__DECODE_PARAM = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__DATA = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Data NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__DATA_NS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Decoder</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__DECODER = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Default</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__DEFAULT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__PROPERTY = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Setter Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE__SETTER_METHOD = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 6;
+
+ /**
+ * The number of structural features of the '<em>Value Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int VALUE_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 7;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl <em>Wiring Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getWiringType()
+ * @generated
+ */
+ int WIRING_TYPE = 5;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Bean Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__BEAN_ID_REF = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__PROPERTY = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Setter Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__SETTER_METHOD = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Wire On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__WIRE_ON_ELEMENT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Wire On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE__WIRE_ON_ELEMENT_NS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 4;
+
+ /**
+ * The number of structural features of the '<em>Wiring Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int WIRING_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 5;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.javabean.BindingsType <em>Bindings Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Bindings Type</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType
+ * @generated
+ */
+ EClass getBindingsType();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getGroup <em>Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Group</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getGroup()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EAttribute getBindingsType_Group();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getValue()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EReference getBindingsType_Value();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getWiring <em>Wiring</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Wiring</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getWiring()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EReference getBindingsType_Wiring();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Expression</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getExpression()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EReference getBindingsType_Expression();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.BindingsType#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.javabean.BindingsType#getBeanId()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EAttribute getBindingsType_BeanId();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getClass_ <em>Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Class</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getClass_()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EAttribute getBindingsType_Class();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElement <em>Create On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Create On Element</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElement()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EAttribute getBindingsType_CreateOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElementNS <em>Create On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Create On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#getCreateOnElementNS()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EAttribute getBindingsType_CreateOnElementNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.BindingsType#isExtendLifecycle <em>Extend Lifecycle</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Extend Lifecycle</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.BindingsType#isExtendLifecycle()
+ * @see #getBindingsType()
+ * @generated
+ */
+ EAttribute getBindingsType_ExtendLifecycle();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.javabean.DecodeParamType <em>Decode Param Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Decode Param Type</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DecodeParamType
+ * @generated
+ */
+ EClass getDecodeParamType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.DecodeParamType#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DecodeParamType#getValue()
+ * @see #getDecodeParamType()
+ * @generated
+ */
+ EAttribute getDecodeParamType_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.DecodeParamType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DecodeParamType#getName()
+ * @see #getDecodeParamType()
+ * @generated
+ */
+ EAttribute getDecodeParamType_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot <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.javabean.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#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.javabean.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#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.javabean.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#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.javabean.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getBindings <em>Bindings</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Bindings</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DocumentRoot#getBindings()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Bindings();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getDecodeParam <em>Decode Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Decode Param</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DocumentRoot#getDecodeParam()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_DecodeParam();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getExpression <em>Expression</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Expression</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DocumentRoot#getExpression()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Expression();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DocumentRoot#getValue()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Value();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot#getWiring <em>Wiring</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Wiring</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.DocumentRoot#getWiring()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Wiring();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.javabean.ExpressionType <em>Expression Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Expression Type</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ExpressionType
+ * @generated
+ */
+ EClass getExpressionType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ExpressionType#getValue()
+ * @see #getExpressionType()
+ * @generated
+ */
+ EAttribute getExpressionType_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElement <em>Exec On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Exec On Element</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElement()
+ * @see #getExpressionType()
+ * @generated
+ */
+ EAttribute getExpressionType_ExecOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElementNS <em>Exec On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Exec On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ExpressionType#getExecOnElementNS()
+ * @see #getExpressionType()
+ * @generated
+ */
+ EAttribute getExpressionType_ExecOnElementNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getProperty <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Property</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ExpressionType#getProperty()
+ * @see #getExpressionType()
+ * @generated
+ */
+ EAttribute getExpressionType_Property();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ExpressionType#getSetterMethod <em>Setter Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Setter Method</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ExpressionType#getSetterMethod()
+ * @see #getExpressionType()
+ * @generated
+ */
+ EAttribute getExpressionType_SetterMethod();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.javabean.ValueType <em>Value Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Value Type</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType
+ * @generated
+ */
+ EClass getValueType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDecodeParam <em>Decode Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Decode Param</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getDecodeParam()
+ * @see #getValueType()
+ * @generated
+ */
+ EReference getValueType_DecodeParam();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ValueType#getData <em>Data</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Data</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getData()
+ * @see #getValueType()
+ * @generated
+ */
+ EAttribute getValueType_Data();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDataNS <em>Data NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Data NS</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getDataNS()
+ * @see #getValueType()
+ * @generated
+ */
+ EAttribute getValueType_DataNS();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDecoder <em>Decoder</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Decoder</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getDecoder()
+ * @see #getValueType()
+ * @generated
+ */
+ EAttribute getValueType_Decoder();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDefault <em>Default</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getDefault()
+ * @see #getValueType()
+ * @generated
+ */
+ EAttribute getValueType_Default();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ValueType#getProperty <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Property</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getProperty()
+ * @see #getValueType()
+ * @generated
+ */
+ EAttribute getValueType_Property();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.ValueType#getSetterMethod <em>Setter Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Setter Method</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.ValueType#getSetterMethod()
+ * @see #getValueType()
+ * @generated
+ */
+ EAttribute getValueType_SetterMethod();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.javabean.WiringType <em>Wiring Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Wiring Type</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.WiringType
+ * @generated
+ */
+ EClass getWiringType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.WiringType#getBeanIdRef <em>Bean Id Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Bean Id Ref</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.WiringType#getBeanIdRef()
+ * @see #getWiringType()
+ * @generated
+ */
+ EAttribute getWiringType_BeanIdRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.WiringType#getProperty <em>Property</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Property</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.WiringType#getProperty()
+ * @see #getWiringType()
+ * @generated
+ */
+ EAttribute getWiringType_Property();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.WiringType#getSetterMethod <em>Setter Method</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Setter Method</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.WiringType#getSetterMethod()
+ * @see #getWiringType()
+ * @generated
+ */
+ EAttribute getWiringType_SetterMethod();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElement <em>Wire On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Wire On Element</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElement()
+ * @see #getWiringType()
+ * @generated
+ */
+ EAttribute getWiringType_WireOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElementNS <em>Wire On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Wire On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElementNS()
+ * @see #getWiringType()
+ * @generated
+ */
+ EAttribute getWiringType_WireOnElementNS();
+
+ /**
+ * 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
+ */
+ JavabeanFactory getJavabeanFactory();
+
+ /**
+ * <!-- 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.javabean.impl.BindingsTypeImpl <em>Bindings Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getBindingsType()
+ * @generated
+ */
+ EClass BINDINGS_TYPE = eINSTANCE.getBindingsType();
+
+ /**
+ * The meta object literal for the '<em><b>Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDINGS_TYPE__GROUP = eINSTANCE.getBindingsType_Group();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BINDINGS_TYPE__VALUE = eINSTANCE.getBindingsType_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Wiring</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BINDINGS_TYPE__WIRING = eINSTANCE.getBindingsType_Wiring();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference BINDINGS_TYPE__EXPRESSION = eINSTANCE.getBindingsType_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Bean Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDINGS_TYPE__BEAN_ID = eINSTANCE.getBindingsType_BeanId();
+
+ /**
+ * The meta object literal for the '<em><b>Class</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDINGS_TYPE__CLASS = eINSTANCE.getBindingsType_Class();
+
+ /**
+ * The meta object literal for the '<em><b>Create On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDINGS_TYPE__CREATE_ON_ELEMENT = eINSTANCE.getBindingsType_CreateOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Create On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDINGS_TYPE__CREATE_ON_ELEMENT_NS = eINSTANCE.getBindingsType_CreateOnElementNS();
+
+ /**
+ * The meta object literal for the '<em><b>Extend Lifecycle</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BINDINGS_TYPE__EXTEND_LIFECYCLE = eINSTANCE.getBindingsType_ExtendLifecycle();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.javabean.impl.DecodeParamTypeImpl <em>Decode Param Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.DecodeParamTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getDecodeParamType()
+ * @generated
+ */
+ EClass DECODE_PARAM_TYPE = eINSTANCE.getDecodeParamType();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DECODE_PARAM_TYPE__VALUE = eINSTANCE.getDecodeParamType_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DECODE_PARAM_TYPE__NAME = eINSTANCE.getDecodeParamType_Name();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Bindings</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__BINDINGS = eINSTANCE.getDocumentRoot_Bindings();
+
+ /**
+ * The meta object literal for the '<em><b>Decode Param</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__DECODE_PARAM = eINSTANCE.getDocumentRoot_DecodeParam();
+
+ /**
+ * The meta object literal for the '<em><b>Expression</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__EXPRESSION = eINSTANCE.getDocumentRoot_Expression();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__VALUE = eINSTANCE.getDocumentRoot_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Wiring</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__WIRING = eINSTANCE.getDocumentRoot_Wiring();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl <em>Expression Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getExpressionType()
+ * @generated
+ */
+ EClass EXPRESSION_TYPE = eINSTANCE.getExpressionType();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXPRESSION_TYPE__VALUE = eINSTANCE.getExpressionType_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Exec On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXPRESSION_TYPE__EXEC_ON_ELEMENT = eINSTANCE.getExpressionType_ExecOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Exec On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS = eINSTANCE.getExpressionType_ExecOnElementNS();
+
+ /**
+ * The meta object literal for the '<em><b>Property</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXPRESSION_TYPE__PROPERTY = eINSTANCE.getExpressionType_Property();
+
+ /**
+ * The meta object literal for the '<em><b>Setter Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute EXPRESSION_TYPE__SETTER_METHOD = eINSTANCE.getExpressionType_SetterMethod();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl <em>Value Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getValueType()
+ * @generated
+ */
+ EClass VALUE_TYPE = eINSTANCE.getValueType();
+
+ /**
+ * The meta object literal for the '<em><b>Decode Param</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference VALUE_TYPE__DECODE_PARAM = eINSTANCE.getValueType_DecodeParam();
+
+ /**
+ * The meta object literal for the '<em><b>Data</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute VALUE_TYPE__DATA = eINSTANCE.getValueType_Data();
+
+ /**
+ * The meta object literal for the '<em><b>Data NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute VALUE_TYPE__DATA_NS = eINSTANCE.getValueType_DataNS();
+
+ /**
+ * The meta object literal for the '<em><b>Decoder</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute VALUE_TYPE__DECODER = eINSTANCE.getValueType_Decoder();
+
+ /**
+ * The meta object literal for the '<em><b>Default</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute VALUE_TYPE__DEFAULT = eINSTANCE.getValueType_Default();
+
+ /**
+ * The meta object literal for the '<em><b>Property</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute VALUE_TYPE__PROPERTY = eINSTANCE.getValueType_Property();
+
+ /**
+ * The meta object literal for the '<em><b>Setter Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute VALUE_TYPE__SETTER_METHOD = eINSTANCE.getValueType_SetterMethod();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl <em>Wiring Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl
+ * @see org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl#getWiringType()
+ * @generated
+ */
+ EClass WIRING_TYPE = eINSTANCE.getWiringType();
+
+ /**
+ * The meta object literal for the '<em><b>Bean Id Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute WIRING_TYPE__BEAN_ID_REF = eINSTANCE.getWiringType_BeanIdRef();
+
+ /**
+ * The meta object literal for the '<em><b>Property</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute WIRING_TYPE__PROPERTY = eINSTANCE.getWiringType_Property();
+
+ /**
+ * The meta object literal for the '<em><b>Setter Method</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute WIRING_TYPE__SETTER_METHOD = eINSTANCE.getWiringType_SetterMethod();
+
+ /**
+ * The meta object literal for the '<em><b>Wire On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute WIRING_TYPE__WIRE_ON_ELEMENT = eINSTANCE.getWiringType_WireOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Wire On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute WIRING_TYPE__WIRE_ON_ELEMENT_NS = eINSTANCE.getWiringType_WireOnElementNS();
+
+ }
+
+} //JavabeanPackage
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/JavabeanPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ValueType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ValueType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ValueType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,296 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Value Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getDecodeParam <em>Decode Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getData <em>Data</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getDataNS <em>Data NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getDecoder <em>Decoder</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getDefault <em>Default</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getProperty <em>Property</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.ValueType#getSetterMethod <em>Setter Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType()
+ * @model extendedMetaData="name='value_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ValueType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Decode Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.javabean.DecodeParamType}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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/decoders/Date...">DateDecoder</a>.
+ * These parameters can be specified by adding <decodeParam> sub-elements to the <value>
+ * binding element. Review the Decoder's Javadoc for details of the custom parameters.
+ * <p/>
+ * <u>Example:</u>
+ * <pre>
+ * <jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/decoders/Date...">Date</a>">
+ * <jb:decodeParam name="format">EEE MMM dd HH:mm:ss z yyyy</jb:decodeParam>
+ * <jb:decodeParam name="locale-language">en</jb:decodeParam>
+ * <jb:decodeParam name="locale-country">IE</jb:decodeParam>
+ * </jb:value>
+ * </pre>
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Decode Param</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_DecodeParam()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='decodeParam' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<DecodeParamType> getDecodeParam();
+
+ /**
+ * Returns the value of the '<em><b>Data</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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>
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Data</em>' attribute.
+ * @see #setData(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_Data()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='data'"
+ * @generated
+ */
+ String getData();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ValueType#getData <em>Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data</em>' attribute.
+ * @see #getData()
+ * @generated
+ */
+ void setData(String value);
+
+ /**
+ * Returns the value of the '<em><b>Data NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The namespace for the "data" selector (see "data" attribute).
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Data NS</em>' attribute.
+ * @see #setDataNS(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_DataNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='dataNS'"
+ * @generated
+ */
+ String getDataNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDataNS <em>Data NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Data NS</em>' attribute.
+ * @see #getDataNS()
+ * @generated
+ */
+ void setDataNS(String value);
+
+ /**
+ * Returns the value of the '<em><b>Decoder</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Data Decoder.
+ * <p/>
+ * This attribute specifies the
+ * <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/DataDecoder.html">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/DataDecoder.html">DataDecoder</a>
+ * class name. The fully qualified class name is only required for custom
+ * <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/DataDecoder.html">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/javabean/decoders/Date...">DateDecoder</a>.
+ * These parameters can be specified by adding <decodeParam> sub-elements to the <value>
+ * binding element. Review the Decoder's Javadoc for details of the custom parameters.
+ * <p/>
+ * <u>Example:</u>
+ * <pre>
+ * <jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/decoders/Date...">Date</a>">
+ * <jb:decodeParam name="format">EEE MMM dd HH:mm:ss z yyyy</jb:decodeParam>
+ * <jb:decodeParam name="locale-language">en</jb:decodeParam>
+ * <jb:decodeParam name="locale-country">IE</jb:decodeParam>
+ * </jb:value>
+ * </pre>
+ *
+ * <h3>Custom Data Decoding</h3>
+ * For custom data decoding, implement the
+ * <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/DataDecoder.html">
+ * DataDecoder
+ * </a>
+ * interface and specify the decoder using the fully qualified class name of the new
+ * implementation.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Decoder</em>' attribute.
+ * @see #setDecoder(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_Decoder()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='decoder'"
+ * @generated
+ */
+ String getDecoder();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDecoder <em>Decoder</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Decoder</em>' attribute.
+ * @see #getDecoder()
+ * @generated
+ */
+ void setDecoder(String value);
+
+ /**
+ * Returns the value of the '<em><b>Default</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The default data value, where a null/empty data String is returned
+ * for the data element.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Default</em>' attribute.
+ * @see #setDefault(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_Default()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='default'"
+ * @generated
+ */
+ String getDefault();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ValueType#getDefault <em>Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default</em>' attribute.
+ * @see #getDefault()
+ * @generated
+ */
+ void setDefault(String value);
+
+ /**
+ * Returns the value of the '<em><b>Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Property</em>' attribute.
+ * @see #setProperty(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_Property()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='property'"
+ * @generated
+ */
+ String getProperty();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ValueType#getProperty <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Property</em>' attribute.
+ * @see #getProperty()
+ * @generated
+ */
+ void setProperty(String value);
+
+ /**
+ * Returns the value of the '<em><b>Setter Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Setter Method</em>' attribute.
+ * @see #setSetterMethod(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getValueType_SetterMethod()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='setterMethod'"
+ * @generated
+ */
+ String getSetterMethod();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.ValueType#getSetterMethod <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Setter Method</em>' attribute.
+ * @see #getSetterMethod()
+ * @generated
+ */
+ void setSetterMethod(String value);
+
+} // ValueType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/ValueType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/WiringType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/WiringType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/WiringType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,191 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Wiring Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.WiringType#getBeanIdRef <em>Bean Id Ref</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.WiringType#getProperty <em>Property</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.WiringType#getSetterMethod <em>Setter Method</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElement <em>Wire On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElementNS <em>Wire On Element NS</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getWiringType()
+ * @model extendedMetaData="name='wiring_._type' kind='empty'"
+ * @generated
+ */
+public interface WiringType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Bean Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The beanId of the bean to be wired into the
+ * specified bean "property" (or List).
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Bean Id Ref</em>' attribute.
+ * @see #setBeanIdRef(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getWiringType_BeanIdRef()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='beanIdRef'"
+ * @generated
+ */
+ String getBeanIdRef();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.WiringType#getBeanIdRef <em>Bean Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bean Id Ref</em>' attribute.
+ * @see #getBeanIdRef()
+ * @generated
+ */
+ void setBeanIdRef(String value);
+
+ /**
+ * Returns the value of the '<em><b>Property</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Property</em>' attribute.
+ * @see #setProperty(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getWiringType_Property()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='property'"
+ * @generated
+ */
+ String getProperty();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.WiringType#getProperty <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Property</em>' attribute.
+ * @see #getProperty()
+ * @generated
+ */
+ void setProperty(String value);
+
+ /**
+ * Returns the value of the '<em><b>Setter Method</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Setter Method</em>' attribute.
+ * @see #setSetterMethod(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getWiringType_SetterMethod()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='setterMethod'"
+ * @generated
+ */
+ String getSetterMethod();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.WiringType#getSetterMethod <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Setter Method</em>' attribute.
+ * @see #getSetterMethod()
+ * @generated
+ */
+ void setSetterMethod(String value);
+
+ /**
+ * Returns the value of the '<em><b>Wire On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Wire On Element</em>' attribute.
+ * @see #setWireOnElement(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getWiringType_WireOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='wireOnElement'"
+ * @generated
+ */
+ String getWireOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElement <em>Wire On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Wire On Element</em>' attribute.
+ * @see #getWireOnElement()
+ * @generated
+ */
+ void setWireOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Wire On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Namespace control for the "wireOnElement"
+ * attribute.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Wire On Element NS</em>' attribute.
+ * @see #setWireOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.javabean.JavabeanPackage#getWiringType_WireOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='wireOnElementNS'"
+ * @generated
+ */
+ String getWireOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.javabean.WiringType#getWireOnElementNS <em>Wire On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Wire On Element NS</em>' attribute.
+ * @see #getWireOnElementNS()
+ * @generated
+ */
+ void setWireOnElementNS(String value);
+
+} // WiringType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/WiringType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/BindingsTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/BindingsTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/BindingsTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,551 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.impl;
+
+import java.util.Collection;
+
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.javabean.BindingsType;
+import org.jboss.tools.smooks.model.javabean.ExpressionType;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.ValueType;
+import org.jboss.tools.smooks.model.javabean.WiringType;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Bindings Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getGroup <em>Group</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getWiring <em>Wiring</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getBeanId <em>Bean Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getClass_ <em>Class</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getCreateOnElement <em>Create On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#getCreateOnElementNS <em>Create On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.BindingsTypeImpl#isExtendLifecycle <em>Extend Lifecycle</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BindingsTypeImpl extends ElementVisitorImpl implements BindingsType {
+ /**
+ * The cached value of the '{@link #getGroup() <em>Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap group;
+
+ /**
+ * 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 #getClass_() <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClass_()
+ * @generated
+ * @ordered
+ */
+ protected static final String CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClass_()
+ * @generated
+ * @ordered
+ */
+ protected String class_ = CLASS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCreateOnElement() <em>Create On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreateOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String CREATE_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCreateOnElement() <em>Create On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreateOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String createOnElement = CREATE_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCreateOnElementNS() <em>Create On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreateOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String CREATE_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCreateOnElementNS() <em>Create On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCreateOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String createOnElementNS = CREATE_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #isExtendLifecycle() <em>Extend Lifecycle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExtendLifecycle()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean EXTEND_LIFECYCLE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isExtendLifecycle() <em>Extend Lifecycle</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isExtendLifecycle()
+ * @generated
+ * @ordered
+ */
+ protected boolean extendLifecycle = EXTEND_LIFECYCLE_EDEFAULT;
+
+ /**
+ * This is true if the Extend Lifecycle attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean extendLifecycleESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BindingsTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JavabeanPackage.Literals.BINDINGS_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getGroup() {
+ if (group == null) {
+ group = new BasicFeatureMap(this, JavabeanPackage.BINDINGS_TYPE__GROUP);
+ }
+ return group;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ValueType> getValue() {
+ return getGroup().list(JavabeanPackage.Literals.BINDINGS_TYPE__VALUE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<WiringType> getWiring() {
+ return getGroup().list(JavabeanPackage.Literals.BINDINGS_TYPE__WIRING);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ExpressionType> getExpression() {
+ return getGroup().list(JavabeanPackage.Literals.BINDINGS_TYPE__EXPRESSION);
+ }
+
+ /**
+ * <!-- 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, JavabeanPackage.BINDINGS_TYPE__BEAN_ID, oldBeanId, beanId));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getClass_() {
+ return class_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setClass(String newClass) {
+ String oldClass = class_;
+ class_ = newClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.BINDINGS_TYPE__CLASS, oldClass, class_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCreateOnElement() {
+ return createOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCreateOnElement(String newCreateOnElement) {
+ String oldCreateOnElement = createOnElement;
+ createOnElement = newCreateOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT, oldCreateOnElement, createOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCreateOnElementNS() {
+ return createOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCreateOnElementNS(String newCreateOnElementNS) {
+ String oldCreateOnElementNS = createOnElementNS;
+ createOnElementNS = newCreateOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT_NS, oldCreateOnElementNS, createOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isExtendLifecycle() {
+ return extendLifecycle;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExtendLifecycle(boolean newExtendLifecycle) {
+ boolean oldExtendLifecycle = extendLifecycle;
+ extendLifecycle = newExtendLifecycle;
+ boolean oldExtendLifecycleESet = extendLifecycleESet;
+ extendLifecycleESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.BINDINGS_TYPE__EXTEND_LIFECYCLE, oldExtendLifecycle, extendLifecycle, !oldExtendLifecycleESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetExtendLifecycle() {
+ boolean oldExtendLifecycle = extendLifecycle;
+ boolean oldExtendLifecycleESet = extendLifecycleESet;
+ extendLifecycle = EXTEND_LIFECYCLE_EDEFAULT;
+ extendLifecycleESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, JavabeanPackage.BINDINGS_TYPE__EXTEND_LIFECYCLE, oldExtendLifecycle, EXTEND_LIFECYCLE_EDEFAULT, oldExtendLifecycleESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetExtendLifecycle() {
+ return extendLifecycleESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JavabeanPackage.BINDINGS_TYPE__GROUP:
+ return ((InternalEList<?>)getGroup()).basicRemove(otherEnd, msgs);
+ case JavabeanPackage.BINDINGS_TYPE__VALUE:
+ return ((InternalEList<?>)getValue()).basicRemove(otherEnd, msgs);
+ case JavabeanPackage.BINDINGS_TYPE__WIRING:
+ return ((InternalEList<?>)getWiring()).basicRemove(otherEnd, msgs);
+ case JavabeanPackage.BINDINGS_TYPE__EXPRESSION:
+ return ((InternalEList<?>)getExpression()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JavabeanPackage.BINDINGS_TYPE__GROUP:
+ if (coreType) return getGroup();
+ return ((FeatureMap.Internal)getGroup()).getWrapper();
+ case JavabeanPackage.BINDINGS_TYPE__VALUE:
+ return getValue();
+ case JavabeanPackage.BINDINGS_TYPE__WIRING:
+ return getWiring();
+ case JavabeanPackage.BINDINGS_TYPE__EXPRESSION:
+ return getExpression();
+ case JavabeanPackage.BINDINGS_TYPE__BEAN_ID:
+ return getBeanId();
+ case JavabeanPackage.BINDINGS_TYPE__CLASS:
+ return getClass_();
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT:
+ return getCreateOnElement();
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT_NS:
+ return getCreateOnElementNS();
+ case JavabeanPackage.BINDINGS_TYPE__EXTEND_LIFECYCLE:
+ return isExtendLifecycle() ? Boolean.TRUE : Boolean.FALSE;
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JavabeanPackage.BINDINGS_TYPE__GROUP:
+ ((FeatureMap.Internal)getGroup()).set(newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__VALUE:
+ getValue().clear();
+ getValue().addAll((Collection<? extends ValueType>)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__WIRING:
+ getWiring().clear();
+ getWiring().addAll((Collection<? extends WiringType>)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__EXPRESSION:
+ getExpression().clear();
+ getExpression().addAll((Collection<? extends ExpressionType>)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__BEAN_ID:
+ setBeanId((String)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__CLASS:
+ setClass((String)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT:
+ setCreateOnElement((String)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT_NS:
+ setCreateOnElementNS((String)newValue);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__EXTEND_LIFECYCLE:
+ setExtendLifecycle(((Boolean)newValue).booleanValue());
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.BINDINGS_TYPE__GROUP:
+ getGroup().clear();
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__VALUE:
+ getValue().clear();
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__WIRING:
+ getWiring().clear();
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__EXPRESSION:
+ getExpression().clear();
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__BEAN_ID:
+ setBeanId(BEAN_ID_EDEFAULT);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__CLASS:
+ setClass(CLASS_EDEFAULT);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT:
+ setCreateOnElement(CREATE_ON_ELEMENT_EDEFAULT);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT_NS:
+ setCreateOnElementNS(CREATE_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ case JavabeanPackage.BINDINGS_TYPE__EXTEND_LIFECYCLE:
+ unsetExtendLifecycle();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.BINDINGS_TYPE__GROUP:
+ return group != null && !group.isEmpty();
+ case JavabeanPackage.BINDINGS_TYPE__VALUE:
+ return !getValue().isEmpty();
+ case JavabeanPackage.BINDINGS_TYPE__WIRING:
+ return !getWiring().isEmpty();
+ case JavabeanPackage.BINDINGS_TYPE__EXPRESSION:
+ return !getExpression().isEmpty();
+ case JavabeanPackage.BINDINGS_TYPE__BEAN_ID:
+ return BEAN_ID_EDEFAULT == null ? beanId != null : !BEAN_ID_EDEFAULT.equals(beanId);
+ case JavabeanPackage.BINDINGS_TYPE__CLASS:
+ return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_);
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT:
+ return CREATE_ON_ELEMENT_EDEFAULT == null ? createOnElement != null : !CREATE_ON_ELEMENT_EDEFAULT.equals(createOnElement);
+ case JavabeanPackage.BINDINGS_TYPE__CREATE_ON_ELEMENT_NS:
+ return CREATE_ON_ELEMENT_NS_EDEFAULT == null ? createOnElementNS != null : !CREATE_ON_ELEMENT_NS_EDEFAULT.equals(createOnElementNS);
+ case JavabeanPackage.BINDINGS_TYPE__EXTEND_LIFECYCLE:
+ return isSetExtendLifecycle();
+ }
+ 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(" (group: ");
+ result.append(group);
+ result.append(", beanId: ");
+ result.append(beanId);
+ result.append(", class: ");
+ result.append(class_);
+ result.append(", createOnElement: ");
+ result.append(createOnElement);
+ result.append(", createOnElementNS: ");
+ result.append(createOnElementNS);
+ result.append(", extendLifecycle: ");
+ if (extendLifecycleESet) result.append(extendLifecycle); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //BindingsTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/BindingsTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DecodeParamTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DecodeParamTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DecodeParamTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,222 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.javabean.DecodeParamType;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Decode Param Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DecodeParamTypeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DecodeParamTypeImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DecodeParamTypeImpl extends AbstractAnyTypeImpl implements DecodeParamType {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DecodeParamTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JavabeanPackage.Literals.DECODE_PARAM_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.DECODE_PARAM_TYPE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.DECODE_PARAM_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JavabeanPackage.DECODE_PARAM_TYPE__VALUE:
+ return getValue();
+ case JavabeanPackage.DECODE_PARAM_TYPE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JavabeanPackage.DECODE_PARAM_TYPE__VALUE:
+ setValue((String)newValue);
+ return;
+ case JavabeanPackage.DECODE_PARAM_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.DECODE_PARAM_TYPE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case JavabeanPackage.DECODE_PARAM_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.DECODE_PARAM_TYPE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case JavabeanPackage.DECODE_PARAM_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (value: ");
+ result.append(value);
+ result.append(", name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DecodeParamTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DecodeParamTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DocumentRootImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DocumentRootImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DocumentRootImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,450 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.BindingsType;
+import org.jboss.tools.smooks.model.javabean.DecodeParamType;
+import org.jboss.tools.smooks.model.javabean.DocumentRoot;
+import org.jboss.tools.smooks.model.javabean.ExpressionType;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.ValueType;
+import org.jboss.tools.smooks.model.javabean.WiringType;
+
+/**
+ * <!-- 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.javabean.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getBindings <em>Bindings</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getDecodeParam <em>Decode Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getExpression <em>Expression</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.DocumentRootImpl#getWiring <em>Wiring</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * 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 DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JavabeanPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, JavabeanPackage.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, JavabeanPackage.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, JavabeanPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindingsType getBindings() {
+ return (BindingsType)getMixed().get(JavabeanPackage.Literals.DOCUMENT_ROOT__BINDINGS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBindings(BindingsType newBindings, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(JavabeanPackage.Literals.DOCUMENT_ROOT__BINDINGS, newBindings, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindings(BindingsType newBindings) {
+ ((FeatureMap.Internal)getMixed()).set(JavabeanPackage.Literals.DOCUMENT_ROOT__BINDINGS, newBindings);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DecodeParamType getDecodeParam() {
+ return (DecodeParamType)getMixed().get(JavabeanPackage.Literals.DOCUMENT_ROOT__DECODE_PARAM, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDecodeParam(DecodeParamType newDecodeParam, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(JavabeanPackage.Literals.DOCUMENT_ROOT__DECODE_PARAM, newDecodeParam, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDecodeParam(DecodeParamType newDecodeParam) {
+ ((FeatureMap.Internal)getMixed()).set(JavabeanPackage.Literals.DOCUMENT_ROOT__DECODE_PARAM, newDecodeParam);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionType getExpression() {
+ return (ExpressionType)getMixed().get(JavabeanPackage.Literals.DOCUMENT_ROOT__EXPRESSION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetExpression(ExpressionType newExpression, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(JavabeanPackage.Literals.DOCUMENT_ROOT__EXPRESSION, newExpression, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExpression(ExpressionType newExpression) {
+ ((FeatureMap.Internal)getMixed()).set(JavabeanPackage.Literals.DOCUMENT_ROOT__EXPRESSION, newExpression);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueType getValue() {
+ return (ValueType)getMixed().get(JavabeanPackage.Literals.DOCUMENT_ROOT__VALUE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValue(ValueType newValue, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(JavabeanPackage.Literals.DOCUMENT_ROOT__VALUE, newValue, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(ValueType newValue) {
+ ((FeatureMap.Internal)getMixed()).set(JavabeanPackage.Literals.DOCUMENT_ROOT__VALUE, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public WiringType getWiring() {
+ return (WiringType)getMixed().get(JavabeanPackage.Literals.DOCUMENT_ROOT__WIRING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetWiring(WiringType newWiring, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(JavabeanPackage.Literals.DOCUMENT_ROOT__WIRING, newWiring, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWiring(WiringType newWiring) {
+ ((FeatureMap.Internal)getMixed()).set(JavabeanPackage.Literals.DOCUMENT_ROOT__WIRING, newWiring);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JavabeanPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__BINDINGS:
+ return basicSetBindings(null, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__DECODE_PARAM:
+ return basicSetDecodeParam(null, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__EXPRESSION:
+ return basicSetExpression(null, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__VALUE:
+ return basicSetValue(null, msgs);
+ case JavabeanPackage.DOCUMENT_ROOT__WIRING:
+ return basicSetWiring(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 JavabeanPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case JavabeanPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case JavabeanPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case JavabeanPackage.DOCUMENT_ROOT__BINDINGS:
+ return getBindings();
+ case JavabeanPackage.DOCUMENT_ROOT__DECODE_PARAM:
+ return getDecodeParam();
+ case JavabeanPackage.DOCUMENT_ROOT__EXPRESSION:
+ return getExpression();
+ case JavabeanPackage.DOCUMENT_ROOT__VALUE:
+ return getValue();
+ case JavabeanPackage.DOCUMENT_ROOT__WIRING:
+ return getWiring();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JavabeanPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__BINDINGS:
+ setBindings((BindingsType)newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__DECODE_PARAM:
+ setDecodeParam((DecodeParamType)newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__EXPRESSION:
+ setExpression((ExpressionType)newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__VALUE:
+ setValue((ValueType)newValue);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__WIRING:
+ setWiring((WiringType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__BINDINGS:
+ setBindings((BindingsType)null);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__DECODE_PARAM:
+ setDecodeParam((DecodeParamType)null);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__EXPRESSION:
+ setExpression((ExpressionType)null);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__VALUE:
+ setValue((ValueType)null);
+ return;
+ case JavabeanPackage.DOCUMENT_ROOT__WIRING:
+ setWiring((WiringType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case JavabeanPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case JavabeanPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case JavabeanPackage.DOCUMENT_ROOT__BINDINGS:
+ return getBindings() != null;
+ case JavabeanPackage.DOCUMENT_ROOT__DECODE_PARAM:
+ return getDecodeParam() != null;
+ case JavabeanPackage.DOCUMENT_ROOT__EXPRESSION:
+ return getExpression() != null;
+ case JavabeanPackage.DOCUMENT_ROOT__VALUE:
+ return getValue() != null;
+ case JavabeanPackage.DOCUMENT_ROOT__WIRING:
+ return getWiring() != 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();
+ }
+
+} //DocumentRootImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/DocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ExpressionTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ExpressionTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ExpressionTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,384 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.javabean.ExpressionType;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Expression Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl#getExecOnElement <em>Exec On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl#getExecOnElementNS <em>Exec On Element NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ExpressionTypeImpl#getSetterMethod <em>Setter Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ExpressionTypeImpl extends AbstractAnyTypeImpl implements ExpressionType {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getExecOnElement() <em>Exec On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExecOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXEC_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getExecOnElement() <em>Exec On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExecOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String execOnElement = EXEC_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getExecOnElementNS() <em>Exec On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExecOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String EXEC_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getExecOnElementNS() <em>Exec On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getExecOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String execOnElementNS = EXEC_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProperty() <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROPERTY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected String property = PROPERTY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSetterMethod() <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetterMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String SETTER_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSetterMethod() <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetterMethod()
+ * @generated
+ * @ordered
+ */
+ protected String setterMethod = SETTER_METHOD_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ExpressionTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JavabeanPackage.Literals.EXPRESSION_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.EXPRESSION_TYPE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExecOnElement() {
+ return execOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExecOnElement(String newExecOnElement) {
+ String oldExecOnElement = execOnElement;
+ execOnElement = newExecOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT, oldExecOnElement, execOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getExecOnElementNS() {
+ return execOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setExecOnElementNS(String newExecOnElementNS) {
+ String oldExecOnElementNS = execOnElementNS;
+ execOnElementNS = newExecOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS, oldExecOnElementNS, execOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProperty() {
+ return property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProperty(String newProperty) {
+ String oldProperty = property;
+ property = newProperty;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.EXPRESSION_TYPE__PROPERTY, oldProperty, property));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSetterMethod() {
+ return setterMethod;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSetterMethod(String newSetterMethod) {
+ String oldSetterMethod = setterMethod;
+ setterMethod = newSetterMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.EXPRESSION_TYPE__SETTER_METHOD, oldSetterMethod, setterMethod));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JavabeanPackage.EXPRESSION_TYPE__VALUE:
+ return getValue();
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT:
+ return getExecOnElement();
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS:
+ return getExecOnElementNS();
+ case JavabeanPackage.EXPRESSION_TYPE__PROPERTY:
+ return getProperty();
+ case JavabeanPackage.EXPRESSION_TYPE__SETTER_METHOD:
+ return getSetterMethod();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JavabeanPackage.EXPRESSION_TYPE__VALUE:
+ setValue((String)newValue);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT:
+ setExecOnElement((String)newValue);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS:
+ setExecOnElementNS((String)newValue);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__PROPERTY:
+ setProperty((String)newValue);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__SETTER_METHOD:
+ setSetterMethod((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.EXPRESSION_TYPE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT:
+ setExecOnElement(EXEC_ON_ELEMENT_EDEFAULT);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS:
+ setExecOnElementNS(EXEC_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__PROPERTY:
+ setProperty(PROPERTY_EDEFAULT);
+ return;
+ case JavabeanPackage.EXPRESSION_TYPE__SETTER_METHOD:
+ setSetterMethod(SETTER_METHOD_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.EXPRESSION_TYPE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT:
+ return EXEC_ON_ELEMENT_EDEFAULT == null ? execOnElement != null : !EXEC_ON_ELEMENT_EDEFAULT.equals(execOnElement);
+ case JavabeanPackage.EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS:
+ return EXEC_ON_ELEMENT_NS_EDEFAULT == null ? execOnElementNS != null : !EXEC_ON_ELEMENT_NS_EDEFAULT.equals(execOnElementNS);
+ case JavabeanPackage.EXPRESSION_TYPE__PROPERTY:
+ return PROPERTY_EDEFAULT == null ? property != null : !PROPERTY_EDEFAULT.equals(property);
+ case JavabeanPackage.EXPRESSION_TYPE__SETTER_METHOD:
+ return SETTER_METHOD_EDEFAULT == null ? setterMethod != null : !SETTER_METHOD_EDEFAULT.equals(setterMethod);
+ }
+ 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(" (value: ");
+ result.append(value);
+ result.append(", execOnElement: ");
+ result.append(execOnElement);
+ result.append(", execOnElementNS: ");
+ result.append(execOnElementNS);
+ result.append(", property: ");
+ result.append(property);
+ result.append(", setterMethod: ");
+ result.append(setterMethod);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ExpressionTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ExpressionTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,154 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class JavabeanFactoryImpl extends EFactoryImpl implements JavabeanFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static JavabeanFactory init() {
+ try {
+ JavabeanFactory theJavabeanFactory = (JavabeanFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/xsd/smooks/javabean-1.1.xsd");
+ if (theJavabeanFactory != null) {
+ return theJavabeanFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new JavabeanFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case JavabeanPackage.BINDINGS_TYPE: return createBindingsType();
+ case JavabeanPackage.DECODE_PARAM_TYPE: return createDecodeParamType();
+ case JavabeanPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case JavabeanPackage.EXPRESSION_TYPE: return createExpressionType();
+ case JavabeanPackage.VALUE_TYPE: return createValueType();
+ case JavabeanPackage.WIRING_TYPE: return createWiringType();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindingsType createBindingsType() {
+ BindingsTypeImpl bindingsType = new BindingsTypeImpl();
+ return bindingsType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DecodeParamType createDecodeParamType() {
+ DecodeParamTypeImpl decodeParamType = new DecodeParamTypeImpl();
+ return decodeParamType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionType createExpressionType() {
+ ExpressionTypeImpl expressionType = new ExpressionTypeImpl();
+ return expressionType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueType createValueType() {
+ ValueTypeImpl valueType = new ValueTypeImpl();
+ return valueType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public WiringType createWiringType() {
+ WiringTypeImpl wiringType = new WiringTypeImpl();
+ return wiringType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanPackage getJavabeanPackage() {
+ return (JavabeanPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static JavabeanPackage getPackage() {
+ return JavabeanPackage.eINSTANCE;
+ }
+
+} //JavabeanFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanPackageImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanPackageImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanPackageImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,1031 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.BindingsType;
+import org.jboss.tools.smooks.model.javabean.DecodeParamType;
+import org.jboss.tools.smooks.model.javabean.DocumentRoot;
+import org.jboss.tools.smooks.model.javabean.ExpressionType;
+import org.jboss.tools.smooks.model.javabean.JavabeanFactory;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.ValueType;
+import org.jboss.tools.smooks.model.javabean.WiringType;
+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 JavabeanPackageImpl extends EPackageImpl implements JavabeanPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bindingsTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass decodeParamTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass expressionTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass valueTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass wiringTypeEClass = 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.javabean.JavabeanPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private JavabeanPackageImpl() {
+ super(eNS_URI, JavabeanFactory.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 JavabeanPackage init() {
+ if (isInited) return (JavabeanPackage)EPackage.Registry.INSTANCE.getEPackage(JavabeanPackage.eNS_URI);
+
+ // Obtain or create and register package
+ JavabeanPackageImpl theJavabeanPackage = (JavabeanPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof JavabeanPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new JavabeanPackageImpl());
+
+ 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
+ theJavabeanPackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theJavabeanPackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theJavabeanPackage.freeze();
+
+ return theJavabeanPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBindingsType() {
+ return bindingsTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingsType_Group() {
+ return (EAttribute)bindingsTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBindingsType_Value() {
+ return (EReference)bindingsTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBindingsType_Wiring() {
+ return (EReference)bindingsTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getBindingsType_Expression() {
+ return (EReference)bindingsTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingsType_BeanId() {
+ return (EAttribute)bindingsTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingsType_Class() {
+ return (EAttribute)bindingsTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingsType_CreateOnElement() {
+ return (EAttribute)bindingsTypeEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingsType_CreateOnElementNS() {
+ return (EAttribute)bindingsTypeEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindingsType_ExtendLifecycle() {
+ return (EAttribute)bindingsTypeEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDecodeParamType() {
+ return decodeParamTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDecodeParamType_Value() {
+ return (EAttribute)decodeParamTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDecodeParamType_Name() {
+ return (EAttribute)decodeParamTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Bindings() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_DecodeParam() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Expression() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Value() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Wiring() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getExpressionType() {
+ return expressionTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExpressionType_Value() {
+ return (EAttribute)expressionTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExpressionType_ExecOnElement() {
+ return (EAttribute)expressionTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExpressionType_ExecOnElementNS() {
+ return (EAttribute)expressionTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExpressionType_Property() {
+ return (EAttribute)expressionTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getExpressionType_SetterMethod() {
+ return (EAttribute)expressionTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getValueType() {
+ return valueTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getValueType_DecodeParam() {
+ return (EReference)valueTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getValueType_Data() {
+ return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getValueType_DataNS() {
+ return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getValueType_Decoder() {
+ return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getValueType_Default() {
+ return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getValueType_Property() {
+ return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getValueType_SetterMethod() {
+ return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getWiringType() {
+ return wiringTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getWiringType_BeanIdRef() {
+ return (EAttribute)wiringTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getWiringType_Property() {
+ return (EAttribute)wiringTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getWiringType_SetterMethod() {
+ return (EAttribute)wiringTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getWiringType_WireOnElement() {
+ return (EAttribute)wiringTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getWiringType_WireOnElementNS() {
+ return (EAttribute)wiringTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanFactory getJavabeanFactory() {
+ return (JavabeanFactory)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
+ bindingsTypeEClass = createEClass(BINDINGS_TYPE);
+ createEAttribute(bindingsTypeEClass, BINDINGS_TYPE__GROUP);
+ createEReference(bindingsTypeEClass, BINDINGS_TYPE__VALUE);
+ createEReference(bindingsTypeEClass, BINDINGS_TYPE__WIRING);
+ createEReference(bindingsTypeEClass, BINDINGS_TYPE__EXPRESSION);
+ createEAttribute(bindingsTypeEClass, BINDINGS_TYPE__BEAN_ID);
+ createEAttribute(bindingsTypeEClass, BINDINGS_TYPE__CLASS);
+ createEAttribute(bindingsTypeEClass, BINDINGS_TYPE__CREATE_ON_ELEMENT);
+ createEAttribute(bindingsTypeEClass, BINDINGS_TYPE__CREATE_ON_ELEMENT_NS);
+ createEAttribute(bindingsTypeEClass, BINDINGS_TYPE__EXTEND_LIFECYCLE);
+
+ decodeParamTypeEClass = createEClass(DECODE_PARAM_TYPE);
+ createEAttribute(decodeParamTypeEClass, DECODE_PARAM_TYPE__VALUE);
+ createEAttribute(decodeParamTypeEClass, DECODE_PARAM_TYPE__NAME);
+
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__BINDINGS);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__DECODE_PARAM);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__EXPRESSION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__VALUE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__WIRING);
+
+ expressionTypeEClass = createEClass(EXPRESSION_TYPE);
+ createEAttribute(expressionTypeEClass, EXPRESSION_TYPE__VALUE);
+ createEAttribute(expressionTypeEClass, EXPRESSION_TYPE__EXEC_ON_ELEMENT);
+ createEAttribute(expressionTypeEClass, EXPRESSION_TYPE__EXEC_ON_ELEMENT_NS);
+ createEAttribute(expressionTypeEClass, EXPRESSION_TYPE__PROPERTY);
+ createEAttribute(expressionTypeEClass, EXPRESSION_TYPE__SETTER_METHOD);
+
+ valueTypeEClass = createEClass(VALUE_TYPE);
+ createEReference(valueTypeEClass, VALUE_TYPE__DECODE_PARAM);
+ createEAttribute(valueTypeEClass, VALUE_TYPE__DATA);
+ createEAttribute(valueTypeEClass, VALUE_TYPE__DATA_NS);
+ createEAttribute(valueTypeEClass, VALUE_TYPE__DECODER);
+ createEAttribute(valueTypeEClass, VALUE_TYPE__DEFAULT);
+ createEAttribute(valueTypeEClass, VALUE_TYPE__PROPERTY);
+ createEAttribute(valueTypeEClass, VALUE_TYPE__SETTER_METHOD);
+
+ wiringTypeEClass = createEClass(WIRING_TYPE);
+ createEAttribute(wiringTypeEClass, WIRING_TYPE__BEAN_ID_REF);
+ createEAttribute(wiringTypeEClass, WIRING_TYPE__PROPERTY);
+ createEAttribute(wiringTypeEClass, WIRING_TYPE__SETTER_METHOD);
+ createEAttribute(wiringTypeEClass, WIRING_TYPE__WIRE_ON_ELEMENT);
+ createEAttribute(wiringTypeEClass, WIRING_TYPE__WIRE_ON_ELEMENT_NS);
+ }
+
+ /**
+ * <!-- 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);
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ bindingsTypeEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+ decodeParamTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ expressionTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ valueTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ wiringTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(bindingsTypeEClass, BindingsType.class, "BindingsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBindingsType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, BindingsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getBindingsType_Value(), this.getValueType(), null, "value", null, 0, -1, BindingsType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getBindingsType_Wiring(), this.getWiringType(), null, "wiring", null, 0, -1, BindingsType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getBindingsType_Expression(), this.getExpressionType(), null, "expression", null, 0, -1, BindingsType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEAttribute(getBindingsType_BeanId(), theXMLTypePackage.getString(), "beanId", null, 1, 1, BindingsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getBindingsType_Class(), theXMLTypePackage.getString(), "class", null, 1, 1, BindingsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getBindingsType_CreateOnElement(), theXMLTypePackage.getString(), "createOnElement", null, 0, 1, BindingsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getBindingsType_CreateOnElementNS(), theXMLTypePackage.getAnyURI(), "createOnElementNS", null, 0, 1, BindingsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getBindingsType_ExtendLifecycle(), theXMLTypePackage.getBoolean(), "extendLifecycle", null, 0, 1, BindingsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(decodeParamTypeEClass, DecodeParamType.class, "DecodeParamType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDecodeParamType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, DecodeParamType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getDecodeParamType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, DecodeParamType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_Bindings(), this.getBindingsType(), null, "bindings", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_DecodeParam(), this.getDecodeParamType(), null, "decodeParam", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Expression(), this.getExpressionType(), null, "expression", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Value(), this.getValueType(), null, "value", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Wiring(), this.getWiringType(), null, "wiring", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(expressionTypeEClass, ExpressionType.class, "ExpressionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getExpressionType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, ExpressionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getExpressionType_ExecOnElement(), theXMLTypePackage.getString(), "execOnElement", null, 0, 1, ExpressionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getExpressionType_ExecOnElementNS(), theXMLTypePackage.getAnyURI(), "execOnElementNS", null, 0, 1, ExpressionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getExpressionType_Property(), theXMLTypePackage.getString(), "property", null, 0, 1, ExpressionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getExpressionType_SetterMethod(), theXMLTypePackage.getString(), "setterMethod", null, 0, 1, ExpressionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(valueTypeEClass, ValueType.class, "ValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getValueType_DecodeParam(), this.getDecodeParamType(), null, "decodeParam", null, 0, -1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getValueType_Data(), theXMLTypePackage.getString(), "data", null, 1, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getValueType_DataNS(), theXMLTypePackage.getAnyURI(), "dataNS", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getValueType_Decoder(), theXMLTypePackage.getString(), "decoder", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getValueType_Default(), theXMLTypePackage.getString(), "default", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getValueType_Property(), theXMLTypePackage.getString(), "property", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getValueType_SetterMethod(), theXMLTypePackage.getString(), "setterMethod", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(wiringTypeEClass, WiringType.class, "WiringType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getWiringType_BeanIdRef(), theXMLTypePackage.getString(), "beanIdRef", null, 1, 1, WiringType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getWiringType_Property(), theXMLTypePackage.getString(), "property", null, 0, 1, WiringType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getWiringType_SetterMethod(), theXMLTypePackage.getString(), "setterMethod", null, 0, 1, WiringType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getWiringType_WireOnElement(), theXMLTypePackage.getString(), "wireOnElement", null, 0, 1, WiringType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getWiringType_WireOnElementNS(), theXMLTypePackage.getAnyURI(), "wireOnElementNS", null, 0, 1, WiringType.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
+ (bindingsTypeEClass,
+ source,
+ new String[] {
+ "name", "bindings_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getBindingsType_Group(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "group:2"
+ });
+ addAnnotation
+ (getBindingsType_Value(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "value",
+ "namespace", "##targetNamespace",
+ "group", "#group:2"
+ });
+ addAnnotation
+ (getBindingsType_Wiring(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "wiring",
+ "namespace", "##targetNamespace",
+ "group", "#group:2"
+ });
+ addAnnotation
+ (getBindingsType_Expression(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "expression",
+ "namespace", "##targetNamespace",
+ "group", "#group:2"
+ });
+ addAnnotation
+ (getBindingsType_BeanId(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "beanId"
+ });
+ addAnnotation
+ (getBindingsType_Class(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "class"
+ });
+ addAnnotation
+ (getBindingsType_CreateOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "createOnElement"
+ });
+ addAnnotation
+ (getBindingsType_CreateOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "createOnElementNS"
+ });
+ addAnnotation
+ (getBindingsType_ExtendLifecycle(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "extendLifecycle"
+ });
+ addAnnotation
+ (decodeParamTypeEClass,
+ source,
+ new String[] {
+ "name", "decodeParam_._type",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getDecodeParamType_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getDecodeParamType_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_Bindings(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "bindings",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (getDocumentRoot_DecodeParam(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "decodeParam",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Expression(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "expression",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Value(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "value",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Wiring(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "wiring",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (expressionTypeEClass,
+ source,
+ new String[] {
+ "name", "expression_._type",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getExpressionType_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getExpressionType_ExecOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "execOnElement"
+ });
+ addAnnotation
+ (getExpressionType_ExecOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "execOnElementNS"
+ });
+ addAnnotation
+ (getExpressionType_Property(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "property"
+ });
+ addAnnotation
+ (getExpressionType_SetterMethod(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "setterMethod"
+ });
+ addAnnotation
+ (valueTypeEClass,
+ source,
+ new String[] {
+ "name", "value_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getValueType_DecodeParam(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "decodeParam",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getValueType_Data(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "data"
+ });
+ addAnnotation
+ (getValueType_DataNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "dataNS"
+ });
+ addAnnotation
+ (getValueType_Decoder(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "decoder"
+ });
+ addAnnotation
+ (getValueType_Default(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "default"
+ });
+ addAnnotation
+ (getValueType_Property(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "property"
+ });
+ addAnnotation
+ (getValueType_SetterMethod(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "setterMethod"
+ });
+ addAnnotation
+ (wiringTypeEClass,
+ source,
+ new String[] {
+ "name", "wiring_._type",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getWiringType_BeanIdRef(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "beanIdRef"
+ });
+ addAnnotation
+ (getWiringType_Property(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "property"
+ });
+ addAnnotation
+ (getWiringType_SetterMethod(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "setterMethod"
+ });
+ addAnnotation
+ (getWiringType_WireOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "wireOnElement"
+ });
+ addAnnotation
+ (getWiringType_WireOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "wireOnElementNS"
+ });
+ }
+
+} //JavabeanPackageImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/JavabeanPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ValueTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ValueTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ValueTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,497 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.impl;
+
+
+import java.util.Collection;
+
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.javabean.DecodeParamType;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.ValueType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Value Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getDecodeParam <em>Decode Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getData <em>Data</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getDataNS <em>Data NS</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getDecoder <em>Decoder</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getDefault <em>Default</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.ValueTypeImpl#getSetterMethod <em>Setter Method</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ValueTypeImpl extends AbstractAnyTypeImpl implements ValueType {
+ /**
+ * The cached value of the '{@link #getDecodeParam() <em>Decode Param</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDecodeParam()
+ * @generated
+ * @ordered
+ */
+ protected EList<DecodeParamType> decodeParam;
+
+ /**
+ * The default value of the '{@link #getData() <em>Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getData()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATA_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getData() <em>Data</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getData()
+ * @generated
+ * @ordered
+ */
+ protected String data = DATA_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDataNS() <em>Data NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String DATA_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDataNS() <em>Data NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDataNS()
+ * @generated
+ * @ordered
+ */
+ protected String dataNS = DATA_NS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDecoder() <em>Decoder</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDecoder()
+ * @generated
+ * @ordered
+ */
+ protected static final String DECODER_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDecoder() <em>Decoder</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDecoder()
+ * @generated
+ * @ordered
+ */
+ protected String decoder = DECODER_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDefault() <em>Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDefault() <em>Default</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefault()
+ * @generated
+ * @ordered
+ */
+ protected String default_ = DEFAULT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProperty() <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROPERTY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected String property = PROPERTY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSetterMethod() <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetterMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String SETTER_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSetterMethod() <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetterMethod()
+ * @generated
+ * @ordered
+ */
+ protected String setterMethod = SETTER_METHOD_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ValueTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JavabeanPackage.Literals.VALUE_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<DecodeParamType> getDecodeParam() {
+ if (decodeParam == null) {
+ decodeParam = new EObjectContainmentEList<DecodeParamType>(DecodeParamType.class, this, JavabeanPackage.VALUE_TYPE__DECODE_PARAM);
+ }
+ return decodeParam;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getData() {
+ return data;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setData(String newData) {
+ String oldData = data;
+ data = newData;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.VALUE_TYPE__DATA, oldData, data));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDataNS() {
+ return dataNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDataNS(String newDataNS) {
+ String oldDataNS = dataNS;
+ dataNS = newDataNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.VALUE_TYPE__DATA_NS, oldDataNS, dataNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDecoder() {
+ return decoder;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDecoder(String newDecoder) {
+ String oldDecoder = decoder;
+ decoder = newDecoder;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.VALUE_TYPE__DECODER, oldDecoder, decoder));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefault() {
+ return default_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefault(String newDefault) {
+ String oldDefault = default_;
+ default_ = newDefault;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.VALUE_TYPE__DEFAULT, oldDefault, default_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProperty() {
+ return property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProperty(String newProperty) {
+ String oldProperty = property;
+ property = newProperty;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.VALUE_TYPE__PROPERTY, oldProperty, property));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSetterMethod() {
+ return setterMethod;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSetterMethod(String newSetterMethod) {
+ String oldSetterMethod = setterMethod;
+ setterMethod = newSetterMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.VALUE_TYPE__SETTER_METHOD, oldSetterMethod, setterMethod));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case JavabeanPackage.VALUE_TYPE__DECODE_PARAM:
+ return ((InternalEList<?>)getDecodeParam()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JavabeanPackage.VALUE_TYPE__DECODE_PARAM:
+ return getDecodeParam();
+ case JavabeanPackage.VALUE_TYPE__DATA:
+ return getData();
+ case JavabeanPackage.VALUE_TYPE__DATA_NS:
+ return getDataNS();
+ case JavabeanPackage.VALUE_TYPE__DECODER:
+ return getDecoder();
+ case JavabeanPackage.VALUE_TYPE__DEFAULT:
+ return getDefault();
+ case JavabeanPackage.VALUE_TYPE__PROPERTY:
+ return getProperty();
+ case JavabeanPackage.VALUE_TYPE__SETTER_METHOD:
+ return getSetterMethod();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JavabeanPackage.VALUE_TYPE__DECODE_PARAM:
+ getDecodeParam().clear();
+ getDecodeParam().addAll((Collection<? extends DecodeParamType>)newValue);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DATA:
+ setData((String)newValue);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DATA_NS:
+ setDataNS((String)newValue);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DECODER:
+ setDecoder((String)newValue);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DEFAULT:
+ setDefault((String)newValue);
+ return;
+ case JavabeanPackage.VALUE_TYPE__PROPERTY:
+ setProperty((String)newValue);
+ return;
+ case JavabeanPackage.VALUE_TYPE__SETTER_METHOD:
+ setSetterMethod((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.VALUE_TYPE__DECODE_PARAM:
+ getDecodeParam().clear();
+ return;
+ case JavabeanPackage.VALUE_TYPE__DATA:
+ setData(DATA_EDEFAULT);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DATA_NS:
+ setDataNS(DATA_NS_EDEFAULT);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DECODER:
+ setDecoder(DECODER_EDEFAULT);
+ return;
+ case JavabeanPackage.VALUE_TYPE__DEFAULT:
+ setDefault(DEFAULT_EDEFAULT);
+ return;
+ case JavabeanPackage.VALUE_TYPE__PROPERTY:
+ setProperty(PROPERTY_EDEFAULT);
+ return;
+ case JavabeanPackage.VALUE_TYPE__SETTER_METHOD:
+ setSetterMethod(SETTER_METHOD_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.VALUE_TYPE__DECODE_PARAM:
+ return decodeParam != null && !decodeParam.isEmpty();
+ case JavabeanPackage.VALUE_TYPE__DATA:
+ return DATA_EDEFAULT == null ? data != null : !DATA_EDEFAULT.equals(data);
+ case JavabeanPackage.VALUE_TYPE__DATA_NS:
+ return DATA_NS_EDEFAULT == null ? dataNS != null : !DATA_NS_EDEFAULT.equals(dataNS);
+ case JavabeanPackage.VALUE_TYPE__DECODER:
+ return DECODER_EDEFAULT == null ? decoder != null : !DECODER_EDEFAULT.equals(decoder);
+ case JavabeanPackage.VALUE_TYPE__DEFAULT:
+ return DEFAULT_EDEFAULT == null ? default_ != null : !DEFAULT_EDEFAULT.equals(default_);
+ case JavabeanPackage.VALUE_TYPE__PROPERTY:
+ return PROPERTY_EDEFAULT == null ? property != null : !PROPERTY_EDEFAULT.equals(property);
+ case JavabeanPackage.VALUE_TYPE__SETTER_METHOD:
+ return SETTER_METHOD_EDEFAULT == null ? setterMethod != null : !SETTER_METHOD_EDEFAULT.equals(setterMethod);
+ }
+ 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(" (data: ");
+ result.append(data);
+ result.append(", dataNS: ");
+ result.append(dataNS);
+ result.append(", decoder: ");
+ result.append(decoder);
+ result.append(", default: ");
+ result.append(default_);
+ result.append(", property: ");
+ result.append(property);
+ result.append(", setterMethod: ");
+ result.append(setterMethod);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ValueTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/ValueTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/WiringTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/WiringTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/WiringTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,384 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.WiringType;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Wiring Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl#getBeanIdRef <em>Bean Id Ref</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl#getProperty <em>Property</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl#getSetterMethod <em>Setter Method</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl#getWireOnElement <em>Wire On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.javabean.impl.WiringTypeImpl#getWireOnElementNS <em>Wire On Element NS</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class WiringTypeImpl extends AbstractAnyTypeImpl implements WiringType {
+ /**
+ * The default value of the '{@link #getBeanIdRef() <em>Bean Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBeanIdRef()
+ * @generated
+ * @ordered
+ */
+ protected static final String BEAN_ID_REF_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBeanIdRef() <em>Bean Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBeanIdRef()
+ * @generated
+ * @ordered
+ */
+ protected String beanIdRef = BEAN_ID_REF_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getProperty() <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected static final String PROPERTY_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getProperty() <em>Property</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperty()
+ * @generated
+ * @ordered
+ */
+ protected String property = PROPERTY_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSetterMethod() <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetterMethod()
+ * @generated
+ * @ordered
+ */
+ protected static final String SETTER_METHOD_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSetterMethod() <em>Setter Method</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetterMethod()
+ * @generated
+ * @ordered
+ */
+ protected String setterMethod = SETTER_METHOD_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getWireOnElement() <em>Wire On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWireOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String WIRE_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getWireOnElement() <em>Wire On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWireOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String wireOnElement = WIRE_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getWireOnElementNS() <em>Wire On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWireOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String WIRE_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getWireOnElementNS() <em>Wire On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getWireOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String wireOnElementNS = WIRE_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected WiringTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return JavabeanPackage.Literals.WIRING_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBeanIdRef() {
+ return beanIdRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBeanIdRef(String newBeanIdRef) {
+ String oldBeanIdRef = beanIdRef;
+ beanIdRef = newBeanIdRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.WIRING_TYPE__BEAN_ID_REF, oldBeanIdRef, beanIdRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getProperty() {
+ return property;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProperty(String newProperty) {
+ String oldProperty = property;
+ property = newProperty;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.WIRING_TYPE__PROPERTY, oldProperty, property));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSetterMethod() {
+ return setterMethod;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSetterMethod(String newSetterMethod) {
+ String oldSetterMethod = setterMethod;
+ setterMethod = newSetterMethod;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.WIRING_TYPE__SETTER_METHOD, oldSetterMethod, setterMethod));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getWireOnElement() {
+ return wireOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWireOnElement(String newWireOnElement) {
+ String oldWireOnElement = wireOnElement;
+ wireOnElement = newWireOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT, oldWireOnElement, wireOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getWireOnElementNS() {
+ return wireOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setWireOnElementNS(String newWireOnElementNS) {
+ String oldWireOnElementNS = wireOnElementNS;
+ wireOnElementNS = newWireOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT_NS, oldWireOnElementNS, wireOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case JavabeanPackage.WIRING_TYPE__BEAN_ID_REF:
+ return getBeanIdRef();
+ case JavabeanPackage.WIRING_TYPE__PROPERTY:
+ return getProperty();
+ case JavabeanPackage.WIRING_TYPE__SETTER_METHOD:
+ return getSetterMethod();
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT:
+ return getWireOnElement();
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT_NS:
+ return getWireOnElementNS();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case JavabeanPackage.WIRING_TYPE__BEAN_ID_REF:
+ setBeanIdRef((String)newValue);
+ return;
+ case JavabeanPackage.WIRING_TYPE__PROPERTY:
+ setProperty((String)newValue);
+ return;
+ case JavabeanPackage.WIRING_TYPE__SETTER_METHOD:
+ setSetterMethod((String)newValue);
+ return;
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT:
+ setWireOnElement((String)newValue);
+ return;
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT_NS:
+ setWireOnElementNS((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.WIRING_TYPE__BEAN_ID_REF:
+ setBeanIdRef(BEAN_ID_REF_EDEFAULT);
+ return;
+ case JavabeanPackage.WIRING_TYPE__PROPERTY:
+ setProperty(PROPERTY_EDEFAULT);
+ return;
+ case JavabeanPackage.WIRING_TYPE__SETTER_METHOD:
+ setSetterMethod(SETTER_METHOD_EDEFAULT);
+ return;
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT:
+ setWireOnElement(WIRE_ON_ELEMENT_EDEFAULT);
+ return;
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT_NS:
+ setWireOnElementNS(WIRE_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case JavabeanPackage.WIRING_TYPE__BEAN_ID_REF:
+ return BEAN_ID_REF_EDEFAULT == null ? beanIdRef != null : !BEAN_ID_REF_EDEFAULT.equals(beanIdRef);
+ case JavabeanPackage.WIRING_TYPE__PROPERTY:
+ return PROPERTY_EDEFAULT == null ? property != null : !PROPERTY_EDEFAULT.equals(property);
+ case JavabeanPackage.WIRING_TYPE__SETTER_METHOD:
+ return SETTER_METHOD_EDEFAULT == null ? setterMethod != null : !SETTER_METHOD_EDEFAULT.equals(setterMethod);
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT:
+ return WIRE_ON_ELEMENT_EDEFAULT == null ? wireOnElement != null : !WIRE_ON_ELEMENT_EDEFAULT.equals(wireOnElement);
+ case JavabeanPackage.WIRING_TYPE__WIRE_ON_ELEMENT_NS:
+ return WIRE_ON_ELEMENT_NS_EDEFAULT == null ? wireOnElementNS != null : !WIRE_ON_ELEMENT_NS_EDEFAULT.equals(wireOnElementNS);
+ }
+ 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(" (beanIdRef: ");
+ result.append(beanIdRef);
+ result.append(", property: ");
+ result.append(property);
+ result.append(", setterMethod: ");
+ result.append(setterMethod);
+ result.append(", wireOnElement: ");
+ result.append(wireOnElement);
+ result.append(", wireOnElementNS: ");
+ result.append(wireOnElementNS);
+ result.append(')');
+ return result.toString();
+ }
+
+} //WiringTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/impl/WiringTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,293 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.*;
+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.javabean.JavabeanPackage
+ * @generated
+ */
+public class JavabeanAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static JavabeanPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = JavabeanPackage.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 JavabeanSwitch<Adapter> modelSwitch =
+ new JavabeanSwitch<Adapter>() {
+ @Override
+ public Adapter caseBindingsType(BindingsType object) {
+ return createBindingsTypeAdapter();
+ }
+ @Override
+ public Adapter caseDecodeParamType(DecodeParamType object) {
+ return createDecodeParamTypeAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseExpressionType(ExpressionType object) {
+ return createExpressionTypeAdapter();
+ }
+ @Override
+ public Adapter caseValueType(ValueType object) {
+ return createValueTypeAdapter();
+ }
+ @Override
+ public Adapter caseWiringType(WiringType object) {
+ return createWiringTypeAdapter();
+ }
+ @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.javabean.BindingsType <em>Bindings 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.javabean.BindingsType
+ * @generated
+ */
+ public Adapter createBindingsTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.javabean.DecodeParamType <em>Decode Param 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.javabean.DecodeParamType
+ * @generated
+ */
+ public Adapter createDecodeParamTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.javabean.DocumentRoot <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.javabean.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.javabean.ExpressionType <em>Expression 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.javabean.ExpressionType
+ * @generated
+ */
+ public Adapter createExpressionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.javabean.ValueType <em>Value 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.javabean.ValueType
+ * @generated
+ */
+ public Adapter createValueTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.javabean.WiringType <em>Wiring 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.javabean.WiringType
+ * @generated
+ */
+ public Adapter createWiringTypeAdapter() {
+ 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;
+ }
+
+} //JavabeanAdapterFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.util.JavabeanResourceImpl
+ * @generated
+ */
+public class JavabeanResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new JavabeanResourceImpl(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;
+ }
+
+} //JavabeanResourceFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.util.JavabeanResourceFactoryImpl
+ * @generated
+ */
+public class JavabeanResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public JavabeanResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //JavabeanResourceImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,314 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.*;
+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.javabean.JavabeanPackage
+ * @generated
+ */
+public class JavabeanSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static JavabeanPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanSwitch() {
+ if (modelPackage == null) {
+ modelPackage = JavabeanPackage.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 JavabeanPackage.BINDINGS_TYPE: {
+ BindingsType bindingsType = (BindingsType)theEObject;
+ T result = caseBindingsType(bindingsType);
+ if (result == null) result = caseElementVisitor(bindingsType);
+ if (result == null) result = caseAbstractResourceConfig(bindingsType);
+ if (result == null) result = caseAbstractAnyType(bindingsType);
+ if (result == null) result = caseAnyType(bindingsType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JavabeanPackage.DECODE_PARAM_TYPE: {
+ DecodeParamType decodeParamType = (DecodeParamType)theEObject;
+ T result = caseDecodeParamType(decodeParamType);
+ if (result == null) result = caseAbstractAnyType(decodeParamType);
+ if (result == null) result = caseAnyType(decodeParamType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JavabeanPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JavabeanPackage.EXPRESSION_TYPE: {
+ ExpressionType expressionType = (ExpressionType)theEObject;
+ T result = caseExpressionType(expressionType);
+ if (result == null) result = caseAbstractAnyType(expressionType);
+ if (result == null) result = caseAnyType(expressionType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JavabeanPackage.VALUE_TYPE: {
+ ValueType valueType = (ValueType)theEObject;
+ T result = caseValueType(valueType);
+ if (result == null) result = caseAbstractAnyType(valueType);
+ if (result == null) result = caseAnyType(valueType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case JavabeanPackage.WIRING_TYPE: {
+ WiringType wiringType = (WiringType)theEObject;
+ T result = caseWiringType(wiringType);
+ if (result == null) result = caseAbstractAnyType(wiringType);
+ if (result == null) result = caseAnyType(wiringType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Bindings 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>Bindings Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBindingsType(BindingsType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Decode Param 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>Decode Param Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseDecodeParamType(DecodeParamType 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 caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Expression 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>Expression Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseExpressionType(ExpressionType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Value 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>Value Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseValueType(ValueType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Wiring 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>Wiring Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseWiringType(WiringType 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;
+ }
+
+} //JavabeanSwitch
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanXMLProcessor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanXMLProcessor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanXMLProcessor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.javabean.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.javabean.JavabeanPackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class JavabeanXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public JavabeanXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ JavabeanPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the JavabeanResourceFactoryImpl 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 JavabeanResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new JavabeanResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //JavabeanXMLProcessor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/javabean/util/JavabeanXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractReader.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractReader.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractReader.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Abstract Reader</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.AbstractReader#getTargetProfile <em>Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getAbstractReader()
+ * @model abstract="true"
+ * extendedMetaData="name='abstract-reader' kind='empty'"
+ * @generated
+ */
+public interface AbstractReader extends AbstractResourceConfig {
+ /**
+ * Returns the value of the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Profile</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Profile</em>' attribute.
+ * @see #setTargetProfile(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getAbstractReader_TargetProfile()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='targetProfile'"
+ * @generated
+ */
+ String getTargetProfile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.AbstractReader#getTargetProfile <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Profile</em>' attribute.
+ * @see #getTargetProfile()
+ * @generated
+ */
+ void setTargetProfile(String value);
+
+} // AbstractReader
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractReader.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractResourceConfig.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractResourceConfig.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractResourceConfig.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,23 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Abstract Resource Config</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getAbstractResourceConfig()
+ * @model abstract="true"
+ * extendedMetaData="name='abstract-resource-config' kind='empty'"
+ * @generated
+ */
+public interface AbstractResourceConfig extends AbstractAnyType {
+} // AbstractResourceConfig
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/AbstractResourceConfig.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,171 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Condition Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Resource Targetting Condition
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ConditionType#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ConditionType#getEvaluator <em>Evaluator</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ConditionType#getId <em>Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ConditionType#getIdRef <em>Id Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionType()
+ * @model extendedMetaData="name='condition_._type' kind='simple'"
+ * @generated
+ */
+public interface ConditionType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionType_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Evaluator</b></em>' attribute.
+ * The default value is <code>"org.milyn.javabean.expression.BeanMapExpressionEvaluator"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Evaluator</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Evaluator</em>' attribute.
+ * @see #isSetEvaluator()
+ * @see #unsetEvaluator()
+ * @see #setEvaluator(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionType_Evaluator()
+ * @model default="org.milyn.javabean.expression.BeanMapExpressionEvaluator" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='evaluator'"
+ * @generated
+ */
+ String getEvaluator();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getEvaluator <em>Evaluator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Evaluator</em>' attribute.
+ * @see #isSetEvaluator()
+ * @see #unsetEvaluator()
+ * @see #getEvaluator()
+ * @generated
+ */
+ void setEvaluator(String value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getEvaluator <em>Evaluator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetEvaluator()
+ * @see #getEvaluator()
+ * @see #setEvaluator(String)
+ * @generated
+ */
+ void unsetEvaluator();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getEvaluator <em>Evaluator</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Evaluator</em>' attribute is set.
+ * @see #unsetEvaluator()
+ * @see #getEvaluator()
+ * @see #setEvaluator(String)
+ * @generated
+ */
+ boolean isSetEvaluator();
+
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionType_Id()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+ /**
+ * Returns the value of the '<em><b>Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Id Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Id Ref</em>' attribute.
+ * @see #setIdRef(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionType_IdRef()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='idRef'"
+ * @generated
+ */
+ String getIdRef();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getIdRef <em>Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id Ref</em>' attribute.
+ * @see #getIdRef()
+ * @generated
+ */
+ void setIdRef(String value);
+
+} // ConditionType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionsType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionsType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionsType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Conditions Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Conditions List.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ConditionsType#getCondition <em>Condition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionsType()
+ * @model extendedMetaData="name='conditions_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ConditionsType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ConditionType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getConditionsType_Condition()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='condition' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<ConditionType> getCondition();
+
+} // ConditionsType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ConditionsType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/DocumentRoot.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/DocumentRoot.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/DocumentRoot.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,586 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+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.smooks.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getAbstractReader <em>Abstract Reader</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getAbstractResourceConfig <em>Abstract Resource Config</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getConditions <em>Conditions</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getElementVisitor <em>Element Visitor</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getFeatures <em>Features</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandler <em>Handler</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandlers <em>Handlers</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getImport <em>Import</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getParams <em>Params</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfile <em>Profile</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfiles <em>Profiles</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getReader <em>Reader</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getResource <em>Resource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getResourceConfig <em>Resource Config</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOff <em>Set Off</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOn <em>Set On</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSmooksResourceList <em>Smooks Resource List</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot 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.smooks.SmooksPackage#getDocumentRoot_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.smooks.SmooksPackage#getDocumentRoot_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.smooks.SmooksPackage#getDocumentRoot_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>Abstract Reader</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Abstract Reader</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Abstract Reader</em>' containment reference.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_AbstractReader()
+ * @model containment="true" upper="-2" transient="true" changeable="false" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='abstract-reader' namespace='##targetNamespace'"
+ * @generated
+ */
+ AbstractReader getAbstractReader();
+
+ /**
+ * Returns the value of the '<em><b>Abstract Resource Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Abstract Resource Config</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Abstract Resource Config</em>' containment reference.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_AbstractResourceConfig()
+ * @model containment="true" upper="-2" transient="true" changeable="false" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='abstract-resource-config' namespace='##targetNamespace'"
+ * @generated
+ */
+ AbstractResourceConfig getAbstractResourceConfig();
+
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' containment reference.
+ * @see #setCondition(ConditionType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Condition()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='condition' namespace='##targetNamespace'"
+ * @generated
+ */
+ ConditionType getCondition();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getCondition <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition</em>' containment reference.
+ * @see #getCondition()
+ * @generated
+ */
+ void setCondition(ConditionType value);
+
+ /**
+ * Returns the value of the '<em><b>Conditions</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conditions</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conditions</em>' containment reference.
+ * @see #setConditions(ConditionsType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Conditions()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='conditions' namespace='##targetNamespace'"
+ * @generated
+ */
+ ConditionsType getConditions();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getConditions <em>Conditions</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conditions</em>' containment reference.
+ * @see #getConditions()
+ * @generated
+ */
+ void setConditions(ConditionsType value);
+
+ /**
+ * Returns the value of the '<em><b>Element Visitor</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Element Visitor</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Element Visitor</em>' containment reference.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_ElementVisitor()
+ * @model containment="true" upper="-2" transient="true" changeable="false" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='element-visitor' namespace='##targetNamespace' affiliation='abstract-resource-config'"
+ * @generated
+ */
+ ElementVisitor getElementVisitor();
+
+ /**
+ * Returns the value of the '<em><b>Features</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Features</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Features</em>' containment reference.
+ * @see #setFeatures(FeaturesType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Features()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='features' namespace='##targetNamespace'"
+ * @generated
+ */
+ FeaturesType getFeatures();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getFeatures <em>Features</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Features</em>' containment reference.
+ * @see #getFeatures()
+ * @generated
+ */
+ void setFeatures(FeaturesType value);
+
+ /**
+ * Returns the value of the '<em><b>Handler</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Handler</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Handler</em>' containment reference.
+ * @see #setHandler(HandlerType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Handler()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='handler' namespace='##targetNamespace'"
+ * @generated
+ */
+ HandlerType getHandler();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandler <em>Handler</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Handler</em>' containment reference.
+ * @see #getHandler()
+ * @generated
+ */
+ void setHandler(HandlerType value);
+
+ /**
+ * Returns the value of the '<em><b>Handlers</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Handlers</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Handlers</em>' containment reference.
+ * @see #setHandlers(HandlersType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Handlers()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='handlers' namespace='##targetNamespace'"
+ * @generated
+ */
+ HandlersType getHandlers();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandlers <em>Handlers</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Handlers</em>' containment reference.
+ * @see #getHandlers()
+ * @generated
+ */
+ void setHandlers(HandlersType value);
+
+ /**
+ * Returns the value of the '<em><b>Import</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Import</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Import</em>' containment reference.
+ * @see #setImport(ImportType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Import()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='import' namespace='##targetNamespace' affiliation='abstract-resource-config'"
+ * @generated
+ */
+ ImportType getImport();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getImport <em>Import</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Import</em>' containment reference.
+ * @see #getImport()
+ * @generated
+ */
+ void setImport(ImportType value);
+
+ /**
+ * Returns the value of the '<em><b>Param</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param</em>' containment reference.
+ * @see #setParam(ParamType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Param()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='param' namespace='##targetNamespace'"
+ * @generated
+ */
+ ParamType getParam();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getParam <em>Param</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Param</em>' containment reference.
+ * @see #getParam()
+ * @generated
+ */
+ void setParam(ParamType value);
+
+ /**
+ * Returns the value of the '<em><b>Params</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Params</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Params</em>' containment reference.
+ * @see #setParams(ParamsType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Params()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='params' namespace='##targetNamespace'"
+ * @generated
+ */
+ ParamsType getParams();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getParams <em>Params</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Params</em>' containment reference.
+ * @see #getParams()
+ * @generated
+ */
+ void setParams(ParamsType value);
+
+ /**
+ * Returns the value of the '<em><b>Profile</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Profile</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Profile</em>' containment reference.
+ * @see #setProfile(ProfileType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Profile()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='profile' namespace='##targetNamespace'"
+ * @generated
+ */
+ ProfileType getProfile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfile <em>Profile</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Profile</em>' containment reference.
+ * @see #getProfile()
+ * @generated
+ */
+ void setProfile(ProfileType value);
+
+ /**
+ * Returns the value of the '<em><b>Profiles</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Profiles</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Profiles</em>' containment reference.
+ * @see #setProfiles(ProfilesType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Profiles()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='profiles' namespace='##targetNamespace'"
+ * @generated
+ */
+ ProfilesType getProfiles();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfiles <em>Profiles</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Profiles</em>' containment reference.
+ * @see #getProfiles()
+ * @generated
+ */
+ void setProfiles(ProfilesType value);
+
+ /**
+ * Returns the value of the '<em><b>Reader</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Reader</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Reader</em>' containment reference.
+ * @see #setReader(ReaderType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Reader()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='reader' namespace='##targetNamespace' affiliation='abstract-reader'"
+ * @generated
+ */
+ ReaderType getReader();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getReader <em>Reader</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Reader</em>' containment reference.
+ * @see #getReader()
+ * @generated
+ */
+ void setReader(ReaderType value);
+
+ /**
+ * Returns the value of the '<em><b>Resource</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource</em>' containment reference.
+ * @see #setResource(ResourceType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_Resource()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resource' namespace='##targetNamespace'"
+ * @generated
+ */
+ ResourceType getResource();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getResource <em>Resource</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource</em>' containment reference.
+ * @see #getResource()
+ * @generated
+ */
+ void setResource(ResourceType value);
+
+ /**
+ * Returns the value of the '<em><b>Resource Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource Config</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource Config</em>' containment reference.
+ * @see #setResourceConfig(ResourceConfigType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_ResourceConfig()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='resource-config' namespace='##targetNamespace' affiliation='abstract-resource-config'"
+ * @generated
+ */
+ ResourceConfigType getResourceConfig();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getResourceConfig <em>Resource Config</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource Config</em>' containment reference.
+ * @see #getResourceConfig()
+ * @generated
+ */
+ void setResourceConfig(ResourceConfigType value);
+
+ /**
+ * Returns the value of the '<em><b>Set Off</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Set Off</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Set Off</em>' containment reference.
+ * @see #setSetOff(SetOffType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_SetOff()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='setOff' namespace='##targetNamespace'"
+ * @generated
+ */
+ SetOffType getSetOff();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOff <em>Set Off</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Set Off</em>' containment reference.
+ * @see #getSetOff()
+ * @generated
+ */
+ void setSetOff(SetOffType value);
+
+ /**
+ * Returns the value of the '<em><b>Set On</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Set On</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Set On</em>' containment reference.
+ * @see #setSetOn(SetOnType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_SetOn()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='setOn' namespace='##targetNamespace'"
+ * @generated
+ */
+ SetOnType getSetOn();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOn <em>Set On</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Set On</em>' containment reference.
+ * @see #getSetOn()
+ * @generated
+ */
+ void setSetOn(SetOnType value);
+
+ /**
+ * Returns the value of the '<em><b>Smooks Resource List</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Smooks Resource List</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Smooks Resource List</em>' containment reference.
+ * @see #setSmooksResourceList(SmooksResourceListType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getDocumentRoot_SmooksResourceList()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='smooks-resource-list' namespace='##targetNamespace'"
+ * @generated
+ */
+ SmooksResourceListType getSmooksResourceList();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSmooksResourceList <em>Smooks Resource List</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Smooks Resource List</em>' containment reference.
+ * @see #getSmooksResourceList()
+ * @generated
+ */
+ void setSmooksResourceList(SmooksResourceListType value);
+
+} // DocumentRoot
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/DocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ElementVisitor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ElementVisitor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ElementVisitor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,88 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Element Visitor</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Element Visitor Resource Type
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ElementVisitor#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ElementVisitor#getTargetProfile <em>Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getElementVisitor()
+ * @model abstract="true"
+ * extendedMetaData="name='element-visitor' kind='elementOnly'"
+ * @generated
+ */
+public interface ElementVisitor extends AbstractResourceConfig {
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' containment reference.
+ * @see #setCondition(ConditionType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getElementVisitor_Condition()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='condition' namespace='##targetNamespace'"
+ * @generated
+ */
+ ConditionType getCondition();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ElementVisitor#getCondition <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition</em>' containment reference.
+ * @see #getCondition()
+ * @generated
+ */
+ void setCondition(ConditionType value);
+
+ /**
+ * Returns the value of the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Defines the target profile
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Target Profile</em>' attribute.
+ * @see #setTargetProfile(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getElementVisitor_TargetProfile()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='targetProfile'"
+ * @generated
+ */
+ String getTargetProfile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ElementVisitor#getTargetProfile <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Profile</em>' attribute.
+ * @see #getTargetProfile()
+ * @generated
+ */
+ void setTargetProfile(String value);
+
+} // ElementVisitor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ElementVisitor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/FeaturesType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/FeaturesType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/FeaturesType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,69 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Features Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Reader Features List
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.FeaturesType#getSetOn <em>Set On</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.FeaturesType#getSetOff <em>Set Off</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getFeaturesType()
+ * @model extendedMetaData="name='features_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface FeaturesType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Set On</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.SetOnType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Set On</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Set On</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getFeaturesType_SetOn()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='setOn' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<SetOnType> getSetOn();
+
+ /**
+ * Returns the value of the '<em><b>Set Off</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.SetOffType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Set Off</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Set Off</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getFeaturesType_SetOff()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='setOff' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<SetOffType> getSetOff();
+
+} // FeaturesType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/FeaturesType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlerType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlerType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlerType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Handler Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Handler class name.
+ * <p/>
+ * This is the Handler class name e.g. an EntityResolver, ErrorHandler implementation etc.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.HandlerType#getClass_ <em>Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getHandlerType()
+ * @model extendedMetaData="name='handler_._type' kind='empty'"
+ * @generated
+ */
+public interface HandlerType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Class</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Class</em>' attribute.
+ * @see #setClass(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getHandlerType_Class()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='class'"
+ * @generated
+ */
+ String getClass_();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.HandlerType#getClass_ <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Class</em>' attribute.
+ * @see #getClass_()
+ * @generated
+ */
+ void setClass(String value);
+
+} // HandlerType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlerType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlersType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlersType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlersType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Handlers Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Reader Handler Classes.
+ * <p/>
+ * Set a handler on the reader instance e.g. an EntityResolver, ErrorHandler etc.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.HandlersType#getHandler <em>Handler</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getHandlersType()
+ * @model extendedMetaData="name='handlers_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface HandlersType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Handler</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.HandlerType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Handler</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Handler</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getHandlersType_Handler()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='handler' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<HandlerType> getHandler();
+
+} // HandlersType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/HandlersType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ImportType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ImportType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ImportType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,77 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Import Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Smooks Resource Configuration Import
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ImportType#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ImportType#getFile <em>File</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getImportType()
+ * @model extendedMetaData="name='import_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ImportType extends AbstractResourceConfig {
+ /**
+ * Returns the value of the '<em><b>Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ParamType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getImportType_Param()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='param' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<ParamType> getParam();
+
+ /**
+ * Returns the value of the '<em><b>File</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>File</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>File</em>' attribute.
+ * @see #setFile(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getImportType_File()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
+ * extendedMetaData="kind='attribute' name='file'"
+ * @generated
+ */
+ String getFile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ImportType#getFile <em>File</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>File</em>' attribute.
+ * @see #getFile()
+ * @generated
+ */
+ void setFile(String value);
+
+} // ImportType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ImportType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,87 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Param Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Resource Parameter
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ParamType#getName <em>Name</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ParamType#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getParamType()
+ * @model extendedMetaData="name='param_._type' kind='mixed'"
+ * @generated
+ */
+public interface ParamType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getParamType_Name()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='name'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ParamType#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getParamType_Type()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='type'"
+ * @generated
+ */
+ String getType();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ParamType#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(String value);
+
+} // ParamType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamsType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamsType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamsType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Params Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Resource Parameters
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ParamsType#getParam <em>Param</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getParamsType()
+ * @model extendedMetaData="name='params_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ParamsType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ParamType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getParamsType_Param()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='param' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<ParamType> getParam();
+
+} // ParamsType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ParamsType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfileType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfileType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfileType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Profile Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Profile Configuration. Basically allows you to specify the name of a
+ * base profile along with a list of its sub-profiles.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ProfileType#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ProfileType#getBaseProfile <em>Base Profile</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ProfileType#getSubProfiles <em>Sub Profiles</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getProfileType()
+ * @model extendedMetaData="name='profile_._type' kind='simple'"
+ * @generated
+ */
+public interface ProfileType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getProfileType_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ProfileType#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Base Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Base Profile</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Base Profile</em>' attribute.
+ * @see #setBaseProfile(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getProfileType_BaseProfile()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='base-profile'"
+ * @generated
+ */
+ String getBaseProfile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ProfileType#getBaseProfile <em>Base Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Base Profile</em>' attribute.
+ * @see #getBaseProfile()
+ * @generated
+ */
+ void setBaseProfile(String value);
+
+ /**
+ * Returns the value of the '<em><b>Sub Profiles</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Sub Profiles</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Sub Profiles</em>' attribute.
+ * @see #setSubProfiles(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getProfileType_SubProfiles()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='sub-profiles'"
+ * @generated
+ */
+ String getSubProfiles();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ProfileType#getSubProfiles <em>Sub Profiles</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Sub Profiles</em>' attribute.
+ * @see #getSubProfiles()
+ * @generated
+ */
+ void setSubProfiles(String value);
+
+} // ProfileType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfileType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfilesType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfilesType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfilesType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,51 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Profiles Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * List of Profiles
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ProfilesType#getProfile <em>Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getProfilesType()
+ * @model extendedMetaData="name='profiles_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ProfilesType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Profile</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ProfileType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Profile</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Profile</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getProfilesType_Profile()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='profile' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<ProfileType> getProfile();
+
+} // ProfilesType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ProfilesType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ReaderType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ReaderType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ReaderType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,142 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Reader Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Stream Reader
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ReaderType#getHandlers <em>Handlers</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ReaderType#getFeatures <em>Features</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ReaderType#getParams <em>Params</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ReaderType#getClass_ <em>Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getReaderType()
+ * @model extendedMetaData="name='reader_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ReaderType extends AbstractReader {
+ /**
+ * Returns the value of the '<em><b>Handlers</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Handlers</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Handlers</em>' containment reference.
+ * @see #setHandlers(HandlersType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getReaderType_Handlers()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='handlers' namespace='##targetNamespace'"
+ * @generated
+ */
+ HandlersType getHandlers();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getHandlers <em>Handlers</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Handlers</em>' containment reference.
+ * @see #getHandlers()
+ * @generated
+ */
+ void setHandlers(HandlersType value);
+
+ /**
+ * Returns the value of the '<em><b>Features</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Features</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Features</em>' containment reference.
+ * @see #setFeatures(FeaturesType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getReaderType_Features()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='features' namespace='##targetNamespace'"
+ * @generated
+ */
+ FeaturesType getFeatures();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getFeatures <em>Features</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Features</em>' containment reference.
+ * @see #getFeatures()
+ * @generated
+ */
+ void setFeatures(FeaturesType value);
+
+ /**
+ * Returns the value of the '<em><b>Params</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Params</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Params</em>' containment reference.
+ * @see #setParams(ParamsType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getReaderType_Params()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='params' namespace='##targetNamespace'"
+ * @generated
+ */
+ ParamsType getParams();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getParams <em>Params</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Params</em>' containment reference.
+ * @see #getParams()
+ * @generated
+ */
+ void setParams(ParamsType value);
+
+ /**
+ * Returns the value of the '<em><b>Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Class</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Class</em>' attribute.
+ * @see #setClass(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getReaderType_Class()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='class'"
+ * @generated
+ */
+ String getClass_();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getClass_ <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Class</em>' attribute.
+ * @see #getClass_()
+ * @generated
+ */
+ void setClass(String value);
+
+} // ReaderType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ReaderType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceConfigType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceConfigType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceConfigType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,189 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.eclipse.emf.common.util.EList;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource Config Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Smooks Resource Configuration
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getResource <em>Resource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelector <em>Selector</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelectorNamespace <em>Selector Namespace</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getTargetProfile <em>Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType()
+ * @model extendedMetaData="name='resource-config_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface ResourceConfigType extends AbstractResourceConfig {
+ /**
+ * Returns the value of the '<em><b>Resource</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Resource</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Resource</em>' containment reference.
+ * @see #setResource(ResourceType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType_Resource()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='resource' namespace='##targetNamespace'"
+ * @generated
+ */
+ ResourceType getResource();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getResource <em>Resource</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Resource</em>' containment reference.
+ * @see #getResource()
+ * @generated
+ */
+ void setResource(ResourceType value);
+
+ /**
+ * Returns the value of the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Condition</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Condition</em>' containment reference.
+ * @see #setCondition(ConditionType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType_Condition()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='condition' namespace='##targetNamespace'"
+ * @generated
+ */
+ ConditionType getCondition();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getCondition <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Condition</em>' containment reference.
+ * @see #getCondition()
+ * @generated
+ */
+ void setCondition(ConditionType value);
+
+ /**
+ * Returns the value of the '<em><b>Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ParamType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType_Param()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='param' namespace='##targetNamespace'"
+ * @generated
+ */
+ EList<ParamType> getParam();
+
+ /**
+ * Returns the value of the '<em><b>Selector</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Selector</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Selector</em>' attribute.
+ * @see #setSelector(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType_Selector()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='selector'"
+ * @generated
+ */
+ String getSelector();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelector <em>Selector</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Selector</em>' attribute.
+ * @see #getSelector()
+ * @generated
+ */
+ void setSelector(String value);
+
+ /**
+ * Returns the value of the '<em><b>Selector Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Selector Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Selector Namespace</em>' attribute.
+ * @see #setSelectorNamespace(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType_SelectorNamespace()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='selector-namespace'"
+ * @generated
+ */
+ String getSelectorNamespace();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelectorNamespace <em>Selector Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Selector Namespace</em>' attribute.
+ * @see #getSelectorNamespace()
+ * @generated
+ */
+ void setSelectorNamespace(String value);
+
+ /**
+ * Returns the value of the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Target Profile</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Target Profile</em>' attribute.
+ * @see #setTargetProfile(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceConfigType_TargetProfile()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='target-profile'"
+ * @generated
+ */
+ String getTargetProfile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getTargetProfile <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Target Profile</em>' attribute.
+ * @see #getTargetProfile()
+ * @generated
+ */
+ void setTargetProfile(String value);
+
+} // ResourceConfigType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceConfigType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,87 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Resource Configuration Resource Type (xsl, class etc)
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceType#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.ResourceType#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceType()
+ * @model extendedMetaData="name='resource_._type' kind='simple'"
+ * @generated
+ */
+public interface ResourceType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceType_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceType#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' attribute.
+ * @see #setType(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getResourceType_Type()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='type'"
+ * @generated
+ */
+ String getType();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.ResourceType#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(String value);
+
+} // ResourceType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/ResourceType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOffType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOffType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOffType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,59 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Set Off Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Set Reader Feature 'Off'
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SetOffType#getFeature <em>Feature</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSetOffType()
+ * @model extendedMetaData="name='setOff_._type' kind='empty'"
+ * @generated
+ */
+public interface SetOffType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Feature</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Feature</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Feature</em>' attribute.
+ * @see #setFeature(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSetOffType_Feature()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
+ * extendedMetaData="kind='attribute' name='feature'"
+ * @generated
+ */
+ String getFeature();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SetOffType#getFeature <em>Feature</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Feature</em>' attribute.
+ * @see #getFeature()
+ * @generated
+ */
+ void setFeature(String value);
+
+} // SetOffType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOffType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOnType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOnType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOnType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,59 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Set On Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * Set Reader Feature 'On'
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SetOnType#getFeature <em>Feature</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSetOnType()
+ * @model extendedMetaData="name='setOn_._type' kind='empty'"
+ * @generated
+ */
+public interface SetOnType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Feature</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Feature</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Feature</em>' attribute.
+ * @see #setFeature(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSetOnType_Feature()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI" required="true"
+ * extendedMetaData="kind='attribute' name='feature'"
+ * @generated
+ */
+ String getFeature();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SetOnType#getFeature <em>Feature</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Feature</em>' attribute.
+ * @see #getFeature()
+ * @generated
+ */
+ void setFeature(String value);
+
+} // SetOnType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SetOnType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,190 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+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.smooks.SmooksPackage
+ * @generated
+ */
+public interface SmooksFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ SmooksFactory eINSTANCE = org.jboss.tools.smooks.model.smooks.impl.SmooksFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Conditions Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Conditions Type</em>'.
+ * @generated
+ */
+ ConditionsType createConditionsType();
+
+ /**
+ * Returns a new object of class '<em>Condition Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Condition Type</em>'.
+ * @generated
+ */
+ ConditionType createConditionType();
+
+ /**
+ * 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
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Features Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Features Type</em>'.
+ * @generated
+ */
+ FeaturesType createFeaturesType();
+
+ /**
+ * Returns a new object of class '<em>Handlers Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Handlers Type</em>'.
+ * @generated
+ */
+ HandlersType createHandlersType();
+
+ /**
+ * Returns a new object of class '<em>Handler Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Handler Type</em>'.
+ * @generated
+ */
+ HandlerType createHandlerType();
+
+ /**
+ * Returns a new object of class '<em>Import Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Import Type</em>'.
+ * @generated
+ */
+ ImportType createImportType();
+
+ /**
+ * Returns a new object of class '<em>Params Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Params Type</em>'.
+ * @generated
+ */
+ ParamsType createParamsType();
+
+ /**
+ * Returns a new object of class '<em>Param Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Param Type</em>'.
+ * @generated
+ */
+ ParamType createParamType();
+
+ /**
+ * Returns a new object of class '<em>Profiles Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Profiles Type</em>'.
+ * @generated
+ */
+ ProfilesType createProfilesType();
+
+ /**
+ * Returns a new object of class '<em>Profile Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Profile Type</em>'.
+ * @generated
+ */
+ ProfileType createProfileType();
+
+ /**
+ * Returns a new object of class '<em>Reader Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Reader Type</em>'.
+ * @generated
+ */
+ ReaderType createReaderType();
+
+ /**
+ * Returns a new object of class '<em>Resource Config Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource Config Type</em>'.
+ * @generated
+ */
+ ResourceConfigType createResourceConfigType();
+
+ /**
+ * Returns a new object of class '<em>Resource Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource Type</em>'.
+ * @generated
+ */
+ ResourceType createResourceType();
+
+ /**
+ * Returns a new object of class '<em>Set Off Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Set Off Type</em>'.
+ * @generated
+ */
+ SetOffType createSetOffType();
+
+ /**
+ * Returns a new object of class '<em>Set On Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Set On Type</em>'.
+ * @generated
+ */
+ SetOnType createSetOnType();
+
+ /**
+ * Returns a new object of class '<em>Resource List Type</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Resource List Type</em>'.
+ * @generated
+ */
+ SmooksResourceListType createSmooksResourceListType();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ SmooksPackage getSmooksPackage();
+
+} //SmooksFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksPackage.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksPackage.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksPackage.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,3295 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+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.common.CommonPackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.SmooksFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface SmooksPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "smooks";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "smooks";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ SmooksPackage eINSTANCE = org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.AbstractResourceConfigImpl <em>Abstract Resource Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.AbstractResourceConfigImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getAbstractResourceConfig()
+ * @generated
+ */
+ int ABSTRACT_RESOURCE_CONFIG = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_RESOURCE_CONFIG__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_RESOURCE_CONFIG__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_RESOURCE_CONFIG__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The number of structural features of the '<em>Abstract Resource Config</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.AbstractReaderImpl <em>Abstract Reader</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.AbstractReaderImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getAbstractReader()
+ * @generated
+ */
+ int ABSTRACT_READER = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_READER__MIXED = ABSTRACT_RESOURCE_CONFIG__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_READER__ANY = ABSTRACT_RESOURCE_CONFIG__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_READER__ANY_ATTRIBUTE = ABSTRACT_RESOURCE_CONFIG__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_READER__TARGET_PROFILE = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Abstract Reader</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ABSTRACT_READER_FEATURE_COUNT = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ConditionsTypeImpl <em>Conditions Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ConditionsTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getConditionsType()
+ * @generated
+ */
+ int CONDITIONS_TYPE = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONS_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONS_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONS_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONS_TYPE__CONDITION = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Conditions Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITIONS_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl <em>Condition Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getConditionType()
+ * @generated
+ */
+ int CONDITION_TYPE = 3;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Evaluator</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__EVALUATOR = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__ID = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Id Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE__ID_REF = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Condition Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CONDITION_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 4;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int 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 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 DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Abstract Reader</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ABSTRACT_READER = 3;
+
+ /**
+ * The feature id for the '<em><b>Abstract Resource Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG = 4;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONDITION = 5;
+
+ /**
+ * The feature id for the '<em><b>Conditions</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__CONDITIONS = 6;
+
+ /**
+ * The feature id for the '<em><b>Element Visitor</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ELEMENT_VISITOR = 7;
+
+ /**
+ * The feature id for the '<em><b>Features</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__FEATURES = 8;
+
+ /**
+ * The feature id for the '<em><b>Handler</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__HANDLER = 9;
+
+ /**
+ * The feature id for the '<em><b>Handlers</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__HANDLERS = 10;
+
+ /**
+ * The feature id for the '<em><b>Import</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__IMPORT = 11;
+
+ /**
+ * The feature id for the '<em><b>Param</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARAM = 12;
+
+ /**
+ * The feature id for the '<em><b>Params</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PARAMS = 13;
+
+ /**
+ * The feature id for the '<em><b>Profile</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PROFILE = 14;
+
+ /**
+ * The feature id for the '<em><b>Profiles</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__PROFILES = 15;
+
+ /**
+ * The feature id for the '<em><b>Reader</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__READER = 16;
+
+ /**
+ * The feature id for the '<em><b>Resource</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE = 17;
+
+ /**
+ * The feature id for the '<em><b>Resource Config</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__RESOURCE_CONFIG = 18;
+
+ /**
+ * The feature id for the '<em><b>Set Off</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SET_OFF = 19;
+
+ /**
+ * The feature id for the '<em><b>Set On</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SET_ON = 20;
+
+ /**
+ * The feature id for the '<em><b>Smooks Resource List</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST = 21;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 22;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl <em>Element Visitor</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getElementVisitor()
+ * @generated
+ */
+ int ELEMENT_VISITOR = 5;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_VISITOR__MIXED = ABSTRACT_RESOURCE_CONFIG__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_VISITOR__ANY = ABSTRACT_RESOURCE_CONFIG__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_VISITOR__ANY_ATTRIBUTE = ABSTRACT_RESOURCE_CONFIG__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_VISITOR__CONDITION = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_VISITOR__TARGET_PROFILE = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Element Visitor</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int ELEMENT_VISITOR_FEATURE_COUNT = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.FeaturesTypeImpl <em>Features Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.FeaturesTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getFeaturesType()
+ * @generated
+ */
+ int FEATURES_TYPE = 6;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEATURES_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEATURES_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEATURES_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Set On</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEATURES_TYPE__SET_ON = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Set Off</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEATURES_TYPE__SET_OFF = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Features Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int FEATURES_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.HandlersTypeImpl <em>Handlers Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.HandlersTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getHandlersType()
+ * @generated
+ */
+ int HANDLERS_TYPE = 7;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLERS_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLERS_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLERS_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Handler</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLERS_TYPE__HANDLER = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Handlers Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLERS_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.HandlerTypeImpl <em>Handler Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.HandlerTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getHandlerType()
+ * @generated
+ */
+ int HANDLER_TYPE = 8;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLER_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLER_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLER_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLER_TYPE__CLASS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Handler Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int HANDLER_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ImportTypeImpl <em>Import Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ImportTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getImportType()
+ * @generated
+ */
+ int IMPORT_TYPE = 9;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_TYPE__MIXED = ABSTRACT_RESOURCE_CONFIG__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_TYPE__ANY = ABSTRACT_RESOURCE_CONFIG__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_TYPE__ANY_ATTRIBUTE = ABSTRACT_RESOURCE_CONFIG__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Param</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_TYPE__PARAM = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>File</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_TYPE__FILE = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Import Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int IMPORT_TYPE_FEATURE_COUNT = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ParamsTypeImpl <em>Params Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ParamsTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getParamsType()
+ * @generated
+ */
+ int PARAMS_TYPE = 10;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAMS_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAMS_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAMS_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Param</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAMS_TYPE__PARAM = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Params Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAMS_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ParamTypeImpl <em>Param Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ParamTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getParamType()
+ * @generated
+ */
+ int PARAM_TYPE = 11;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAM_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAM_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAM_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAM_TYPE__NAME = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAM_TYPE__TYPE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Param Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARAM_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ProfilesTypeImpl <em>Profiles Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ProfilesTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getProfilesType()
+ * @generated
+ */
+ int PROFILES_TYPE = 12;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILES_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILES_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILES_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Profile</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILES_TYPE__PROFILE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Profiles Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILES_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl <em>Profile Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getProfileType()
+ * @generated
+ */
+ int PROFILE_TYPE = 13;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Base Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE__BASE_PROFILE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Sub Profiles</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE__SUB_PROFILES = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Profile Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PROFILE_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl <em>Reader Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getReaderType()
+ * @generated
+ */
+ int READER_TYPE = 14;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__MIXED = ABSTRACT_READER__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__ANY = ABSTRACT_READER__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__ANY_ATTRIBUTE = ABSTRACT_READER__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__TARGET_PROFILE = ABSTRACT_READER__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Handlers</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__HANDLERS = ABSTRACT_READER_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Features</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__FEATURES = ABSTRACT_READER_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Params</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__PARAMS = ABSTRACT_READER_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE__CLASS = ABSTRACT_READER_FEATURE_COUNT + 3;
+
+ /**
+ * The number of structural features of the '<em>Reader Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int READER_TYPE_FEATURE_COUNT = ABSTRACT_READER_FEATURE_COUNT + 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl <em>Resource Config Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getResourceConfigType()
+ * @generated
+ */
+ int RESOURCE_CONFIG_TYPE = 15;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__MIXED = ABSTRACT_RESOURCE_CONFIG__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__ANY = ABSTRACT_RESOURCE_CONFIG__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__ANY_ATTRIBUTE = ABSTRACT_RESOURCE_CONFIG__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Resource</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__RESOURCE = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Condition</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__CONDITION = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Param</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__PARAM = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Selector</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__SELECTOR = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Selector Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE__TARGET_PROFILE = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Resource Config Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_CONFIG_TYPE_FEATURE_COUNT = ABSTRACT_RESOURCE_CONFIG_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.ResourceTypeImpl <em>Resource Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ResourceTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getResourceType()
+ * @generated
+ */
+ int RESOURCE_TYPE = 16;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_TYPE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_TYPE__TYPE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Resource Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int RESOURCE_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.SetOffTypeImpl <em>Set Off Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.SetOffTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getSetOffType()
+ * @generated
+ */
+ int SET_OFF_TYPE = 17;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_OFF_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_OFF_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_OFF_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Feature</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_OFF_TYPE__FEATURE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Set Off Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_OFF_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.SetOnTypeImpl <em>Set On Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.SetOnTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getSetOnType()
+ * @generated
+ */
+ int SET_ON_TYPE = 18;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_ON_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_ON_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_ON_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Feature</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_ON_TYPE__FEATURE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Set On Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SET_ON_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl <em>Resource List Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getSmooksResourceListType()
+ * @generated
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE = 19;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Params</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__PARAMS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Conditions</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Profiles</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__PROFILES = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Abstract Reader Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Abstract Reader</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Abstract Resource Config Group</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 5;
+
+ /**
+ * The feature id for the '<em><b>Abstract Resource Config</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 6;
+
+ /**
+ * The feature id for the '<em><b>Default Condition Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 7;
+
+ /**
+ * The feature id for the '<em><b>Default Selector</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 8;
+
+ /**
+ * The feature id for the '<em><b>Default Selector Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 9;
+
+ /**
+ * The feature id for the '<em><b>Default Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 10;
+
+ /**
+ * The number of structural features of the '<em>Resource List Type</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SMOOKS_RESOURCE_LIST_TYPE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 11;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.AbstractReader <em>Abstract Reader</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Abstract Reader</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.AbstractReader
+ * @generated
+ */
+ EClass getAbstractReader();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.AbstractReader#getTargetProfile <em>Target Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Target Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.AbstractReader#getTargetProfile()
+ * @see #getAbstractReader()
+ * @generated
+ */
+ EAttribute getAbstractReader_TargetProfile();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.AbstractResourceConfig <em>Abstract Resource Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Abstract Resource Config</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.AbstractResourceConfig
+ * @generated
+ */
+ EClass getAbstractResourceConfig();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ConditionsType <em>Conditions Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Conditions Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionsType
+ * @generated
+ */
+ EClass getConditionsType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.ConditionsType#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Condition</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionsType#getCondition()
+ * @see #getConditionsType()
+ * @generated
+ */
+ EReference getConditionsType_Condition();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ConditionType <em>Condition Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Condition Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionType
+ * @generated
+ */
+ EClass getConditionType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionType#getValue()
+ * @see #getConditionType()
+ * @generated
+ */
+ EAttribute getConditionType_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getEvaluator <em>Evaluator</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Evaluator</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionType#getEvaluator()
+ * @see #getConditionType()
+ * @generated
+ */
+ EAttribute getConditionType_Evaluator();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionType#getId()
+ * @see #getConditionType()
+ * @generated
+ */
+ EAttribute getConditionType_Id();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ConditionType#getIdRef <em>Id Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id Ref</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ConditionType#getIdRef()
+ * @see #getConditionType()
+ * @generated
+ */
+ EAttribute getConditionType_IdRef();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot <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.smooks.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#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.smooks.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#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.smooks.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#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.smooks.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getAbstractReader <em>Abstract Reader</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Abstract Reader</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getAbstractReader()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_AbstractReader();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getAbstractResourceConfig <em>Abstract Resource Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Abstract Resource Config</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getAbstractResourceConfig()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_AbstractResourceConfig();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getCondition()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Condition();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getConditions <em>Conditions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conditions</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getConditions()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Conditions();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getElementVisitor <em>Element Visitor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Element Visitor</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getElementVisitor()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ElementVisitor();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getFeatures <em>Features</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Features</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getFeatures()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Features();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandler <em>Handler</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Handler</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandler()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Handler();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandlers <em>Handlers</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Handlers</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getHandlers()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Handlers();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getImport <em>Import</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Import</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getImport()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Import();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getParam <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Param</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getParam()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Param();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getParams <em>Params</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Params</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getParams()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Params();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfile <em>Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfile()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Profile();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfiles <em>Profiles</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Profiles</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getProfiles()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Profiles();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getReader <em>Reader</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Reader</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getReader()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Reader();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getResource <em>Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getResource()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Resource();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getResourceConfig <em>Resource Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource Config</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getResourceConfig()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_ResourceConfig();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOff <em>Set Off</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Set Off</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOff()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SetOff();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOn <em>Set On</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Set On</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getSetOn()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SetOn();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot#getSmooksResourceList <em>Smooks Resource List</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Smooks Resource List</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.DocumentRoot#getSmooksResourceList()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_SmooksResourceList();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ElementVisitor <em>Element Visitor</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Element Visitor</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ElementVisitor
+ * @generated
+ */
+ EClass getElementVisitor();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.ElementVisitor#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ElementVisitor#getCondition()
+ * @see #getElementVisitor()
+ * @generated
+ */
+ EReference getElementVisitor_Condition();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ElementVisitor#getTargetProfile <em>Target Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Target Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ElementVisitor#getTargetProfile()
+ * @see #getElementVisitor()
+ * @generated
+ */
+ EAttribute getElementVisitor_TargetProfile();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.FeaturesType <em>Features Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Features Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.FeaturesType
+ * @generated
+ */
+ EClass getFeaturesType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.FeaturesType#getSetOn <em>Set On</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Set On</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.FeaturesType#getSetOn()
+ * @see #getFeaturesType()
+ * @generated
+ */
+ EReference getFeaturesType_SetOn();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.FeaturesType#getSetOff <em>Set Off</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Set Off</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.FeaturesType#getSetOff()
+ * @see #getFeaturesType()
+ * @generated
+ */
+ EReference getFeaturesType_SetOff();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.HandlersType <em>Handlers Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Handlers Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.HandlersType
+ * @generated
+ */
+ EClass getHandlersType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.HandlersType#getHandler <em>Handler</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Handler</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.HandlersType#getHandler()
+ * @see #getHandlersType()
+ * @generated
+ */
+ EReference getHandlersType_Handler();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.HandlerType <em>Handler Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Handler Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.HandlerType
+ * @generated
+ */
+ EClass getHandlerType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.HandlerType#getClass_ <em>Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Class</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.HandlerType#getClass_()
+ * @see #getHandlerType()
+ * @generated
+ */
+ EAttribute getHandlerType_Class();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ImportType <em>Import Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Import Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ImportType
+ * @generated
+ */
+ EClass getImportType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.ImportType#getParam <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Param</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ImportType#getParam()
+ * @see #getImportType()
+ * @generated
+ */
+ EReference getImportType_Param();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ImportType#getFile <em>File</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>File</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ImportType#getFile()
+ * @see #getImportType()
+ * @generated
+ */
+ EAttribute getImportType_File();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ParamsType <em>Params Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Params Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ParamsType
+ * @generated
+ */
+ EClass getParamsType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.ParamsType#getParam <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Param</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ParamsType#getParam()
+ * @see #getParamsType()
+ * @generated
+ */
+ EReference getParamsType_Param();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ParamType <em>Param Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Param Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ParamType
+ * @generated
+ */
+ EClass getParamType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ParamType#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ParamType#getName()
+ * @see #getParamType()
+ * @generated
+ */
+ EAttribute getParamType_Name();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ParamType#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ParamType#getType()
+ * @see #getParamType()
+ * @generated
+ */
+ EAttribute getParamType_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ProfilesType <em>Profiles Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Profiles Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ProfilesType
+ * @generated
+ */
+ EClass getProfilesType();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.ProfilesType#getProfile <em>Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ProfilesType#getProfile()
+ * @see #getProfilesType()
+ * @generated
+ */
+ EReference getProfilesType_Profile();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ProfileType <em>Profile Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Profile Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ProfileType
+ * @generated
+ */
+ EClass getProfileType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ProfileType#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ProfileType#getValue()
+ * @see #getProfileType()
+ * @generated
+ */
+ EAttribute getProfileType_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ProfileType#getBaseProfile <em>Base Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Base Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ProfileType#getBaseProfile()
+ * @see #getProfileType()
+ * @generated
+ */
+ EAttribute getProfileType_BaseProfile();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ProfileType#getSubProfiles <em>Sub Profiles</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Sub Profiles</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ProfileType#getSubProfiles()
+ * @see #getProfileType()
+ * @generated
+ */
+ EAttribute getProfileType_SubProfiles();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ReaderType <em>Reader Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Reader Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ReaderType
+ * @generated
+ */
+ EClass getReaderType();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getHandlers <em>Handlers</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Handlers</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ReaderType#getHandlers()
+ * @see #getReaderType()
+ * @generated
+ */
+ EReference getReaderType_Handlers();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getFeatures <em>Features</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Features</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ReaderType#getFeatures()
+ * @see #getReaderType()
+ * @generated
+ */
+ EReference getReaderType_Features();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getParams <em>Params</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Params</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ReaderType#getParams()
+ * @see #getReaderType()
+ * @generated
+ */
+ EReference getReaderType_Params();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ReaderType#getClass_ <em>Class</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Class</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ReaderType#getClass_()
+ * @see #getReaderType()
+ * @generated
+ */
+ EAttribute getReaderType_Class();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType <em>Resource Config Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource Config Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType
+ * @generated
+ */
+ EClass getResourceConfigType();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getResource <em>Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Resource</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType#getResource()
+ * @see #getResourceConfigType()
+ * @generated
+ */
+ EReference getResourceConfigType_Resource();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getCondition <em>Condition</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Condition</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType#getCondition()
+ * @see #getResourceConfigType()
+ * @generated
+ */
+ EReference getResourceConfigType_Condition();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getParam <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Param</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType#getParam()
+ * @see #getResourceConfigType()
+ * @generated
+ */
+ EReference getResourceConfigType_Param();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelector <em>Selector</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Selector</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelector()
+ * @see #getResourceConfigType()
+ * @generated
+ */
+ EAttribute getResourceConfigType_Selector();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelectorNamespace <em>Selector Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Selector Namespace</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType#getSelectorNamespace()
+ * @see #getResourceConfigType()
+ * @generated
+ */
+ EAttribute getResourceConfigType_SelectorNamespace();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType#getTargetProfile <em>Target Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Target Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceConfigType#getTargetProfile()
+ * @see #getResourceConfigType()
+ * @generated
+ */
+ EAttribute getResourceConfigType_TargetProfile();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.ResourceType <em>Resource Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceType
+ * @generated
+ */
+ EClass getResourceType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ResourceType#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceType#getValue()
+ * @see #getResourceType()
+ * @generated
+ */
+ EAttribute getResourceType_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.ResourceType#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.ResourceType#getType()
+ * @see #getResourceType()
+ * @generated
+ */
+ EAttribute getResourceType_Type();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.SetOffType <em>Set Off Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Set Off Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SetOffType
+ * @generated
+ */
+ EClass getSetOffType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.SetOffType#getFeature <em>Feature</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Feature</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SetOffType#getFeature()
+ * @see #getSetOffType()
+ * @generated
+ */
+ EAttribute getSetOffType_Feature();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.SetOnType <em>Set On Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Set On Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SetOnType
+ * @generated
+ */
+ EClass getSetOnType();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.SetOnType#getFeature <em>Feature</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Feature</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SetOnType#getFeature()
+ * @see #getSetOnType()
+ * @generated
+ */
+ EAttribute getSetOnType_Feature();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType <em>Resource List Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Resource List Type</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType
+ * @generated
+ */
+ EClass getSmooksResourceListType();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getParams <em>Params</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Params</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getParams()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EReference getSmooksResourceListType_Params();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getConditions <em>Conditions</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Conditions</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getConditions()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EReference getSmooksResourceListType_Conditions();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getProfiles <em>Profiles</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Profiles</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getProfiles()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EReference getSmooksResourceListType_Profiles();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractReaderGroup <em>Abstract Reader Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Abstract Reader Group</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractReaderGroup()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EAttribute getSmooksResourceListType_AbstractReaderGroup();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractReader <em>Abstract Reader</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Abstract Reader</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractReader()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EReference getSmooksResourceListType_AbstractReader();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractResourceConfigGroup <em>Abstract Resource Config Group</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Abstract Resource Config Group</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractResourceConfigGroup()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EAttribute getSmooksResourceListType_AbstractResourceConfigGroup();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractResourceConfig <em>Abstract Resource Config</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Abstract Resource Config</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractResourceConfig()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EReference getSmooksResourceListType_AbstractResourceConfig();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultConditionRef <em>Default Condition Ref</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default Condition Ref</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultConditionRef()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EAttribute getSmooksResourceListType_DefaultConditionRef();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelector <em>Default Selector</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default Selector</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelector()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EAttribute getSmooksResourceListType_DefaultSelector();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelectorNamespace <em>Default Selector Namespace</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default Selector Namespace</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelectorNamespace()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EAttribute getSmooksResourceListType_DefaultSelectorNamespace();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultTargetProfile <em>Default Target Profile</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Default Target Profile</em>'.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultTargetProfile()
+ * @see #getSmooksResourceListType()
+ * @generated
+ */
+ EAttribute getSmooksResourceListType_DefaultTargetProfile();
+
+ /**
+ * 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
+ */
+ SmooksFactory getSmooksFactory();
+
+ /**
+ * <!-- 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.smooks.impl.AbstractReaderImpl <em>Abstract Reader</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.AbstractReaderImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getAbstractReader()
+ * @generated
+ */
+ EClass ABSTRACT_READER = eINSTANCE.getAbstractReader();
+
+ /**
+ * The meta object literal for the '<em><b>Target Profile</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ABSTRACT_READER__TARGET_PROFILE = eINSTANCE.getAbstractReader_TargetProfile();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.AbstractResourceConfigImpl <em>Abstract Resource Config</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.AbstractResourceConfigImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getAbstractResourceConfig()
+ * @generated
+ */
+ EClass ABSTRACT_RESOURCE_CONFIG = eINSTANCE.getAbstractResourceConfig();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ConditionsTypeImpl <em>Conditions Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ConditionsTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getConditionsType()
+ * @generated
+ */
+ EClass CONDITIONS_TYPE = eINSTANCE.getConditionsType();
+
+ /**
+ * The meta object literal for the '<em><b>Condition</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference CONDITIONS_TYPE__CONDITION = eINSTANCE.getConditionsType_Condition();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl <em>Condition Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getConditionType()
+ * @generated
+ */
+ EClass CONDITION_TYPE = eINSTANCE.getConditionType();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONDITION_TYPE__VALUE = eINSTANCE.getConditionType_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Evaluator</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONDITION_TYPE__EVALUATOR = eINSTANCE.getConditionType_Evaluator();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONDITION_TYPE__ID = eINSTANCE.getConditionType_Id();
+
+ /**
+ * The meta object literal for the '<em><b>Id Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CONDITION_TYPE__ID_REF = eINSTANCE.getConditionType_IdRef();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract Reader</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ABSTRACT_READER = eINSTANCE.getDocumentRoot_AbstractReader();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract Resource Config</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG = eINSTANCE.getDocumentRoot_AbstractResourceConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONDITION = eINSTANCE.getDocumentRoot_Condition();
+
+ /**
+ * The meta object literal for the '<em><b>Conditions</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__CONDITIONS = eINSTANCE.getDocumentRoot_Conditions();
+
+ /**
+ * The meta object literal for the '<em><b>Element Visitor</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ELEMENT_VISITOR = eINSTANCE.getDocumentRoot_ElementVisitor();
+
+ /**
+ * The meta object literal for the '<em><b>Features</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__FEATURES = eINSTANCE.getDocumentRoot_Features();
+
+ /**
+ * The meta object literal for the '<em><b>Handler</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__HANDLER = eINSTANCE.getDocumentRoot_Handler();
+
+ /**
+ * The meta object literal for the '<em><b>Handlers</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__HANDLERS = eINSTANCE.getDocumentRoot_Handlers();
+
+ /**
+ * The meta object literal for the '<em><b>Import</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__IMPORT = eINSTANCE.getDocumentRoot_Import();
+
+ /**
+ * The meta object literal for the '<em><b>Param</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARAM = eINSTANCE.getDocumentRoot_Param();
+
+ /**
+ * The meta object literal for the '<em><b>Params</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PARAMS = eINSTANCE.getDocumentRoot_Params();
+
+ /**
+ * The meta object literal for the '<em><b>Profile</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PROFILE = eINSTANCE.getDocumentRoot_Profile();
+
+ /**
+ * The meta object literal for the '<em><b>Profiles</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__PROFILES = eINSTANCE.getDocumentRoot_Profiles();
+
+ /**
+ * The meta object literal for the '<em><b>Reader</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__READER = eINSTANCE.getDocumentRoot_Reader();
+
+ /**
+ * The meta object literal for the '<em><b>Resource</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE = eINSTANCE.getDocumentRoot_Resource();
+
+ /**
+ * The meta object literal for the '<em><b>Resource Config</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__RESOURCE_CONFIG = eINSTANCE.getDocumentRoot_ResourceConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Set Off</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SET_OFF = eINSTANCE.getDocumentRoot_SetOff();
+
+ /**
+ * The meta object literal for the '<em><b>Set On</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SET_ON = eINSTANCE.getDocumentRoot_SetOn();
+
+ /**
+ * The meta object literal for the '<em><b>Smooks Resource List</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST = eINSTANCE.getDocumentRoot_SmooksResourceList();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl <em>Element Visitor</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getElementVisitor()
+ * @generated
+ */
+ EClass ELEMENT_VISITOR = eINSTANCE.getElementVisitor();
+
+ /**
+ * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference ELEMENT_VISITOR__CONDITION = eINSTANCE.getElementVisitor_Condition();
+
+ /**
+ * The meta object literal for the '<em><b>Target Profile</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute ELEMENT_VISITOR__TARGET_PROFILE = eINSTANCE.getElementVisitor_TargetProfile();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.FeaturesTypeImpl <em>Features Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.FeaturesTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getFeaturesType()
+ * @generated
+ */
+ EClass FEATURES_TYPE = eINSTANCE.getFeaturesType();
+
+ /**
+ * The meta object literal for the '<em><b>Set On</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FEATURES_TYPE__SET_ON = eINSTANCE.getFeaturesType_SetOn();
+
+ /**
+ * The meta object literal for the '<em><b>Set Off</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference FEATURES_TYPE__SET_OFF = eINSTANCE.getFeaturesType_SetOff();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.HandlersTypeImpl <em>Handlers Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.HandlersTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getHandlersType()
+ * @generated
+ */
+ EClass HANDLERS_TYPE = eINSTANCE.getHandlersType();
+
+ /**
+ * The meta object literal for the '<em><b>Handler</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference HANDLERS_TYPE__HANDLER = eINSTANCE.getHandlersType_Handler();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.HandlerTypeImpl <em>Handler Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.HandlerTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getHandlerType()
+ * @generated
+ */
+ EClass HANDLER_TYPE = eINSTANCE.getHandlerType();
+
+ /**
+ * The meta object literal for the '<em><b>Class</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute HANDLER_TYPE__CLASS = eINSTANCE.getHandlerType_Class();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ImportTypeImpl <em>Import Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ImportTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getImportType()
+ * @generated
+ */
+ EClass IMPORT_TYPE = eINSTANCE.getImportType();
+
+ /**
+ * The meta object literal for the '<em><b>Param</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference IMPORT_TYPE__PARAM = eINSTANCE.getImportType_Param();
+
+ /**
+ * The meta object literal for the '<em><b>File</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute IMPORT_TYPE__FILE = eINSTANCE.getImportType_File();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ParamsTypeImpl <em>Params Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ParamsTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getParamsType()
+ * @generated
+ */
+ EClass PARAMS_TYPE = eINSTANCE.getParamsType();
+
+ /**
+ * The meta object literal for the '<em><b>Param</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARAMS_TYPE__PARAM = eINSTANCE.getParamsType_Param();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ParamTypeImpl <em>Param Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ParamTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getParamType()
+ * @generated
+ */
+ EClass PARAM_TYPE = eINSTANCE.getParamType();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARAM_TYPE__NAME = eINSTANCE.getParamType_Name();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PARAM_TYPE__TYPE = eINSTANCE.getParamType_Type();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ProfilesTypeImpl <em>Profiles Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ProfilesTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getProfilesType()
+ * @generated
+ */
+ EClass PROFILES_TYPE = eINSTANCE.getProfilesType();
+
+ /**
+ * The meta object literal for the '<em><b>Profile</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PROFILES_TYPE__PROFILE = eINSTANCE.getProfilesType_Profile();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl <em>Profile Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getProfileType()
+ * @generated
+ */
+ EClass PROFILE_TYPE = eINSTANCE.getProfileType();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROFILE_TYPE__VALUE = eINSTANCE.getProfileType_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Base Profile</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROFILE_TYPE__BASE_PROFILE = eINSTANCE.getProfileType_BaseProfile();
+
+ /**
+ * The meta object literal for the '<em><b>Sub Profiles</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute PROFILE_TYPE__SUB_PROFILES = eINSTANCE.getProfileType_SubProfiles();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl <em>Reader Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getReaderType()
+ * @generated
+ */
+ EClass READER_TYPE = eINSTANCE.getReaderType();
+
+ /**
+ * The meta object literal for the '<em><b>Handlers</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference READER_TYPE__HANDLERS = eINSTANCE.getReaderType_Handlers();
+
+ /**
+ * The meta object literal for the '<em><b>Features</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference READER_TYPE__FEATURES = eINSTANCE.getReaderType_Features();
+
+ /**
+ * The meta object literal for the '<em><b>Params</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference READER_TYPE__PARAMS = eINSTANCE.getReaderType_Params();
+
+ /**
+ * The meta object literal for the '<em><b>Class</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute READER_TYPE__CLASS = eINSTANCE.getReaderType_Class();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl <em>Resource Config Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getResourceConfigType()
+ * @generated
+ */
+ EClass RESOURCE_CONFIG_TYPE = eINSTANCE.getResourceConfigType();
+
+ /**
+ * The meta object literal for the '<em><b>Resource</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_CONFIG_TYPE__RESOURCE = eINSTANCE.getResourceConfigType_Resource();
+
+ /**
+ * The meta object literal for the '<em><b>Condition</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_CONFIG_TYPE__CONDITION = eINSTANCE.getResourceConfigType_Condition();
+
+ /**
+ * The meta object literal for the '<em><b>Param</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference RESOURCE_CONFIG_TYPE__PARAM = eINSTANCE.getResourceConfigType_Param();
+
+ /**
+ * The meta object literal for the '<em><b>Selector</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_CONFIG_TYPE__SELECTOR = eINSTANCE.getResourceConfigType_Selector();
+
+ /**
+ * The meta object literal for the '<em><b>Selector Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE = eINSTANCE.getResourceConfigType_SelectorNamespace();
+
+ /**
+ * The meta object literal for the '<em><b>Target Profile</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_CONFIG_TYPE__TARGET_PROFILE = eINSTANCE.getResourceConfigType_TargetProfile();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.ResourceTypeImpl <em>Resource Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.ResourceTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getResourceType()
+ * @generated
+ */
+ EClass RESOURCE_TYPE = eINSTANCE.getResourceType();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_TYPE__VALUE = eINSTANCE.getResourceType_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute RESOURCE_TYPE__TYPE = eINSTANCE.getResourceType_Type();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.SetOffTypeImpl <em>Set Off Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.SetOffTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getSetOffType()
+ * @generated
+ */
+ EClass SET_OFF_TYPE = eINSTANCE.getSetOffType();
+
+ /**
+ * The meta object literal for the '<em><b>Feature</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SET_OFF_TYPE__FEATURE = eINSTANCE.getSetOffType_Feature();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.SetOnTypeImpl <em>Set On Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.SetOnTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getSetOnType()
+ * @generated
+ */
+ EClass SET_ON_TYPE = eINSTANCE.getSetOnType();
+
+ /**
+ * The meta object literal for the '<em><b>Feature</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SET_ON_TYPE__FEATURE = eINSTANCE.getSetOnType_Feature();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl <em>Resource List Type</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl
+ * @see org.jboss.tools.smooks.model.smooks.impl.SmooksPackageImpl#getSmooksResourceListType()
+ * @generated
+ */
+ EClass SMOOKS_RESOURCE_LIST_TYPE = eINSTANCE.getSmooksResourceListType();
+
+ /**
+ * The meta object literal for the '<em><b>Params</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SMOOKS_RESOURCE_LIST_TYPE__PARAMS = eINSTANCE.getSmooksResourceListType_Params();
+
+ /**
+ * The meta object literal for the '<em><b>Conditions</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS = eINSTANCE.getSmooksResourceListType_Conditions();
+
+ /**
+ * The meta object literal for the '<em><b>Profiles</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SMOOKS_RESOURCE_LIST_TYPE__PROFILES = eINSTANCE.getSmooksResourceListType_Profiles();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract Reader Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP = eINSTANCE.getSmooksResourceListType_AbstractReaderGroup();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract Reader</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER = eINSTANCE.getSmooksResourceListType_AbstractReader();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract Resource Config Group</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP = eINSTANCE.getSmooksResourceListType_AbstractResourceConfigGroup();
+
+ /**
+ * The meta object literal for the '<em><b>Abstract Resource Config</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG = eINSTANCE.getSmooksResourceListType_AbstractResourceConfig();
+
+ /**
+ * The meta object literal for the '<em><b>Default Condition Ref</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF = eINSTANCE.getSmooksResourceListType_DefaultConditionRef();
+
+ /**
+ * The meta object literal for the '<em><b>Default Selector</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR = eINSTANCE.getSmooksResourceListType_DefaultSelector();
+
+ /**
+ * The meta object literal for the '<em><b>Default Selector Namespace</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE = eINSTANCE.getSmooksResourceListType_DefaultSelectorNamespace();
+
+ /**
+ * The meta object literal for the '<em><b>Default Target Profile</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE = eINSTANCE.getSmooksResourceListType_DefaultTargetProfile();
+
+ }
+
+} //SmooksPackage
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksResourceListType.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksResourceListType.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksResourceListType.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,303 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks;
+
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Resource List Type</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * List of Smooks Resource Configuration.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getParams <em>Params</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getConditions <em>Conditions</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getProfiles <em>Profiles</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractReaderGroup <em>Abstract Reader Group</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractReader <em>Abstract Reader</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractResourceConfigGroup <em>Abstract Resource Config Group</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getAbstractResourceConfig <em>Abstract Resource Config</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultConditionRef <em>Default Condition Ref</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelector <em>Default Selector</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelectorNamespace <em>Default Selector Namespace</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultTargetProfile <em>Default Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType()
+ * @model extendedMetaData="name='smooks-resource-list_._type' kind='elementOnly'"
+ * @generated
+ */
+public interface SmooksResourceListType extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Params</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Params</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Params</em>' containment reference.
+ * @see #setParams(ParamsType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_Params()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='params' namespace='##targetNamespace'"
+ * @generated
+ */
+ ParamsType getParams();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getParams <em>Params</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Params</em>' containment reference.
+ * @see #getParams()
+ * @generated
+ */
+ void setParams(ParamsType value);
+
+ /**
+ * Returns the value of the '<em><b>Conditions</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Conditions</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Conditions</em>' containment reference.
+ * @see #setConditions(ConditionsType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_Conditions()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='conditions' namespace='##targetNamespace'"
+ * @generated
+ */
+ ConditionsType getConditions();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getConditions <em>Conditions</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Conditions</em>' containment reference.
+ * @see #getConditions()
+ * @generated
+ */
+ void setConditions(ConditionsType value);
+
+ /**
+ * Returns the value of the '<em><b>Profiles</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Profiles</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Profiles</em>' containment reference.
+ * @see #setProfiles(ProfilesType)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_Profiles()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='profiles' namespace='##targetNamespace'"
+ * @generated
+ */
+ ProfilesType getProfiles();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getProfiles <em>Profiles</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Profiles</em>' containment reference.
+ * @see #getProfiles()
+ * @generated
+ */
+ void setProfiles(ProfilesType value);
+
+ /**
+ * Returns the value of the '<em><b>Abstract Reader Group</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>Abstract Reader Group</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>Abstract Reader Group</em>' attribute list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_AbstractReaderGroup()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='abstract-reader:group' namespace='##targetNamespace'"
+ * @generated
+ */
+ FeatureMap getAbstractReaderGroup();
+
+ /**
+ * Returns the value of the '<em><b>Abstract Reader</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.AbstractReader}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Abstract Reader</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Abstract Reader</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_AbstractReader()
+ * @model containment="true" transient="true" changeable="false" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='abstract-reader' namespace='##targetNamespace' group='abstract-reader:group'"
+ * @generated
+ */
+ EList<AbstractReader> getAbstractReader();
+
+ /**
+ * Returns the value of the '<em><b>Abstract Resource Config Group</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>Abstract Resource Config Group</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>Abstract Resource Config Group</em>' attribute list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_AbstractResourceConfigGroup()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='group' name='abstract-resource-config:group' namespace='##targetNamespace'"
+ * @generated
+ */
+ FeatureMap getAbstractResourceConfigGroup();
+
+ /**
+ * Returns the value of the '<em><b>Abstract Resource Config</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.AbstractResourceConfig}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Abstract Resource Config</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Abstract Resource Config</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_AbstractResourceConfig()
+ * @model containment="true" transient="true" changeable="false" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='abstract-resource-config' namespace='##targetNamespace' group='abstract-resource-config:group'"
+ * @generated
+ */
+ EList<AbstractResourceConfig> getAbstractResourceConfig();
+
+ /**
+ * Returns the value of the '<em><b>Default Condition Ref</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Condition Ref</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Condition Ref</em>' attribute.
+ * @see #setDefaultConditionRef(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_DefaultConditionRef()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='default-condition-ref'"
+ * @generated
+ */
+ String getDefaultConditionRef();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultConditionRef <em>Default Condition Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Condition Ref</em>' attribute.
+ * @see #getDefaultConditionRef()
+ * @generated
+ */
+ void setDefaultConditionRef(String value);
+
+ /**
+ * Returns the value of the '<em><b>Default Selector</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Selector</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Selector</em>' attribute.
+ * @see #setDefaultSelector(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_DefaultSelector()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='default-selector'"
+ * @generated
+ */
+ String getDefaultSelector();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelector <em>Default Selector</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Selector</em>' attribute.
+ * @see #getDefaultSelector()
+ * @generated
+ */
+ void setDefaultSelector(String value);
+
+ /**
+ * Returns the value of the '<em><b>Default Selector Namespace</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Selector Namespace</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Selector Namespace</em>' attribute.
+ * @see #setDefaultSelectorNamespace(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_DefaultSelectorNamespace()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='default-selector-namespace'"
+ * @generated
+ */
+ String getDefaultSelectorNamespace();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultSelectorNamespace <em>Default Selector Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Selector Namespace</em>' attribute.
+ * @see #getDefaultSelectorNamespace()
+ * @generated
+ */
+ void setDefaultSelectorNamespace(String value);
+
+ /**
+ * Returns the value of the '<em><b>Default Target Profile</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Default Target Profile</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Default Target Profile</em>' attribute.
+ * @see #setDefaultTargetProfile(String)
+ * @see org.jboss.tools.smooks.model.smooks.SmooksPackage#getSmooksResourceListType_DefaultTargetProfile()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='default-target-profile'"
+ * @generated
+ */
+ String getDefaultTargetProfile();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType#getDefaultTargetProfile <em>Default Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Default Target Profile</em>' attribute.
+ * @see #getDefaultTargetProfile()
+ * @generated
+ */
+ void setDefaultTargetProfile(String value);
+
+} // SmooksResourceListType
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/SmooksResourceListType.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractReaderImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractReaderImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractReaderImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,166 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.AbstractReader;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Abstract Reader</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.AbstractReaderImpl#getTargetProfile <em>Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class AbstractReaderImpl extends AbstractResourceConfigImpl implements AbstractReader {
+ /**
+ * The default value of the '{@link #getTargetProfile() <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_PROFILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetProfile() <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected String targetProfile = TARGET_PROFILE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AbstractReaderImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.ABSTRACT_READER;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTargetProfile() {
+ return targetProfile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetProfile(String newTargetProfile) {
+ String oldTargetProfile = targetProfile;
+ targetProfile = newTargetProfile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.ABSTRACT_READER__TARGET_PROFILE, oldTargetProfile, targetProfile));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.ABSTRACT_READER__TARGET_PROFILE:
+ return getTargetProfile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.ABSTRACT_READER__TARGET_PROFILE:
+ setTargetProfile((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.ABSTRACT_READER__TARGET_PROFILE:
+ setTargetProfile(TARGET_PROFILE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.ABSTRACT_READER__TARGET_PROFILE:
+ return TARGET_PROFILE_EDEFAULT == null ? targetProfile != null : !TARGET_PROFILE_EDEFAULT.equals(targetProfile);
+ }
+ 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(" (targetProfile: ");
+ result.append(targetProfile);
+ result.append(')');
+ return result.toString();
+ }
+
+} //AbstractReaderImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractReaderImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractResourceConfigImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractResourceConfigImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractResourceConfigImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,45 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import org.eclipse.emf.ecore.EClass;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Abstract Resource Config</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class AbstractResourceConfigImpl extends AbstractAnyTypeImpl implements AbstractResourceConfig {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AbstractResourceConfigImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.ABSTRACT_RESOURCE_CONFIG;
+ }
+
+} //AbstractResourceConfigImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/AbstractResourceConfigImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,364 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ConditionType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Condition Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl#getEvaluator <em>Evaluator</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ConditionTypeImpl#getIdRef <em>Id Ref</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConditionTypeImpl extends AbstractAnyTypeImpl implements ConditionType {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getEvaluator() <em>Evaluator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEvaluator()
+ * @generated
+ * @ordered
+ */
+ protected static final String EVALUATOR_EDEFAULT = "org.milyn.javabean.expression.BeanMapExpressionEvaluator";
+
+ /**
+ * The cached value of the '{@link #getEvaluator() <em>Evaluator</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEvaluator()
+ * @generated
+ * @ordered
+ */
+ protected String evaluator = EVALUATOR_EDEFAULT;
+
+ /**
+ * This is true if the Evaluator attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean evaluatorESet;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getIdRef() <em>Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdRef()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_REF_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getIdRef() <em>Id Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getIdRef()
+ * @generated
+ * @ordered
+ */
+ protected String idRef = ID_REF_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConditionTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.CONDITION_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.CONDITION_TYPE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEvaluator() {
+ return evaluator;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEvaluator(String newEvaluator) {
+ String oldEvaluator = evaluator;
+ evaluator = newEvaluator;
+ boolean oldEvaluatorESet = evaluatorESet;
+ evaluatorESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.CONDITION_TYPE__EVALUATOR, oldEvaluator, evaluator, !oldEvaluatorESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetEvaluator() {
+ String oldEvaluator = evaluator;
+ boolean oldEvaluatorESet = evaluatorESet;
+ evaluator = EVALUATOR_EDEFAULT;
+ evaluatorESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, SmooksPackage.CONDITION_TYPE__EVALUATOR, oldEvaluator, EVALUATOR_EDEFAULT, oldEvaluatorESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetEvaluator() {
+ return evaluatorESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.CONDITION_TYPE__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getIdRef() {
+ return idRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setIdRef(String newIdRef) {
+ String oldIdRef = idRef;
+ idRef = newIdRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.CONDITION_TYPE__ID_REF, oldIdRef, idRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.CONDITION_TYPE__VALUE:
+ return getValue();
+ case SmooksPackage.CONDITION_TYPE__EVALUATOR:
+ return getEvaluator();
+ case SmooksPackage.CONDITION_TYPE__ID:
+ return getId();
+ case SmooksPackage.CONDITION_TYPE__ID_REF:
+ return getIdRef();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.CONDITION_TYPE__VALUE:
+ setValue((String)newValue);
+ return;
+ case SmooksPackage.CONDITION_TYPE__EVALUATOR:
+ setEvaluator((String)newValue);
+ return;
+ case SmooksPackage.CONDITION_TYPE__ID:
+ setId((String)newValue);
+ return;
+ case SmooksPackage.CONDITION_TYPE__ID_REF:
+ setIdRef((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.CONDITION_TYPE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case SmooksPackage.CONDITION_TYPE__EVALUATOR:
+ unsetEvaluator();
+ return;
+ case SmooksPackage.CONDITION_TYPE__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case SmooksPackage.CONDITION_TYPE__ID_REF:
+ setIdRef(ID_REF_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.CONDITION_TYPE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case SmooksPackage.CONDITION_TYPE__EVALUATOR:
+ return isSetEvaluator();
+ case SmooksPackage.CONDITION_TYPE__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case SmooksPackage.CONDITION_TYPE__ID_REF:
+ return ID_REF_EDEFAULT == null ? idRef != null : !ID_REF_EDEFAULT.equals(idRef);
+ }
+ 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(" (value: ");
+ result.append(value);
+ result.append(", evaluator: ");
+ if (evaluatorESet) result.append(evaluator); else result.append("<unset>");
+ result.append(", id: ");
+ result.append(id);
+ result.append(", idRef: ");
+ result.append(idRef);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ConditionTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionsTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionsTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionsTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,156 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ConditionType;
+import org.jboss.tools.smooks.model.smooks.ConditionsType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Conditions Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ConditionsTypeImpl#getCondition <em>Condition</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ConditionsTypeImpl extends AbstractAnyTypeImpl implements ConditionsType {
+ /**
+ * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition()
+ * @generated
+ * @ordered
+ */
+ protected EList<ConditionType> condition;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ConditionsTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.CONDITIONS_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ConditionType> getCondition() {
+ if (condition == null) {
+ condition = new EObjectContainmentEList<ConditionType>(ConditionType.class, this, SmooksPackage.CONDITIONS_TYPE__CONDITION);
+ }
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.CONDITIONS_TYPE__CONDITION:
+ return ((InternalEList<?>)getCondition()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.CONDITIONS_TYPE__CONDITION:
+ return getCondition();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.CONDITIONS_TYPE__CONDITION:
+ getCondition().clear();
+ getCondition().addAll((Collection<? extends ConditionType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.CONDITIONS_TYPE__CONDITION:
+ getCondition().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.CONDITIONS_TYPE__CONDITION:
+ return condition != null && !condition.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ConditionsTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ConditionsTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/DocumentRootImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/DocumentRootImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/DocumentRootImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,979 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.AbstractReader;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ConditionType;
+import org.jboss.tools.smooks.model.smooks.ConditionsType;
+import org.jboss.tools.smooks.model.smooks.DocumentRoot;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.smooks.FeaturesType;
+import org.jboss.tools.smooks.model.smooks.HandlerType;
+import org.jboss.tools.smooks.model.smooks.HandlersType;
+import org.jboss.tools.smooks.model.smooks.ImportType;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.ParamsType;
+import org.jboss.tools.smooks.model.smooks.ProfileType;
+import org.jboss.tools.smooks.model.smooks.ProfilesType;
+import org.jboss.tools.smooks.model.smooks.ReaderType;
+import org.jboss.tools.smooks.model.smooks.ResourceConfigType;
+import org.jboss.tools.smooks.model.smooks.ResourceType;
+import org.jboss.tools.smooks.model.smooks.SetOffType;
+import org.jboss.tools.smooks.model.smooks.SetOnType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
+
+
+/**
+ * <!-- 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.smooks.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getAbstractReader <em>Abstract Reader</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getAbstractResourceConfig <em>Abstract Resource Config</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getConditions <em>Conditions</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getElementVisitor <em>Element Visitor</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getFeatures <em>Features</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getHandler <em>Handler</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getHandlers <em>Handlers</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getImport <em>Import</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getParams <em>Params</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getProfile <em>Profile</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getProfiles <em>Profiles</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getReader <em>Reader</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getResource <em>Resource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getResourceConfig <em>Resource Config</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getSetOff <em>Set Off</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getSetOn <em>Set On</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.DocumentRootImpl#getSmooksResourceList <em>Smooks Resource List</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * 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 DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, SmooksPackage.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, SmooksPackage.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, SmooksPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractReader getAbstractReader() {
+ return (AbstractReader)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__ABSTRACT_READER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAbstractReader(AbstractReader newAbstractReader, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__ABSTRACT_READER, newAbstractReader, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractResourceConfig getAbstractResourceConfig() {
+ return (AbstractResourceConfig)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetAbstractResourceConfig(AbstractResourceConfig newAbstractResourceConfig, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG, newAbstractResourceConfig, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionType getCondition() {
+ return (ConditionType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__CONDITION, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCondition(ConditionType newCondition, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__CONDITION, newCondition, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition(ConditionType newCondition) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__CONDITION, newCondition);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionsType getConditions() {
+ return (ConditionsType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__CONDITIONS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConditions(ConditionsType newConditions, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__CONDITIONS, newConditions, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConditions(ConditionsType newConditions) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__CONDITIONS, newConditions);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ElementVisitor getElementVisitor() {
+ return (ElementVisitor)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__ELEMENT_VISITOR, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetElementVisitor(ElementVisitor newElementVisitor, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__ELEMENT_VISITOR, newElementVisitor, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeaturesType getFeatures() {
+ return (FeaturesType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__FEATURES, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFeatures(FeaturesType newFeatures, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__FEATURES, newFeatures, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFeatures(FeaturesType newFeatures) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__FEATURES, newFeatures);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HandlerType getHandler() {
+ return (HandlerType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__HANDLER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHandler(HandlerType newHandler, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__HANDLER, newHandler, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHandler(HandlerType newHandler) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__HANDLER, newHandler);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HandlersType getHandlers() {
+ return (HandlersType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__HANDLERS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHandlers(HandlersType newHandlers, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__HANDLERS, newHandlers, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHandlers(HandlersType newHandlers) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__HANDLERS, newHandlers);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ImportType getImport() {
+ return (ImportType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__IMPORT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetImport(ImportType newImport, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__IMPORT, newImport, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setImport(ImportType newImport) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__IMPORT, newImport);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParamType getParam() {
+ return (ParamType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__PARAM, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParam(ParamType newParam, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__PARAM, newParam, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParam(ParamType newParam) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__PARAM, newParam);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParamsType getParams() {
+ return (ParamsType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__PARAMS, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParams(ParamsType newParams, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__PARAMS, newParams, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParams(ParamsType newParams) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__PARAMS, newParams);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProfileType getProfile() {
+ return (ProfileType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__PROFILE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProfile(ProfileType newProfile, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__PROFILE, newProfile, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProfile(ProfileType newProfile) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__PROFILE, newProfile);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProfilesType getProfiles() {
+ return (ProfilesType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__PROFILES, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProfiles(ProfilesType newProfiles, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__PROFILES, newProfiles, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProfiles(ProfilesType newProfiles) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__PROFILES, newProfiles);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ReaderType getReader() {
+ return (ReaderType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__READER, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetReader(ReaderType newReader, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__READER, newReader, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReader(ReaderType newReader) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__READER, newReader);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceType getResource() {
+ return (ResourceType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__RESOURCE, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResource(ResourceType newResource, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__RESOURCE, newResource, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResource(ResourceType newResource) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__RESOURCE, newResource);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceConfigType getResourceConfig() {
+ return (ResourceConfigType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__RESOURCE_CONFIG, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResourceConfig(ResourceConfigType newResourceConfig, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__RESOURCE_CONFIG, newResourceConfig, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResourceConfig(ResourceConfigType newResourceConfig) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__RESOURCE_CONFIG, newResourceConfig);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SetOffType getSetOff() {
+ return (SetOffType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__SET_OFF, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSetOff(SetOffType newSetOff, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__SET_OFF, newSetOff, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSetOff(SetOffType newSetOff) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__SET_OFF, newSetOff);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SetOnType getSetOn() {
+ return (SetOnType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__SET_ON, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSetOn(SetOnType newSetOn, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__SET_ON, newSetOn, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSetOn(SetOnType newSetOn) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__SET_ON, newSetOn);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksResourceListType getSmooksResourceList() {
+ return (SmooksResourceListType)getMixed().get(SmooksPackage.Literals.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetSmooksResourceList(SmooksResourceListType newSmooksResourceList, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(SmooksPackage.Literals.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST, newSmooksResourceList, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSmooksResourceList(SmooksResourceListType newSmooksResourceList) {
+ ((FeatureMap.Internal)getMixed()).set(SmooksPackage.Literals.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST, newSmooksResourceList);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__ABSTRACT_READER:
+ return basicSetAbstractReader(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG:
+ return basicSetAbstractResourceConfig(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__CONDITION:
+ return basicSetCondition(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__CONDITIONS:
+ return basicSetConditions(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__ELEMENT_VISITOR:
+ return basicSetElementVisitor(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__FEATURES:
+ return basicSetFeatures(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__HANDLER:
+ return basicSetHandler(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__HANDLERS:
+ return basicSetHandlers(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__IMPORT:
+ return basicSetImport(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__PARAM:
+ return basicSetParam(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__PARAMS:
+ return basicSetParams(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__PROFILE:
+ return basicSetProfile(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__PROFILES:
+ return basicSetProfiles(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__READER:
+ return basicSetReader(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE:
+ return basicSetResource(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE_CONFIG:
+ return basicSetResourceConfig(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__SET_OFF:
+ return basicSetSetOff(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__SET_ON:
+ return basicSetSetOn(null, msgs);
+ case SmooksPackage.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST:
+ return basicSetSmooksResourceList(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 SmooksPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case SmooksPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case SmooksPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case SmooksPackage.DOCUMENT_ROOT__ABSTRACT_READER:
+ return getAbstractReader();
+ case SmooksPackage.DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG:
+ return getAbstractResourceConfig();
+ case SmooksPackage.DOCUMENT_ROOT__CONDITION:
+ return getCondition();
+ case SmooksPackage.DOCUMENT_ROOT__CONDITIONS:
+ return getConditions();
+ case SmooksPackage.DOCUMENT_ROOT__ELEMENT_VISITOR:
+ return getElementVisitor();
+ case SmooksPackage.DOCUMENT_ROOT__FEATURES:
+ return getFeatures();
+ case SmooksPackage.DOCUMENT_ROOT__HANDLER:
+ return getHandler();
+ case SmooksPackage.DOCUMENT_ROOT__HANDLERS:
+ return getHandlers();
+ case SmooksPackage.DOCUMENT_ROOT__IMPORT:
+ return getImport();
+ case SmooksPackage.DOCUMENT_ROOT__PARAM:
+ return getParam();
+ case SmooksPackage.DOCUMENT_ROOT__PARAMS:
+ return getParams();
+ case SmooksPackage.DOCUMENT_ROOT__PROFILE:
+ return getProfile();
+ case SmooksPackage.DOCUMENT_ROOT__PROFILES:
+ return getProfiles();
+ case SmooksPackage.DOCUMENT_ROOT__READER:
+ return getReader();
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE:
+ return getResource();
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE_CONFIG:
+ return getResourceConfig();
+ case SmooksPackage.DOCUMENT_ROOT__SET_OFF:
+ return getSetOff();
+ case SmooksPackage.DOCUMENT_ROOT__SET_ON:
+ return getSetOn();
+ case SmooksPackage.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST:
+ return getSmooksResourceList();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__CONDITION:
+ setCondition((ConditionType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__CONDITIONS:
+ setConditions((ConditionsType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__FEATURES:
+ setFeatures((FeaturesType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__HANDLER:
+ setHandler((HandlerType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__HANDLERS:
+ setHandlers((HandlersType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__IMPORT:
+ setImport((ImportType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PARAM:
+ setParam((ParamType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PARAMS:
+ setParams((ParamsType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PROFILE:
+ setProfile((ProfileType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PROFILES:
+ setProfiles((ProfilesType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__READER:
+ setReader((ReaderType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE:
+ setResource((ResourceType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE_CONFIG:
+ setResourceConfig((ResourceConfigType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__SET_OFF:
+ setSetOff((SetOffType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__SET_ON:
+ setSetOn((SetOnType)newValue);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST:
+ setSmooksResourceList((SmooksResourceListType)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__CONDITION:
+ setCondition((ConditionType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__CONDITIONS:
+ setConditions((ConditionsType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__FEATURES:
+ setFeatures((FeaturesType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__HANDLER:
+ setHandler((HandlerType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__HANDLERS:
+ setHandlers((HandlersType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__IMPORT:
+ setImport((ImportType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PARAM:
+ setParam((ParamType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PARAMS:
+ setParams((ParamsType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PROFILE:
+ setProfile((ProfileType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__PROFILES:
+ setProfiles((ProfilesType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__READER:
+ setReader((ReaderType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE:
+ setResource((ResourceType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE_CONFIG:
+ setResourceConfig((ResourceConfigType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__SET_OFF:
+ setSetOff((SetOffType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__SET_ON:
+ setSetOn((SetOnType)null);
+ return;
+ case SmooksPackage.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST:
+ setSmooksResourceList((SmooksResourceListType)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case SmooksPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case SmooksPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case SmooksPackage.DOCUMENT_ROOT__ABSTRACT_READER:
+ return getAbstractReader() != null;
+ case SmooksPackage.DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG:
+ return getAbstractResourceConfig() != null;
+ case SmooksPackage.DOCUMENT_ROOT__CONDITION:
+ return getCondition() != null;
+ case SmooksPackage.DOCUMENT_ROOT__CONDITIONS:
+ return getConditions() != null;
+ case SmooksPackage.DOCUMENT_ROOT__ELEMENT_VISITOR:
+ return getElementVisitor() != null;
+ case SmooksPackage.DOCUMENT_ROOT__FEATURES:
+ return getFeatures() != null;
+ case SmooksPackage.DOCUMENT_ROOT__HANDLER:
+ return getHandler() != null;
+ case SmooksPackage.DOCUMENT_ROOT__HANDLERS:
+ return getHandlers() != null;
+ case SmooksPackage.DOCUMENT_ROOT__IMPORT:
+ return getImport() != null;
+ case SmooksPackage.DOCUMENT_ROOT__PARAM:
+ return getParam() != null;
+ case SmooksPackage.DOCUMENT_ROOT__PARAMS:
+ return getParams() != null;
+ case SmooksPackage.DOCUMENT_ROOT__PROFILE:
+ return getProfile() != null;
+ case SmooksPackage.DOCUMENT_ROOT__PROFILES:
+ return getProfiles() != null;
+ case SmooksPackage.DOCUMENT_ROOT__READER:
+ return getReader() != null;
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE:
+ return getResource() != null;
+ case SmooksPackage.DOCUMENT_ROOT__RESOURCE_CONFIG:
+ return getResourceConfig() != null;
+ case SmooksPackage.DOCUMENT_ROOT__SET_OFF:
+ return getSetOff() != null;
+ case SmooksPackage.DOCUMENT_ROOT__SET_ON:
+ return getSetOn() != null;
+ case SmooksPackage.DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST:
+ return getSmooksResourceList() != 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();
+ }
+
+} //DocumentRootImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/DocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ElementVisitorImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ElementVisitorImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ElementVisitorImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,247 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.smooks.ConditionType;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Element Visitor</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl#getTargetProfile <em>Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public abstract class ElementVisitorImpl extends AbstractResourceConfigImpl implements ElementVisitor {
+ /**
+ * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition()
+ * @generated
+ * @ordered
+ */
+ protected ConditionType condition;
+
+ /**
+ * The default value of the '{@link #getTargetProfile() <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_PROFILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetProfile() <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected String targetProfile = TARGET_PROFILE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ElementVisitorImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.ELEMENT_VISITOR;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionType getCondition() {
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCondition(ConditionType newCondition, NotificationChain msgs) {
+ ConditionType oldCondition = condition;
+ condition = newCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.ELEMENT_VISITOR__CONDITION, oldCondition, newCondition);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition(ConditionType newCondition) {
+ if (newCondition != condition) {
+ NotificationChain msgs = null;
+ if (condition != null)
+ msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.ELEMENT_VISITOR__CONDITION, null, msgs);
+ if (newCondition != null)
+ msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.ELEMENT_VISITOR__CONDITION, null, msgs);
+ msgs = basicSetCondition(newCondition, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.ELEMENT_VISITOR__CONDITION, newCondition, newCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTargetProfile() {
+ return targetProfile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetProfile(String newTargetProfile) {
+ String oldTargetProfile = targetProfile;
+ targetProfile = newTargetProfile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE, oldTargetProfile, targetProfile));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.ELEMENT_VISITOR__CONDITION:
+ return basicSetCondition(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 SmooksPackage.ELEMENT_VISITOR__CONDITION:
+ return getCondition();
+ case SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE:
+ return getTargetProfile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.ELEMENT_VISITOR__CONDITION:
+ setCondition((ConditionType)newValue);
+ return;
+ case SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE:
+ setTargetProfile((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.ELEMENT_VISITOR__CONDITION:
+ setCondition((ConditionType)null);
+ return;
+ case SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE:
+ setTargetProfile(TARGET_PROFILE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.ELEMENT_VISITOR__CONDITION:
+ return condition != null;
+ case SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE:
+ return TARGET_PROFILE_EDEFAULT == null ? targetProfile != null : !TARGET_PROFILE_EDEFAULT.equals(targetProfile);
+ }
+ 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(" (targetProfile: ");
+ result.append(targetProfile);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ElementVisitorImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ElementVisitorImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/FeaturesTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/FeaturesTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/FeaturesTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,193 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.FeaturesType;
+import org.jboss.tools.smooks.model.smooks.SetOffType;
+import org.jboss.tools.smooks.model.smooks.SetOnType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Features Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.FeaturesTypeImpl#getSetOn <em>Set On</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.FeaturesTypeImpl#getSetOff <em>Set Off</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class FeaturesTypeImpl extends AbstractAnyTypeImpl implements FeaturesType {
+ /**
+ * The cached value of the '{@link #getSetOn() <em>Set On</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetOn()
+ * @generated
+ * @ordered
+ */
+ protected EList<SetOnType> setOn;
+
+ /**
+ * The cached value of the '{@link #getSetOff() <em>Set Off</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSetOff()
+ * @generated
+ * @ordered
+ */
+ protected EList<SetOffType> setOff;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected FeaturesTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.FEATURES_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<SetOnType> getSetOn() {
+ if (setOn == null) {
+ setOn = new EObjectContainmentEList<SetOnType>(SetOnType.class, this, SmooksPackage.FEATURES_TYPE__SET_ON);
+ }
+ return setOn;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<SetOffType> getSetOff() {
+ if (setOff == null) {
+ setOff = new EObjectContainmentEList<SetOffType>(SetOffType.class, this, SmooksPackage.FEATURES_TYPE__SET_OFF);
+ }
+ return setOff;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.FEATURES_TYPE__SET_ON:
+ return ((InternalEList<?>)getSetOn()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.FEATURES_TYPE__SET_OFF:
+ return ((InternalEList<?>)getSetOff()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.FEATURES_TYPE__SET_ON:
+ return getSetOn();
+ case SmooksPackage.FEATURES_TYPE__SET_OFF:
+ return getSetOff();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.FEATURES_TYPE__SET_ON:
+ getSetOn().clear();
+ getSetOn().addAll((Collection<? extends SetOnType>)newValue);
+ return;
+ case SmooksPackage.FEATURES_TYPE__SET_OFF:
+ getSetOff().clear();
+ getSetOff().addAll((Collection<? extends SetOffType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.FEATURES_TYPE__SET_ON:
+ getSetOn().clear();
+ return;
+ case SmooksPackage.FEATURES_TYPE__SET_OFF:
+ getSetOff().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.FEATURES_TYPE__SET_ON:
+ return setOn != null && !setOn.isEmpty();
+ case SmooksPackage.FEATURES_TYPE__SET_OFF:
+ return setOff != null && !setOff.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //FeaturesTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/FeaturesTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlerTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlerTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlerTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.HandlerType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Handler Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.HandlerTypeImpl#getClass_ <em>Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class HandlerTypeImpl extends AbstractAnyTypeImpl implements HandlerType {
+ /**
+ * The default value of the '{@link #getClass_() <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClass_()
+ * @generated
+ * @ordered
+ */
+ protected static final String CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClass_()
+ * @generated
+ * @ordered
+ */
+ protected String class_ = CLASS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HandlerTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.HANDLER_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getClass_() {
+ return class_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setClass(String newClass) {
+ String oldClass = class_;
+ class_ = newClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.HANDLER_TYPE__CLASS, oldClass, class_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.HANDLER_TYPE__CLASS:
+ return getClass_();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.HANDLER_TYPE__CLASS:
+ setClass((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.HANDLER_TYPE__CLASS:
+ setClass(CLASS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.HANDLER_TYPE__CLASS:
+ return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_);
+ }
+ 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(" (class: ");
+ result.append(class_);
+ result.append(')');
+ return result.toString();
+ }
+
+} //HandlerTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlerTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlersTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlersTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlersTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,156 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.HandlerType;
+import org.jboss.tools.smooks.model.smooks.HandlersType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Handlers Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.HandlersTypeImpl#getHandler <em>Handler</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class HandlersTypeImpl extends AbstractAnyTypeImpl implements HandlersType {
+ /**
+ * The cached value of the '{@link #getHandler() <em>Handler</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHandler()
+ * @generated
+ * @ordered
+ */
+ protected EList<HandlerType> handler;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HandlersTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.HANDLERS_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<HandlerType> getHandler() {
+ if (handler == null) {
+ handler = new EObjectContainmentEList<HandlerType>(HandlerType.class, this, SmooksPackage.HANDLERS_TYPE__HANDLER);
+ }
+ return handler;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.HANDLERS_TYPE__HANDLER:
+ return ((InternalEList<?>)getHandler()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.HANDLERS_TYPE__HANDLER:
+ return getHandler();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.HANDLERS_TYPE__HANDLER:
+ getHandler().clear();
+ getHandler().addAll((Collection<? extends HandlerType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.HANDLERS_TYPE__HANDLER:
+ getHandler().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.HANDLERS_TYPE__HANDLER:
+ return handler != null && !handler.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //HandlersTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/HandlersTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ImportTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ImportTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ImportTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,225 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.smooks.ImportType;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Import Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ImportTypeImpl#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ImportTypeImpl#getFile <em>File</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ImportTypeImpl extends AbstractResourceConfigImpl implements ImportType {
+ /**
+ * The cached value of the '{@link #getParam() <em>Param</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParam()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParamType> param;
+
+ /**
+ * The default value of the '{@link #getFile() <em>File</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFile()
+ * @generated
+ * @ordered
+ */
+ protected static final String FILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFile() <em>File</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFile()
+ * @generated
+ * @ordered
+ */
+ protected String file = FILE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ImportTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.IMPORT_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ParamType> getParam() {
+ if (param == null) {
+ param = new EObjectContainmentEList<ParamType>(ParamType.class, this, SmooksPackage.IMPORT_TYPE__PARAM);
+ }
+ return param;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFile() {
+ return file;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFile(String newFile) {
+ String oldFile = file;
+ file = newFile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.IMPORT_TYPE__FILE, oldFile, file));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.IMPORT_TYPE__PARAM:
+ return ((InternalEList<?>)getParam()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.IMPORT_TYPE__PARAM:
+ return getParam();
+ case SmooksPackage.IMPORT_TYPE__FILE:
+ return getFile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.IMPORT_TYPE__PARAM:
+ getParam().clear();
+ getParam().addAll((Collection<? extends ParamType>)newValue);
+ return;
+ case SmooksPackage.IMPORT_TYPE__FILE:
+ setFile((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.IMPORT_TYPE__PARAM:
+ getParam().clear();
+ return;
+ case SmooksPackage.IMPORT_TYPE__FILE:
+ setFile(FILE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.IMPORT_TYPE__PARAM:
+ return param != null && !param.isEmpty();
+ case SmooksPackage.IMPORT_TYPE__FILE:
+ return FILE_EDEFAULT == null ? file != null : !FILE_EDEFAULT.equals(file);
+ }
+ 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(" (file: ");
+ result.append(file);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ImportTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ImportTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,222 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Param Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ParamTypeImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ParamTypeImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ParamTypeImpl extends AbstractAnyTypeImpl implements ParamType {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ParamTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.PARAM_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.PARAM_TYPE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.PARAM_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.PARAM_TYPE__NAME:
+ return getName();
+ case SmooksPackage.PARAM_TYPE__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.PARAM_TYPE__NAME:
+ setName((String)newValue);
+ return;
+ case SmooksPackage.PARAM_TYPE__TYPE:
+ setType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PARAM_TYPE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case SmooksPackage.PARAM_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PARAM_TYPE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case SmooksPackage.PARAM_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ }
+ 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(" (name: ");
+ result.append(name);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ParamTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamsTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamsTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamsTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,156 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.ParamsType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Params Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ParamsTypeImpl#getParam <em>Param</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ParamsTypeImpl extends AbstractAnyTypeImpl implements ParamsType {
+ /**
+ * The cached value of the '{@link #getParam() <em>Param</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParam()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParamType> param;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ParamsTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.PARAMS_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ParamType> getParam() {
+ if (param == null) {
+ param = new EObjectContainmentEList<ParamType>(ParamType.class, this, SmooksPackage.PARAMS_TYPE__PARAM);
+ }
+ return param;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.PARAMS_TYPE__PARAM:
+ return ((InternalEList<?>)getParam()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.PARAMS_TYPE__PARAM:
+ return getParam();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.PARAMS_TYPE__PARAM:
+ getParam().clear();
+ getParam().addAll((Collection<? extends ParamType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PARAMS_TYPE__PARAM:
+ getParam().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PARAMS_TYPE__PARAM:
+ return param != null && !param.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ParamsTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ParamsTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfileTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfileTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfileTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,276 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ProfileType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Profile Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl#getBaseProfile <em>Base Profile</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ProfileTypeImpl#getSubProfiles <em>Sub Profiles</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProfileTypeImpl extends AbstractAnyTypeImpl implements ProfileType {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getBaseProfile() <em>Base Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBaseProfile()
+ * @generated
+ * @ordered
+ */
+ protected static final String BASE_PROFILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getBaseProfile() <em>Base Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBaseProfile()
+ * @generated
+ * @ordered
+ */
+ protected String baseProfile = BASE_PROFILE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSubProfiles() <em>Sub Profiles</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubProfiles()
+ * @generated
+ * @ordered
+ */
+ protected static final String SUB_PROFILES_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSubProfiles() <em>Sub Profiles</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSubProfiles()
+ * @generated
+ * @ordered
+ */
+ protected String subProfiles = SUB_PROFILES_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProfileTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.PROFILE_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.PROFILE_TYPE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getBaseProfile() {
+ return baseProfile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBaseProfile(String newBaseProfile) {
+ String oldBaseProfile = baseProfile;
+ baseProfile = newBaseProfile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.PROFILE_TYPE__BASE_PROFILE, oldBaseProfile, baseProfile));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSubProfiles() {
+ return subProfiles;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSubProfiles(String newSubProfiles) {
+ String oldSubProfiles = subProfiles;
+ subProfiles = newSubProfiles;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.PROFILE_TYPE__SUB_PROFILES, oldSubProfiles, subProfiles));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.PROFILE_TYPE__VALUE:
+ return getValue();
+ case SmooksPackage.PROFILE_TYPE__BASE_PROFILE:
+ return getBaseProfile();
+ case SmooksPackage.PROFILE_TYPE__SUB_PROFILES:
+ return getSubProfiles();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.PROFILE_TYPE__VALUE:
+ setValue((String)newValue);
+ return;
+ case SmooksPackage.PROFILE_TYPE__BASE_PROFILE:
+ setBaseProfile((String)newValue);
+ return;
+ case SmooksPackage.PROFILE_TYPE__SUB_PROFILES:
+ setSubProfiles((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PROFILE_TYPE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case SmooksPackage.PROFILE_TYPE__BASE_PROFILE:
+ setBaseProfile(BASE_PROFILE_EDEFAULT);
+ return;
+ case SmooksPackage.PROFILE_TYPE__SUB_PROFILES:
+ setSubProfiles(SUB_PROFILES_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PROFILE_TYPE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case SmooksPackage.PROFILE_TYPE__BASE_PROFILE:
+ return BASE_PROFILE_EDEFAULT == null ? baseProfile != null : !BASE_PROFILE_EDEFAULT.equals(baseProfile);
+ case SmooksPackage.PROFILE_TYPE__SUB_PROFILES:
+ return SUB_PROFILES_EDEFAULT == null ? subProfiles != null : !SUB_PROFILES_EDEFAULT.equals(subProfiles);
+ }
+ 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(" (value: ");
+ result.append(value);
+ result.append(", baseProfile: ");
+ result.append(baseProfile);
+ result.append(", subProfiles: ");
+ result.append(subProfiles);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ProfileTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfileTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfilesTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfilesTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfilesTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,156 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ProfileType;
+import org.jboss.tools.smooks.model.smooks.ProfilesType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Profiles Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ProfilesTypeImpl#getProfile <em>Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ProfilesTypeImpl extends AbstractAnyTypeImpl implements ProfilesType {
+ /**
+ * The cached value of the '{@link #getProfile() <em>Profile</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProfile()
+ * @generated
+ * @ordered
+ */
+ protected EList<ProfileType> profile;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ProfilesTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.PROFILES_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ProfileType> getProfile() {
+ if (profile == null) {
+ profile = new EObjectContainmentEList<ProfileType>(ProfileType.class, this, SmooksPackage.PROFILES_TYPE__PROFILE);
+ }
+ return profile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.PROFILES_TYPE__PROFILE:
+ return ((InternalEList<?>)getProfile()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.PROFILES_TYPE__PROFILE:
+ return getProfile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.PROFILES_TYPE__PROFILE:
+ getProfile().clear();
+ getProfile().addAll((Collection<? extends ProfileType>)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PROFILES_TYPE__PROFILE:
+ getProfile().clear();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.PROFILES_TYPE__PROFILE:
+ return profile != null && !profile.isEmpty();
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //ProfilesTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ProfilesTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ReaderTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ReaderTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ReaderTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,381 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.smooks.FeaturesType;
+import org.jboss.tools.smooks.model.smooks.HandlersType;
+import org.jboss.tools.smooks.model.smooks.ParamsType;
+import org.jboss.tools.smooks.model.smooks.ReaderType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Reader Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl#getHandlers <em>Handlers</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl#getFeatures <em>Features</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl#getParams <em>Params</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ReaderTypeImpl#getClass_ <em>Class</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ReaderTypeImpl extends AbstractReaderImpl implements ReaderType {
+ /**
+ * The cached value of the '{@link #getHandlers() <em>Handlers</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getHandlers()
+ * @generated
+ * @ordered
+ */
+ protected HandlersType handlers;
+
+ /**
+ * The cached value of the '{@link #getFeatures() <em>Features</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeatures()
+ * @generated
+ * @ordered
+ */
+ protected FeaturesType features;
+
+ /**
+ * The cached value of the '{@link #getParams() <em>Params</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParams()
+ * @generated
+ * @ordered
+ */
+ protected ParamsType params;
+
+ /**
+ * The default value of the '{@link #getClass_() <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClass_()
+ * @generated
+ * @ordered
+ */
+ protected static final String CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getClass_() <em>Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getClass_()
+ * @generated
+ * @ordered
+ */
+ protected String class_ = CLASS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ReaderTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.READER_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HandlersType getHandlers() {
+ return handlers;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetHandlers(HandlersType newHandlers, NotificationChain msgs) {
+ HandlersType oldHandlers = handlers;
+ handlers = newHandlers;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__HANDLERS, oldHandlers, newHandlers);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setHandlers(HandlersType newHandlers) {
+ if (newHandlers != handlers) {
+ NotificationChain msgs = null;
+ if (handlers != null)
+ msgs = ((InternalEObject)handlers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.READER_TYPE__HANDLERS, null, msgs);
+ if (newHandlers != null)
+ msgs = ((InternalEObject)newHandlers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.READER_TYPE__HANDLERS, null, msgs);
+ msgs = basicSetHandlers(newHandlers, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__HANDLERS, newHandlers, newHandlers));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeaturesType getFeatures() {
+ return features;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetFeatures(FeaturesType newFeatures, NotificationChain msgs) {
+ FeaturesType oldFeatures = features;
+ features = newFeatures;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__FEATURES, oldFeatures, newFeatures);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFeatures(FeaturesType newFeatures) {
+ if (newFeatures != features) {
+ NotificationChain msgs = null;
+ if (features != null)
+ msgs = ((InternalEObject)features).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.READER_TYPE__FEATURES, null, msgs);
+ if (newFeatures != null)
+ msgs = ((InternalEObject)newFeatures).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.READER_TYPE__FEATURES, null, msgs);
+ msgs = basicSetFeatures(newFeatures, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__FEATURES, newFeatures, newFeatures));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParamsType getParams() {
+ return params;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParams(ParamsType newParams, NotificationChain msgs) {
+ ParamsType oldParams = params;
+ params = newParams;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__PARAMS, oldParams, newParams);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParams(ParamsType newParams) {
+ if (newParams != params) {
+ NotificationChain msgs = null;
+ if (params != null)
+ msgs = ((InternalEObject)params).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.READER_TYPE__PARAMS, null, msgs);
+ if (newParams != null)
+ msgs = ((InternalEObject)newParams).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.READER_TYPE__PARAMS, null, msgs);
+ msgs = basicSetParams(newParams, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__PARAMS, newParams, newParams));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getClass_() {
+ return class_;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setClass(String newClass) {
+ String oldClass = class_;
+ class_ = newClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.READER_TYPE__CLASS, oldClass, class_));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.READER_TYPE__HANDLERS:
+ return basicSetHandlers(null, msgs);
+ case SmooksPackage.READER_TYPE__FEATURES:
+ return basicSetFeatures(null, msgs);
+ case SmooksPackage.READER_TYPE__PARAMS:
+ return basicSetParams(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 SmooksPackage.READER_TYPE__HANDLERS:
+ return getHandlers();
+ case SmooksPackage.READER_TYPE__FEATURES:
+ return getFeatures();
+ case SmooksPackage.READER_TYPE__PARAMS:
+ return getParams();
+ case SmooksPackage.READER_TYPE__CLASS:
+ return getClass_();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.READER_TYPE__HANDLERS:
+ setHandlers((HandlersType)newValue);
+ return;
+ case SmooksPackage.READER_TYPE__FEATURES:
+ setFeatures((FeaturesType)newValue);
+ return;
+ case SmooksPackage.READER_TYPE__PARAMS:
+ setParams((ParamsType)newValue);
+ return;
+ case SmooksPackage.READER_TYPE__CLASS:
+ setClass((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.READER_TYPE__HANDLERS:
+ setHandlers((HandlersType)null);
+ return;
+ case SmooksPackage.READER_TYPE__FEATURES:
+ setFeatures((FeaturesType)null);
+ return;
+ case SmooksPackage.READER_TYPE__PARAMS:
+ setParams((ParamsType)null);
+ return;
+ case SmooksPackage.READER_TYPE__CLASS:
+ setClass(CLASS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.READER_TYPE__HANDLERS:
+ return handlers != null;
+ case SmooksPackage.READER_TYPE__FEATURES:
+ return features != null;
+ case SmooksPackage.READER_TYPE__PARAMS:
+ return params != null;
+ case SmooksPackage.READER_TYPE__CLASS:
+ return CLASS_EDEFAULT == null ? class_ != null : !CLASS_EDEFAULT.equals(class_);
+ }
+ 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(" (class: ");
+ result.append(class_);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ReaderTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ReaderTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceConfigTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceConfigTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceConfigTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,467 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.smooks.ConditionType;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.ResourceConfigType;
+import org.jboss.tools.smooks.model.smooks.ResourceType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource Config Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl#getResource <em>Resource</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl#getCondition <em>Condition</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl#getSelector <em>Selector</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl#getSelectorNamespace <em>Selector Namespace</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceConfigTypeImpl#getTargetProfile <em>Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceConfigTypeImpl extends AbstractResourceConfigImpl implements ResourceConfigType {
+ /**
+ * The cached value of the '{@link #getResource() <em>Resource</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getResource()
+ * @generated
+ * @ordered
+ */
+ protected ResourceType resource;
+
+ /**
+ * The cached value of the '{@link #getCondition() <em>Condition</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCondition()
+ * @generated
+ * @ordered
+ */
+ protected ConditionType condition;
+
+ /**
+ * The cached value of the '{@link #getParam() <em>Param</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParam()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParamType> param;
+
+ /**
+ * The default value of the '{@link #getSelector() <em>Selector</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSelector()
+ * @generated
+ * @ordered
+ */
+ protected static final String SELECTOR_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSelector() <em>Selector</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSelector()
+ * @generated
+ * @ordered
+ */
+ protected String selector = SELECTOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getSelectorNamespace() <em>Selector Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSelectorNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String SELECTOR_NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getSelectorNamespace() <em>Selector Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSelectorNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String selectorNamespace = SELECTOR_NAMESPACE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getTargetProfile() <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected static final String TARGET_PROFILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getTargetProfile() <em>Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected String targetProfile = TARGET_PROFILE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceConfigTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.RESOURCE_CONFIG_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceType getResource() {
+ return resource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetResource(ResourceType newResource, NotificationChain msgs) {
+ ResourceType oldResource = resource;
+ resource = newResource;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE, oldResource, newResource);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setResource(ResourceType newResource) {
+ if (newResource != resource) {
+ NotificationChain msgs = null;
+ if (resource != null)
+ msgs = ((InternalEObject)resource).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE, null, msgs);
+ if (newResource != null)
+ msgs = ((InternalEObject)newResource).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE, null, msgs);
+ msgs = basicSetResource(newResource, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE, newResource, newResource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionType getCondition() {
+ return condition;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetCondition(ConditionType newCondition, NotificationChain msgs) {
+ ConditionType oldCondition = condition;
+ condition = newCondition;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION, oldCondition, newCondition);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCondition(ConditionType newCondition) {
+ if (newCondition != condition) {
+ NotificationChain msgs = null;
+ if (condition != null)
+ msgs = ((InternalEObject)condition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION, null, msgs);
+ if (newCondition != null)
+ msgs = ((InternalEObject)newCondition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION, null, msgs);
+ msgs = basicSetCondition(newCondition, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION, newCondition, newCondition));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ParamType> getParam() {
+ if (param == null) {
+ param = new EObjectContainmentEList<ParamType>(ParamType.class, this, SmooksPackage.RESOURCE_CONFIG_TYPE__PARAM);
+ }
+ return param;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSelector() {
+ return selector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSelector(String newSelector) {
+ String oldSelector = selector;
+ selector = newSelector;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR, oldSelector, selector));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getSelectorNamespace() {
+ return selectorNamespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSelectorNamespace(String newSelectorNamespace) {
+ String oldSelectorNamespace = selectorNamespace;
+ selectorNamespace = newSelectorNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE, oldSelectorNamespace, selectorNamespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getTargetProfile() {
+ return targetProfile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTargetProfile(String newTargetProfile) {
+ String oldTargetProfile = targetProfile;
+ targetProfile = newTargetProfile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_CONFIG_TYPE__TARGET_PROFILE, oldTargetProfile, targetProfile));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE:
+ return basicSetResource(null, msgs);
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION:
+ return basicSetCondition(null, msgs);
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__PARAM:
+ return ((InternalEList<?>)getParam()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE:
+ return getResource();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION:
+ return getCondition();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__PARAM:
+ return getParam();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR:
+ return getSelector();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE:
+ return getSelectorNamespace();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__TARGET_PROFILE:
+ return getTargetProfile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE:
+ setResource((ResourceType)newValue);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION:
+ setCondition((ConditionType)newValue);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__PARAM:
+ getParam().clear();
+ getParam().addAll((Collection<? extends ParamType>)newValue);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR:
+ setSelector((String)newValue);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE:
+ setSelectorNamespace((String)newValue);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__TARGET_PROFILE:
+ setTargetProfile((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE:
+ setResource((ResourceType)null);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION:
+ setCondition((ConditionType)null);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__PARAM:
+ getParam().clear();
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR:
+ setSelector(SELECTOR_EDEFAULT);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE:
+ setSelectorNamespace(SELECTOR_NAMESPACE_EDEFAULT);
+ return;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__TARGET_PROFILE:
+ setTargetProfile(TARGET_PROFILE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__RESOURCE:
+ return resource != null;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__CONDITION:
+ return condition != null;
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__PARAM:
+ return param != null && !param.isEmpty();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR:
+ return SELECTOR_EDEFAULT == null ? selector != null : !SELECTOR_EDEFAULT.equals(selector);
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE:
+ return SELECTOR_NAMESPACE_EDEFAULT == null ? selectorNamespace != null : !SELECTOR_NAMESPACE_EDEFAULT.equals(selectorNamespace);
+ case SmooksPackage.RESOURCE_CONFIG_TYPE__TARGET_PROFILE:
+ return TARGET_PROFILE_EDEFAULT == null ? targetProfile != null : !TARGET_PROFILE_EDEFAULT.equals(targetProfile);
+ }
+ 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(" (selector: ");
+ result.append(selector);
+ result.append(", selectorNamespace: ");
+ result.append(selectorNamespace);
+ result.append(", targetProfile: ");
+ result.append(targetProfile);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ResourceConfigTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceConfigTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,222 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.ResourceType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceTypeImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.ResourceTypeImpl#getType <em>Type</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class ResourceTypeImpl extends AbstractAnyTypeImpl implements ResourceType {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected static final String TYPE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected String type = TYPE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ResourceTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.RESOURCE_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_TYPE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(String newType) {
+ String oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.RESOURCE_TYPE__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_TYPE__VALUE:
+ return getValue();
+ case SmooksPackage.RESOURCE_TYPE__TYPE:
+ return getType();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_TYPE__VALUE:
+ setValue((String)newValue);
+ return;
+ case SmooksPackage.RESOURCE_TYPE__TYPE:
+ setType((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_TYPE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case SmooksPackage.RESOURCE_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.RESOURCE_TYPE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case SmooksPackage.RESOURCE_TYPE__TYPE:
+ return TYPE_EDEFAULT == null ? type != null : !TYPE_EDEFAULT.equals(type);
+ }
+ 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(" (value: ");
+ result.append(value);
+ result.append(", type: ");
+ result.append(type);
+ result.append(')');
+ return result.toString();
+ }
+
+} //ResourceTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/ResourceTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOffTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOffTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOffTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.SetOffType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Set Off Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SetOffTypeImpl#getFeature <em>Feature</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SetOffTypeImpl extends AbstractAnyTypeImpl implements SetOffType {
+ /**
+ * The default value of the '{@link #getFeature() <em>Feature</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeature()
+ * @generated
+ * @ordered
+ */
+ protected static final String FEATURE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFeature() <em>Feature</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeature()
+ * @generated
+ * @ordered
+ */
+ protected String feature = FEATURE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SetOffTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.SET_OFF_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFeature() {
+ return feature;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFeature(String newFeature) {
+ String oldFeature = feature;
+ feature = newFeature;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SET_OFF_TYPE__FEATURE, oldFeature, feature));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.SET_OFF_TYPE__FEATURE:
+ return getFeature();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.SET_OFF_TYPE__FEATURE:
+ setFeature((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.SET_OFF_TYPE__FEATURE:
+ setFeature(FEATURE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.SET_OFF_TYPE__FEATURE:
+ return FEATURE_EDEFAULT == null ? feature != null : !FEATURE_EDEFAULT.equals(feature);
+ }
+ 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(" (feature: ");
+ result.append(feature);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SetOffTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOffTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOnTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOnTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOnTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.SetOnType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Set On Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SetOnTypeImpl#getFeature <em>Feature</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SetOnTypeImpl extends AbstractAnyTypeImpl implements SetOnType {
+ /**
+ * The default value of the '{@link #getFeature() <em>Feature</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeature()
+ * @generated
+ * @ordered
+ */
+ protected static final String FEATURE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getFeature() <em>Feature</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getFeature()
+ * @generated
+ * @ordered
+ */
+ protected String feature = FEATURE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SetOnTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.SET_ON_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getFeature() {
+ return feature;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setFeature(String newFeature) {
+ String oldFeature = feature;
+ feature = newFeature;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SET_ON_TYPE__FEATURE, oldFeature, feature));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.SET_ON_TYPE__FEATURE:
+ return getFeature();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.SET_ON_TYPE__FEATURE:
+ setFeature((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.SET_ON_TYPE__FEATURE:
+ setFeature(FEATURE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.SET_ON_TYPE__FEATURE:
+ return FEATURE_EDEFAULT == null ? feature != null : !FEATURE_EDEFAULT.equals(feature);
+ }
+ 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(" (feature: ");
+ result.append(feature);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SetOnTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SetOnTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,275 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.*;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class SmooksFactoryImpl extends EFactoryImpl implements SmooksFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static SmooksFactory init() {
+ try {
+ SmooksFactory theSmooksFactory = (SmooksFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/xsd/smooks-1.1.xsd");
+ if (theSmooksFactory != null) {
+ return theSmooksFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new SmooksFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case SmooksPackage.CONDITIONS_TYPE: return createConditionsType();
+ case SmooksPackage.CONDITION_TYPE: return createConditionType();
+ case SmooksPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case SmooksPackage.FEATURES_TYPE: return createFeaturesType();
+ case SmooksPackage.HANDLERS_TYPE: return createHandlersType();
+ case SmooksPackage.HANDLER_TYPE: return createHandlerType();
+ case SmooksPackage.IMPORT_TYPE: return createImportType();
+ case SmooksPackage.PARAMS_TYPE: return createParamsType();
+ case SmooksPackage.PARAM_TYPE: return createParamType();
+ case SmooksPackage.PROFILES_TYPE: return createProfilesType();
+ case SmooksPackage.PROFILE_TYPE: return createProfileType();
+ case SmooksPackage.READER_TYPE: return createReaderType();
+ case SmooksPackage.RESOURCE_CONFIG_TYPE: return createResourceConfigType();
+ case SmooksPackage.RESOURCE_TYPE: return createResourceType();
+ case SmooksPackage.SET_OFF_TYPE: return createSetOffType();
+ case SmooksPackage.SET_ON_TYPE: return createSetOnType();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE: return createSmooksResourceListType();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionsType createConditionsType() {
+ ConditionsTypeImpl conditionsType = new ConditionsTypeImpl();
+ return conditionsType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionType createConditionType() {
+ ConditionTypeImpl conditionType = new ConditionTypeImpl();
+ return conditionType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeaturesType createFeaturesType() {
+ FeaturesTypeImpl featuresType = new FeaturesTypeImpl();
+ return featuresType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HandlersType createHandlersType() {
+ HandlersTypeImpl handlersType = new HandlersTypeImpl();
+ return handlersType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public HandlerType createHandlerType() {
+ HandlerTypeImpl handlerType = new HandlerTypeImpl();
+ return handlerType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ImportType createImportType() {
+ ImportTypeImpl importType = new ImportTypeImpl();
+ return importType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParamsType createParamsType() {
+ ParamsTypeImpl paramsType = new ParamsTypeImpl();
+ return paramsType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParamType createParamType() {
+ ParamTypeImpl paramType = new ParamTypeImpl();
+ return paramType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProfilesType createProfilesType() {
+ ProfilesTypeImpl profilesType = new ProfilesTypeImpl();
+ return profilesType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProfileType createProfileType() {
+ ProfileTypeImpl profileType = new ProfileTypeImpl();
+ return profileType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ReaderType createReaderType() {
+ ReaderTypeImpl readerType = new ReaderTypeImpl();
+ return readerType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceConfigType createResourceConfigType() {
+ ResourceConfigTypeImpl resourceConfigType = new ResourceConfigTypeImpl();
+ return resourceConfigType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceType createResourceType() {
+ ResourceTypeImpl resourceType = new ResourceTypeImpl();
+ return resourceType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SetOffType createSetOffType() {
+ SetOffTypeImpl setOffType = new SetOffTypeImpl();
+ return setOffType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SetOnType createSetOnType() {
+ SetOnTypeImpl setOnType = new SetOnTypeImpl();
+ return setOnType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksResourceListType createSmooksResourceListType() {
+ SmooksResourceListTypeImpl smooksResourceListType = new SmooksResourceListTypeImpl();
+ return smooksResourceListType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksPackage getSmooksPackage() {
+ return (SmooksPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static SmooksPackage getPackage() {
+ return SmooksPackage.eINSTANCE;
+ }
+
+} //SmooksFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,2049 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.freemarker.FreemarkerPackage;
+import org.jboss.tools.smooks.model.freemarker.impl.FreemarkerPackageImpl;
+import org.jboss.tools.smooks.model.javabean.JavabeanPackage;
+import org.jboss.tools.smooks.model.javabean.impl.JavabeanPackageImpl;
+import org.jboss.tools.smooks.model.smooks.AbstractReader;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ConditionType;
+import org.jboss.tools.smooks.model.smooks.ConditionsType;
+import org.jboss.tools.smooks.model.smooks.DocumentRoot;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.smooks.FeaturesType;
+import org.jboss.tools.smooks.model.smooks.HandlerType;
+import org.jboss.tools.smooks.model.smooks.HandlersType;
+import org.jboss.tools.smooks.model.smooks.ImportType;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.ParamsType;
+import org.jboss.tools.smooks.model.smooks.ProfileType;
+import org.jboss.tools.smooks.model.smooks.ProfilesType;
+import org.jboss.tools.smooks.model.smooks.ReaderType;
+import org.jboss.tools.smooks.model.smooks.ResourceConfigType;
+import org.jboss.tools.smooks.model.smooks.ResourceType;
+import org.jboss.tools.smooks.model.smooks.SetOffType;
+import org.jboss.tools.smooks.model.smooks.SetOnType;
+import org.jboss.tools.smooks.model.smooks.SmooksFactory;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+import org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class SmooksPackageImpl extends EPackageImpl implements SmooksPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass abstractReaderEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass abstractResourceConfigEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conditionsTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass conditionTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass elementVisitorEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass featuresTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass handlersTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass handlerTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass importTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass paramsTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass paramTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass profilesTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass profileTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass readerTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceConfigTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass resourceTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass setOffTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass setOnTypeEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass smooksResourceListTypeEClass = 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.smooks.SmooksPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private SmooksPackageImpl() {
+ super(eNS_URI, SmooksFactory.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 SmooksPackage init() {
+ if (isInited) return (SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+
+ // Obtain or create and register package
+ SmooksPackageImpl theSmooksPackage = (SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof SmooksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new SmooksPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ XslPackageImpl theXslPackage = (XslPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(XslPackage.eNS_URI) instanceof XslPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(XslPackage.eNS_URI) : XslPackage.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
+ theSmooksPackage.createPackageContents();
+ theXslPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theSmooksPackage.initializePackageContents();
+ theXslPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theSmooksPackage.freeze();
+
+ return theSmooksPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAbstractReader() {
+ return abstractReaderEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getAbstractReader_TargetProfile() {
+ return (EAttribute)abstractReaderEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getAbstractResourceConfig() {
+ return abstractResourceConfigEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConditionsType() {
+ return conditionsTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getConditionsType_Condition() {
+ return (EReference)conditionsTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getConditionType() {
+ return conditionTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConditionType_Value() {
+ return (EAttribute)conditionTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConditionType_Evaluator() {
+ return (EAttribute)conditionTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConditionType_Id() {
+ return (EAttribute)conditionTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getConditionType_IdRef() {
+ return (EAttribute)conditionTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_AbstractReader() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_AbstractResourceConfig() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Condition() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Conditions() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ElementVisitor() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Features() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Handler() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Handlers() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Import() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(11);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Param() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(12);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Params() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(13);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Profile() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(14);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Profiles() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(15);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Reader() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Resource() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(17);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_ResourceConfig() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(18);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SetOff() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(19);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SetOn() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(20);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_SmooksResourceList() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(21);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getElementVisitor() {
+ return elementVisitorEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getElementVisitor_Condition() {
+ return (EReference)elementVisitorEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getElementVisitor_TargetProfile() {
+ return (EAttribute)elementVisitorEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getFeaturesType() {
+ return featuresTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFeaturesType_SetOn() {
+ return (EReference)featuresTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getFeaturesType_SetOff() {
+ return (EReference)featuresTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHandlersType() {
+ return handlersTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getHandlersType_Handler() {
+ return (EReference)handlersTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getHandlerType() {
+ return handlerTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getHandlerType_Class() {
+ return (EAttribute)handlerTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getImportType() {
+ return importTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getImportType_Param() {
+ return (EReference)importTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getImportType_File() {
+ return (EAttribute)importTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getParamsType() {
+ return paramsTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getParamsType_Param() {
+ return (EReference)paramsTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getParamType() {
+ return paramTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getParamType_Name() {
+ return (EAttribute)paramTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getParamType_Type() {
+ return (EAttribute)paramTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProfilesType() {
+ return profilesTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getProfilesType_Profile() {
+ return (EReference)profilesTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getProfileType() {
+ return profileTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfileType_Value() {
+ return (EAttribute)profileTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfileType_BaseProfile() {
+ return (EAttribute)profileTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getProfileType_SubProfiles() {
+ return (EAttribute)profileTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getReaderType() {
+ return readerTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getReaderType_Handlers() {
+ return (EReference)readerTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getReaderType_Features() {
+ return (EReference)readerTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getReaderType_Params() {
+ return (EReference)readerTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getReaderType_Class() {
+ return (EAttribute)readerTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResourceConfigType() {
+ return resourceConfigTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceConfigType_Resource() {
+ return (EReference)resourceConfigTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceConfigType_Condition() {
+ return (EReference)resourceConfigTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getResourceConfigType_Param() {
+ return (EReference)resourceConfigTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceConfigType_Selector() {
+ return (EAttribute)resourceConfigTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceConfigType_SelectorNamespace() {
+ return (EAttribute)resourceConfigTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceConfigType_TargetProfile() {
+ return (EAttribute)resourceConfigTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getResourceType() {
+ return resourceTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceType_Value() {
+ return (EAttribute)resourceTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getResourceType_Type() {
+ return (EAttribute)resourceTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSetOffType() {
+ return setOffTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSetOffType_Feature() {
+ return (EAttribute)setOffTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSetOnType() {
+ return setOnTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSetOnType_Feature() {
+ return (EAttribute)setOnTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getSmooksResourceListType() {
+ return smooksResourceListTypeEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSmooksResourceListType_Params() {
+ return (EReference)smooksResourceListTypeEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSmooksResourceListType_Conditions() {
+ return (EReference)smooksResourceListTypeEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSmooksResourceListType_Profiles() {
+ return (EReference)smooksResourceListTypeEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSmooksResourceListType_AbstractReaderGroup() {
+ return (EAttribute)smooksResourceListTypeEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSmooksResourceListType_AbstractReader() {
+ return (EReference)smooksResourceListTypeEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSmooksResourceListType_AbstractResourceConfigGroup() {
+ return (EAttribute)smooksResourceListTypeEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getSmooksResourceListType_AbstractResourceConfig() {
+ return (EReference)smooksResourceListTypeEClass.getEStructuralFeatures().get(6);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSmooksResourceListType_DefaultConditionRef() {
+ return (EAttribute)smooksResourceListTypeEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSmooksResourceListType_DefaultSelector() {
+ return (EAttribute)smooksResourceListTypeEClass.getEStructuralFeatures().get(8);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSmooksResourceListType_DefaultSelectorNamespace() {
+ return (EAttribute)smooksResourceListTypeEClass.getEStructuralFeatures().get(9);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSmooksResourceListType_DefaultTargetProfile() {
+ return (EAttribute)smooksResourceListTypeEClass.getEStructuralFeatures().get(10);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksFactory getSmooksFactory() {
+ return (SmooksFactory)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
+ abstractReaderEClass = createEClass(ABSTRACT_READER);
+ createEAttribute(abstractReaderEClass, ABSTRACT_READER__TARGET_PROFILE);
+
+ abstractResourceConfigEClass = createEClass(ABSTRACT_RESOURCE_CONFIG);
+
+ conditionsTypeEClass = createEClass(CONDITIONS_TYPE);
+ createEReference(conditionsTypeEClass, CONDITIONS_TYPE__CONDITION);
+
+ conditionTypeEClass = createEClass(CONDITION_TYPE);
+ createEAttribute(conditionTypeEClass, CONDITION_TYPE__VALUE);
+ createEAttribute(conditionTypeEClass, CONDITION_TYPE__EVALUATOR);
+ createEAttribute(conditionTypeEClass, CONDITION_TYPE__ID);
+ createEAttribute(conditionTypeEClass, CONDITION_TYPE__ID_REF);
+
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__ABSTRACT_READER);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__ABSTRACT_RESOURCE_CONFIG);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__CONDITION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__CONDITIONS);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__ELEMENT_VISITOR);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__FEATURES);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__HANDLER);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__HANDLERS);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__IMPORT);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__PARAM);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__PARAMS);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__PROFILE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__PROFILES);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__READER);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__RESOURCE);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__RESOURCE_CONFIG);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__SET_OFF);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__SET_ON);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__SMOOKS_RESOURCE_LIST);
+
+ elementVisitorEClass = createEClass(ELEMENT_VISITOR);
+ createEReference(elementVisitorEClass, ELEMENT_VISITOR__CONDITION);
+ createEAttribute(elementVisitorEClass, ELEMENT_VISITOR__TARGET_PROFILE);
+
+ featuresTypeEClass = createEClass(FEATURES_TYPE);
+ createEReference(featuresTypeEClass, FEATURES_TYPE__SET_ON);
+ createEReference(featuresTypeEClass, FEATURES_TYPE__SET_OFF);
+
+ handlersTypeEClass = createEClass(HANDLERS_TYPE);
+ createEReference(handlersTypeEClass, HANDLERS_TYPE__HANDLER);
+
+ handlerTypeEClass = createEClass(HANDLER_TYPE);
+ createEAttribute(handlerTypeEClass, HANDLER_TYPE__CLASS);
+
+ importTypeEClass = createEClass(IMPORT_TYPE);
+ createEReference(importTypeEClass, IMPORT_TYPE__PARAM);
+ createEAttribute(importTypeEClass, IMPORT_TYPE__FILE);
+
+ paramsTypeEClass = createEClass(PARAMS_TYPE);
+ createEReference(paramsTypeEClass, PARAMS_TYPE__PARAM);
+
+ paramTypeEClass = createEClass(PARAM_TYPE);
+ createEAttribute(paramTypeEClass, PARAM_TYPE__NAME);
+ createEAttribute(paramTypeEClass, PARAM_TYPE__TYPE);
+
+ profilesTypeEClass = createEClass(PROFILES_TYPE);
+ createEReference(profilesTypeEClass, PROFILES_TYPE__PROFILE);
+
+ profileTypeEClass = createEClass(PROFILE_TYPE);
+ createEAttribute(profileTypeEClass, PROFILE_TYPE__VALUE);
+ createEAttribute(profileTypeEClass, PROFILE_TYPE__BASE_PROFILE);
+ createEAttribute(profileTypeEClass, PROFILE_TYPE__SUB_PROFILES);
+
+ readerTypeEClass = createEClass(READER_TYPE);
+ createEReference(readerTypeEClass, READER_TYPE__HANDLERS);
+ createEReference(readerTypeEClass, READER_TYPE__FEATURES);
+ createEReference(readerTypeEClass, READER_TYPE__PARAMS);
+ createEAttribute(readerTypeEClass, READER_TYPE__CLASS);
+
+ resourceConfigTypeEClass = createEClass(RESOURCE_CONFIG_TYPE);
+ createEReference(resourceConfigTypeEClass, RESOURCE_CONFIG_TYPE__RESOURCE);
+ createEReference(resourceConfigTypeEClass, RESOURCE_CONFIG_TYPE__CONDITION);
+ createEReference(resourceConfigTypeEClass, RESOURCE_CONFIG_TYPE__PARAM);
+ createEAttribute(resourceConfigTypeEClass, RESOURCE_CONFIG_TYPE__SELECTOR);
+ createEAttribute(resourceConfigTypeEClass, RESOURCE_CONFIG_TYPE__SELECTOR_NAMESPACE);
+ createEAttribute(resourceConfigTypeEClass, RESOURCE_CONFIG_TYPE__TARGET_PROFILE);
+
+ resourceTypeEClass = createEClass(RESOURCE_TYPE);
+ createEAttribute(resourceTypeEClass, RESOURCE_TYPE__VALUE);
+ createEAttribute(resourceTypeEClass, RESOURCE_TYPE__TYPE);
+
+ setOffTypeEClass = createEClass(SET_OFF_TYPE);
+ createEAttribute(setOffTypeEClass, SET_OFF_TYPE__FEATURE);
+
+ setOnTypeEClass = createEClass(SET_ON_TYPE);
+ createEAttribute(setOnTypeEClass, SET_ON_TYPE__FEATURE);
+
+ smooksResourceListTypeEClass = createEClass(SMOOKS_RESOURCE_LIST_TYPE);
+ createEReference(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__PARAMS);
+ createEReference(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS);
+ createEReference(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__PROFILES);
+ createEAttribute(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP);
+ createEReference(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER);
+ createEAttribute(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP);
+ createEReference(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG);
+ createEAttribute(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF);
+ createEAttribute(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR);
+ createEAttribute(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE);
+ createEAttribute(smooksResourceListTypeEClass, SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE);
+ }
+
+ /**
+ * <!-- 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
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ abstractReaderEClass.getESuperTypes().add(this.getAbstractResourceConfig());
+ abstractResourceConfigEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ conditionsTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ conditionTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ elementVisitorEClass.getESuperTypes().add(this.getAbstractResourceConfig());
+ featuresTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ handlersTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ handlerTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ importTypeEClass.getESuperTypes().add(this.getAbstractResourceConfig());
+ paramsTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ paramTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ profilesTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ profileTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ readerTypeEClass.getESuperTypes().add(this.getAbstractReader());
+ resourceConfigTypeEClass.getESuperTypes().add(this.getAbstractResourceConfig());
+ resourceTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ setOffTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ setOnTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ smooksResourceListTypeEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(abstractReaderEClass, AbstractReader.class, "AbstractReader", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getAbstractReader_TargetProfile(), theXMLTypePackage.getString(), "targetProfile", null, 0, 1, AbstractReader.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(abstractResourceConfigEClass, AbstractResourceConfig.class, "AbstractResourceConfig", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(conditionsTypeEClass, ConditionsType.class, "ConditionsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getConditionsType_Condition(), this.getConditionType(), null, "condition", null, 1, -1, ConditionsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(conditionTypeEClass, ConditionType.class, "ConditionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getConditionType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, ConditionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getConditionType_Evaluator(), theXMLTypePackage.getString(), "evaluator", "org.milyn.javabean.expression.BeanMapExpressionEvaluator", 0, 1, ConditionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getConditionType_Id(), theXMLTypePackage.getString(), "id", null, 0, 1, ConditionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getConditionType_IdRef(), theXMLTypePackage.getString(), "idRef", null, 0, 1, ConditionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_AbstractReader(), this.getAbstractReader(), null, "abstractReader", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_AbstractResourceConfig(), this.getAbstractResourceConfig(), null, "abstractResourceConfig", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Condition(), this.getConditionType(), null, "condition", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Conditions(), this.getConditionsType(), null, "conditions", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_ElementVisitor(), this.getElementVisitor(), null, "elementVisitor", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Features(), this.getFeaturesType(), null, "features", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Handler(), this.getHandlerType(), null, "handler", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Handlers(), this.getHandlersType(), null, "handlers", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Import(), this.getImportType(), null, "import", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Param(), this.getParamType(), null, "param", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Params(), this.getParamsType(), null, "params", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Profile(), this.getProfileType(), null, "profile", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Profiles(), this.getProfilesType(), null, "profiles", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Reader(), this.getReaderType(), null, "reader", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Resource(), this.getResourceType(), null, "resource", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_ResourceConfig(), this.getResourceConfigType(), null, "resourceConfig", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_SetOff(), this.getSetOffType(), null, "setOff", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_SetOn(), this.getSetOnType(), null, "setOn", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_SmooksResourceList(), this.getSmooksResourceListType(), null, "smooksResourceList", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(elementVisitorEClass, ElementVisitor.class, "ElementVisitor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getElementVisitor_Condition(), this.getConditionType(), null, "condition", null, 0, 1, ElementVisitor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getElementVisitor_TargetProfile(), theXMLTypePackage.getString(), "targetProfile", null, 0, 1, ElementVisitor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(featuresTypeEClass, FeaturesType.class, "FeaturesType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getFeaturesType_SetOn(), this.getSetOnType(), null, "setOn", null, 0, -1, FeaturesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getFeaturesType_SetOff(), this.getSetOffType(), null, "setOff", null, 0, -1, FeaturesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(handlersTypeEClass, HandlersType.class, "HandlersType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getHandlersType_Handler(), this.getHandlerType(), null, "handler", null, 1, -1, HandlersType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(handlerTypeEClass, HandlerType.class, "HandlerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getHandlerType_Class(), theXMLTypePackage.getString(), "class", null, 1, 1, HandlerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(importTypeEClass, ImportType.class, "ImportType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getImportType_Param(), this.getParamType(), null, "param", null, 0, -1, ImportType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getImportType_File(), theXMLTypePackage.getAnyURI(), "file", null, 1, 1, ImportType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(paramsTypeEClass, ParamsType.class, "ParamsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getParamsType_Param(), this.getParamType(), null, "param", null, 1, -1, ParamsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(paramTypeEClass, ParamType.class, "ParamType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getParamType_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, ParamType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getParamType_Type(), theXMLTypePackage.getString(), "type", null, 0, 1, ParamType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(profilesTypeEClass, ProfilesType.class, "ProfilesType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getProfilesType_Profile(), this.getProfileType(), null, "profile", null, 1, -1, ProfilesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(profileTypeEClass, ProfileType.class, "ProfileType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getProfileType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, ProfileType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProfileType_BaseProfile(), theXMLTypePackage.getString(), "baseProfile", null, 1, 1, ProfileType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getProfileType_SubProfiles(), theXMLTypePackage.getString(), "subProfiles", null, 0, 1, ProfileType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(readerTypeEClass, ReaderType.class, "ReaderType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getReaderType_Handlers(), this.getHandlersType(), null, "handlers", null, 0, 1, ReaderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getReaderType_Features(), this.getFeaturesType(), null, "features", null, 0, 1, ReaderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getReaderType_Params(), this.getParamsType(), null, "params", null, 0, 1, ReaderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getReaderType_Class(), theXMLTypePackage.getString(), "class", null, 0, 1, ReaderType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(resourceConfigTypeEClass, ResourceConfigType.class, "ResourceConfigType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getResourceConfigType_Resource(), this.getResourceType(), null, "resource", null, 0, 1, ResourceConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getResourceConfigType_Condition(), this.getConditionType(), null, "condition", null, 0, 1, ResourceConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getResourceConfigType_Param(), this.getParamType(), null, "param", null, 0, -1, ResourceConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getResourceConfigType_Selector(), theXMLTypePackage.getString(), "selector", null, 0, 1, ResourceConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getResourceConfigType_SelectorNamespace(), theXMLTypePackage.getAnyURI(), "selectorNamespace", null, 0, 1, ResourceConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getResourceConfigType_TargetProfile(), theXMLTypePackage.getString(), "targetProfile", null, 0, 1, ResourceConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(resourceTypeEClass, ResourceType.class, "ResourceType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getResourceType_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, ResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getResourceType_Type(), theXMLTypePackage.getString(), "type", null, 0, 1, ResourceType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(setOffTypeEClass, SetOffType.class, "SetOffType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getSetOffType_Feature(), theXMLTypePackage.getAnyURI(), "feature", null, 1, 1, SetOffType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(setOnTypeEClass, SetOnType.class, "SetOnType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getSetOnType_Feature(), theXMLTypePackage.getAnyURI(), "feature", null, 1, 1, SetOnType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(smooksResourceListTypeEClass, SmooksResourceListType.class, "SmooksResourceListType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getSmooksResourceListType_Params(), this.getParamsType(), null, "params", null, 0, 1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSmooksResourceListType_Conditions(), this.getConditionsType(), null, "conditions", null, 0, 1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSmooksResourceListType_Profiles(), this.getProfilesType(), null, "profiles", null, 0, 1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSmooksResourceListType_AbstractReaderGroup(), ecorePackage.getEFeatureMapEntry(), "abstractReaderGroup", null, 0, -1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSmooksResourceListType_AbstractReader(), this.getAbstractReader(), null, "abstractReader", null, 0, -1, SmooksResourceListType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSmooksResourceListType_AbstractResourceConfigGroup(), ecorePackage.getEFeatureMapEntry(), "abstractResourceConfigGroup", null, 0, -1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getSmooksResourceListType_AbstractResourceConfig(), this.getAbstractResourceConfig(), null, "abstractResourceConfig", null, 0, -1, SmooksResourceListType.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSmooksResourceListType_DefaultConditionRef(), theXMLTypePackage.getString(), "defaultConditionRef", null, 0, 1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSmooksResourceListType_DefaultSelector(), theXMLTypePackage.getString(), "defaultSelector", null, 0, 1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSmooksResourceListType_DefaultSelectorNamespace(), theXMLTypePackage.getAnyURI(), "defaultSelectorNamespace", null, 0, 1, SmooksResourceListType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getSmooksResourceListType_DefaultTargetProfile(), theXMLTypePackage.getString(), "defaultTargetProfile", null, 0, 1, SmooksResourceListType.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
+ (abstractReaderEClass,
+ source,
+ new String[] {
+ "name", "abstract-reader",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getAbstractReader_TargetProfile(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "targetProfile"
+ });
+ addAnnotation
+ (abstractResourceConfigEClass,
+ source,
+ new String[] {
+ "name", "abstract-resource-config",
+ "kind", "empty"
+ });
+ addAnnotation
+ (conditionsTypeEClass,
+ source,
+ new String[] {
+ "name", "conditions_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getConditionsType_Condition(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "condition",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (conditionTypeEClass,
+ source,
+ new String[] {
+ "name", "condition_._type",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getConditionType_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getConditionType_Evaluator(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "evaluator"
+ });
+ addAnnotation
+ (getConditionType_Id(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "id"
+ });
+ addAnnotation
+ (getConditionType_IdRef(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "idRef"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_AbstractReader(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "abstract-reader",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_AbstractResourceConfig(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "abstract-resource-config",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Condition(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "condition",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Conditions(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "conditions",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_ElementVisitor(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "element-visitor",
+ "namespace", "##targetNamespace",
+ "affiliation", "abstract-resource-config"
+ });
+ addAnnotation
+ (getDocumentRoot_Features(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "features",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Handler(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "handler",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Handlers(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "handlers",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Import(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "import",
+ "namespace", "##targetNamespace",
+ "affiliation", "abstract-resource-config"
+ });
+ addAnnotation
+ (getDocumentRoot_Param(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "param",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Params(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "params",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Profile(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "profile",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Profiles(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "profiles",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_Reader(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "reader",
+ "namespace", "##targetNamespace",
+ "affiliation", "abstract-reader"
+ });
+ addAnnotation
+ (getDocumentRoot_Resource(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "resource",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_ResourceConfig(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "resource-config",
+ "namespace", "##targetNamespace",
+ "affiliation", "abstract-resource-config"
+ });
+ addAnnotation
+ (getDocumentRoot_SetOff(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "setOff",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_SetOn(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "setOn",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getDocumentRoot_SmooksResourceList(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "smooks-resource-list",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (elementVisitorEClass,
+ source,
+ new String[] {
+ "name", "element-visitor",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getElementVisitor_Condition(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "condition",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getElementVisitor_TargetProfile(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "targetProfile"
+ });
+ addAnnotation
+ (featuresTypeEClass,
+ source,
+ new String[] {
+ "name", "features_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getFeaturesType_SetOn(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "setOn",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getFeaturesType_SetOff(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "setOff",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (handlersTypeEClass,
+ source,
+ new String[] {
+ "name", "handlers_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getHandlersType_Handler(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "handler",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (handlerTypeEClass,
+ source,
+ new String[] {
+ "name", "handler_._type",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getHandlerType_Class(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "class"
+ });
+ addAnnotation
+ (importTypeEClass,
+ source,
+ new String[] {
+ "name", "import_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getImportType_Param(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "param",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getImportType_File(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "file"
+ });
+ addAnnotation
+ (paramsTypeEClass,
+ source,
+ new String[] {
+ "name", "params_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getParamsType_Param(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "param",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (paramTypeEClass,
+ source,
+ new String[] {
+ "name", "param_._type",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getParamType_Name(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "name"
+ });
+ addAnnotation
+ (getParamType_Type(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "type"
+ });
+ addAnnotation
+ (profilesTypeEClass,
+ source,
+ new String[] {
+ "name", "profiles_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getProfilesType_Profile(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "profile",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (profileTypeEClass,
+ source,
+ new String[] {
+ "name", "profile_._type",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getProfileType_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getProfileType_BaseProfile(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "base-profile"
+ });
+ addAnnotation
+ (getProfileType_SubProfiles(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "sub-profiles"
+ });
+ addAnnotation
+ (readerTypeEClass,
+ source,
+ new String[] {
+ "name", "reader_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getReaderType_Handlers(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "handlers",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getReaderType_Features(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "features",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getReaderType_Params(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "params",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getReaderType_Class(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "class"
+ });
+ addAnnotation
+ (resourceConfigTypeEClass,
+ source,
+ new String[] {
+ "name", "resource-config_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getResourceConfigType_Resource(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "resource",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getResourceConfigType_Condition(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "condition",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getResourceConfigType_Param(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "param",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getResourceConfigType_Selector(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "selector"
+ });
+ addAnnotation
+ (getResourceConfigType_SelectorNamespace(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "selector-namespace"
+ });
+ addAnnotation
+ (getResourceConfigType_TargetProfile(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "target-profile"
+ });
+ addAnnotation
+ (resourceTypeEClass,
+ source,
+ new String[] {
+ "name", "resource_._type",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getResourceType_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getResourceType_Type(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "type"
+ });
+ addAnnotation
+ (setOffTypeEClass,
+ source,
+ new String[] {
+ "name", "setOff_._type",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getSetOffType_Feature(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "feature"
+ });
+ addAnnotation
+ (setOnTypeEClass,
+ source,
+ new String[] {
+ "name", "setOn_._type",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getSetOnType_Feature(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "feature"
+ });
+ addAnnotation
+ (smooksResourceListTypeEClass,
+ source,
+ new String[] {
+ "name", "smooks-resource-list_._type",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getSmooksResourceListType_Params(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "params",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSmooksResourceListType_Conditions(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "conditions",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSmooksResourceListType_Profiles(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "profiles",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSmooksResourceListType_AbstractReaderGroup(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "abstract-reader:group",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSmooksResourceListType_AbstractReader(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "abstract-reader",
+ "namespace", "##targetNamespace",
+ "group", "abstract-reader:group"
+ });
+ addAnnotation
+ (getSmooksResourceListType_AbstractResourceConfigGroup(),
+ source,
+ new String[] {
+ "kind", "group",
+ "name", "abstract-resource-config:group",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getSmooksResourceListType_AbstractResourceConfig(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "abstract-resource-config",
+ "namespace", "##targetNamespace",
+ "group", "abstract-resource-config:group"
+ });
+ addAnnotation
+ (getSmooksResourceListType_DefaultConditionRef(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "default-condition-ref"
+ });
+ addAnnotation
+ (getSmooksResourceListType_DefaultSelector(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "default-selector"
+ });
+ addAnnotation
+ (getSmooksResourceListType_DefaultSelectorNamespace(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "default-selector-namespace"
+ });
+ addAnnotation
+ (getSmooksResourceListType_DefaultTargetProfile(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "default-target-profile"
+ });
+ }
+
+} //SmooksPackageImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksResourceListTypeImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksResourceListTypeImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksResourceListTypeImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,661 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.impl;
+
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.smooks.AbstractReader;
+import org.jboss.tools.smooks.model.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ConditionsType;
+import org.jboss.tools.smooks.model.smooks.ParamsType;
+import org.jboss.tools.smooks.model.smooks.ProfilesType;
+import org.jboss.tools.smooks.model.smooks.SmooksPackage;
+import org.jboss.tools.smooks.model.smooks.SmooksResourceListType;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Resource List Type</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getParams <em>Params</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getConditions <em>Conditions</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getProfiles <em>Profiles</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getAbstractReaderGroup <em>Abstract Reader Group</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getAbstractReader <em>Abstract Reader</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getAbstractResourceConfigGroup <em>Abstract Resource Config Group</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getAbstractResourceConfig <em>Abstract Resource Config</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getDefaultConditionRef <em>Default Condition Ref</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getDefaultSelector <em>Default Selector</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getDefaultSelectorNamespace <em>Default Selector Namespace</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.smooks.impl.SmooksResourceListTypeImpl#getDefaultTargetProfile <em>Default Target Profile</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SmooksResourceListTypeImpl extends AbstractAnyTypeImpl implements SmooksResourceListType {
+ /**
+ * The cached value of the '{@link #getParams() <em>Params</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParams()
+ * @generated
+ * @ordered
+ */
+ protected ParamsType params;
+
+ /**
+ * The cached value of the '{@link #getConditions() <em>Conditions</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getConditions()
+ * @generated
+ * @ordered
+ */
+ protected ConditionsType conditions;
+
+ /**
+ * The cached value of the '{@link #getProfiles() <em>Profiles</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProfiles()
+ * @generated
+ * @ordered
+ */
+ protected ProfilesType profiles;
+
+ /**
+ * The cached value of the '{@link #getAbstractReaderGroup() <em>Abstract Reader Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAbstractReaderGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap abstractReaderGroup;
+
+ /**
+ * The cached value of the '{@link #getAbstractResourceConfigGroup() <em>Abstract Resource Config Group</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getAbstractResourceConfigGroup()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap abstractResourceConfigGroup;
+
+ /**
+ * The default value of the '{@link #getDefaultConditionRef() <em>Default Condition Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultConditionRef()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_CONDITION_REF_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDefaultConditionRef() <em>Default Condition Ref</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultConditionRef()
+ * @generated
+ * @ordered
+ */
+ protected String defaultConditionRef = DEFAULT_CONDITION_REF_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDefaultSelector() <em>Default Selector</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultSelector()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_SELECTOR_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDefaultSelector() <em>Default Selector</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultSelector()
+ * @generated
+ * @ordered
+ */
+ protected String defaultSelector = DEFAULT_SELECTOR_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDefaultSelectorNamespace() <em>Default Selector Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultSelectorNamespace()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_SELECTOR_NAMESPACE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDefaultSelectorNamespace() <em>Default Selector Namespace</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultSelectorNamespace()
+ * @generated
+ * @ordered
+ */
+ protected String defaultSelectorNamespace = DEFAULT_SELECTOR_NAMESPACE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDefaultTargetProfile() <em>Default Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected static final String DEFAULT_TARGET_PROFILE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDefaultTargetProfile() <em>Default Target Profile</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDefaultTargetProfile()
+ * @generated
+ * @ordered
+ */
+ protected String defaultTargetProfile = DEFAULT_TARGET_PROFILE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SmooksResourceListTypeImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return SmooksPackage.Literals.SMOOKS_RESOURCE_LIST_TYPE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ParamsType getParams() {
+ return params;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetParams(ParamsType newParams, NotificationChain msgs) {
+ ParamsType oldParams = params;
+ params = newParams;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS, oldParams, newParams);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParams(ParamsType newParams) {
+ if (newParams != params) {
+ NotificationChain msgs = null;
+ if (params != null)
+ msgs = ((InternalEObject)params).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS, null, msgs);
+ if (newParams != null)
+ msgs = ((InternalEObject)newParams).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS, null, msgs);
+ msgs = basicSetParams(newParams, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS, newParams, newParams));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ConditionsType getConditions() {
+ return conditions;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetConditions(ConditionsType newConditions, NotificationChain msgs) {
+ ConditionsType oldConditions = conditions;
+ conditions = newConditions;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS, oldConditions, newConditions);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setConditions(ConditionsType newConditions) {
+ if (newConditions != conditions) {
+ NotificationChain msgs = null;
+ if (conditions != null)
+ msgs = ((InternalEObject)conditions).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS, null, msgs);
+ if (newConditions != null)
+ msgs = ((InternalEObject)newConditions).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS, null, msgs);
+ msgs = basicSetConditions(newConditions, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS, newConditions, newConditions));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ProfilesType getProfiles() {
+ return profiles;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetProfiles(ProfilesType newProfiles, NotificationChain msgs) {
+ ProfilesType oldProfiles = profiles;
+ profiles = newProfiles;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES, oldProfiles, newProfiles);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setProfiles(ProfilesType newProfiles) {
+ if (newProfiles != profiles) {
+ NotificationChain msgs = null;
+ if (profiles != null)
+ msgs = ((InternalEObject)profiles).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES, null, msgs);
+ if (newProfiles != null)
+ msgs = ((InternalEObject)newProfiles).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES, null, msgs);
+ msgs = basicSetProfiles(newProfiles, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES, newProfiles, newProfiles));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAbstractReaderGroup() {
+ if (abstractReaderGroup == null) {
+ abstractReaderGroup = new BasicFeatureMap(this, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP);
+ }
+ return abstractReaderGroup;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AbstractReader> getAbstractReader() {
+ return getAbstractReaderGroup().list(SmooksPackage.Literals.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getAbstractResourceConfigGroup() {
+ if (abstractResourceConfigGroup == null) {
+ abstractResourceConfigGroup = new BasicFeatureMap(this, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP);
+ }
+ return abstractResourceConfigGroup;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<AbstractResourceConfig> getAbstractResourceConfig() {
+ return getAbstractResourceConfigGroup().list(SmooksPackage.Literals.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefaultConditionRef() {
+ return defaultConditionRef;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefaultConditionRef(String newDefaultConditionRef) {
+ String oldDefaultConditionRef = defaultConditionRef;
+ defaultConditionRef = newDefaultConditionRef;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF, oldDefaultConditionRef, defaultConditionRef));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefaultSelector() {
+ return defaultSelector;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefaultSelector(String newDefaultSelector) {
+ String oldDefaultSelector = defaultSelector;
+ defaultSelector = newDefaultSelector;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR, oldDefaultSelector, defaultSelector));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefaultSelectorNamespace() {
+ return defaultSelectorNamespace;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefaultSelectorNamespace(String newDefaultSelectorNamespace) {
+ String oldDefaultSelectorNamespace = defaultSelectorNamespace;
+ defaultSelectorNamespace = newDefaultSelectorNamespace;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE, oldDefaultSelectorNamespace, defaultSelectorNamespace));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getDefaultTargetProfile() {
+ return defaultTargetProfile;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDefaultTargetProfile(String newDefaultTargetProfile) {
+ String oldDefaultTargetProfile = defaultTargetProfile;
+ defaultTargetProfile = newDefaultTargetProfile;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE, oldDefaultTargetProfile, defaultTargetProfile));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS:
+ return basicSetParams(null, msgs);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS:
+ return basicSetConditions(null, msgs);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES:
+ return basicSetProfiles(null, msgs);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP:
+ return ((InternalEList<?>)getAbstractReaderGroup()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER:
+ return ((InternalEList<?>)getAbstractReader()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP:
+ return ((InternalEList<?>)getAbstractResourceConfigGroup()).basicRemove(otherEnd, msgs);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG:
+ return ((InternalEList<?>)getAbstractResourceConfig()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS:
+ return getParams();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS:
+ return getConditions();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES:
+ return getProfiles();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP:
+ if (coreType) return getAbstractReaderGroup();
+ return ((FeatureMap.Internal)getAbstractReaderGroup()).getWrapper();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER:
+ return getAbstractReader();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP:
+ if (coreType) return getAbstractResourceConfigGroup();
+ return ((FeatureMap.Internal)getAbstractResourceConfigGroup()).getWrapper();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG:
+ return getAbstractResourceConfig();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF:
+ return getDefaultConditionRef();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR:
+ return getDefaultSelector();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE:
+ return getDefaultSelectorNamespace();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE:
+ return getDefaultTargetProfile();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS:
+ setParams((ParamsType)newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS:
+ setConditions((ConditionsType)newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES:
+ setProfiles((ProfilesType)newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP:
+ ((FeatureMap.Internal)getAbstractReaderGroup()).set(newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP:
+ ((FeatureMap.Internal)getAbstractResourceConfigGroup()).set(newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF:
+ setDefaultConditionRef((String)newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR:
+ setDefaultSelector((String)newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE:
+ setDefaultSelectorNamespace((String)newValue);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE:
+ setDefaultTargetProfile((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS:
+ setParams((ParamsType)null);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS:
+ setConditions((ConditionsType)null);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES:
+ setProfiles((ProfilesType)null);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP:
+ getAbstractReaderGroup().clear();
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP:
+ getAbstractResourceConfigGroup().clear();
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF:
+ setDefaultConditionRef(DEFAULT_CONDITION_REF_EDEFAULT);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR:
+ setDefaultSelector(DEFAULT_SELECTOR_EDEFAULT);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE:
+ setDefaultSelectorNamespace(DEFAULT_SELECTOR_NAMESPACE_EDEFAULT);
+ return;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE:
+ setDefaultTargetProfile(DEFAULT_TARGET_PROFILE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PARAMS:
+ return params != null;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__CONDITIONS:
+ return conditions != null;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__PROFILES:
+ return profiles != null;
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER_GROUP:
+ return abstractReaderGroup != null && !abstractReaderGroup.isEmpty();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_READER:
+ return !getAbstractReader().isEmpty();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG_GROUP:
+ return abstractResourceConfigGroup != null && !abstractResourceConfigGroup.isEmpty();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__ABSTRACT_RESOURCE_CONFIG:
+ return !getAbstractResourceConfig().isEmpty();
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_CONDITION_REF:
+ return DEFAULT_CONDITION_REF_EDEFAULT == null ? defaultConditionRef != null : !DEFAULT_CONDITION_REF_EDEFAULT.equals(defaultConditionRef);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR:
+ return DEFAULT_SELECTOR_EDEFAULT == null ? defaultSelector != null : !DEFAULT_SELECTOR_EDEFAULT.equals(defaultSelector);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_SELECTOR_NAMESPACE:
+ return DEFAULT_SELECTOR_NAMESPACE_EDEFAULT == null ? defaultSelectorNamespace != null : !DEFAULT_SELECTOR_NAMESPACE_EDEFAULT.equals(defaultSelectorNamespace);
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE__DEFAULT_TARGET_PROFILE:
+ return DEFAULT_TARGET_PROFILE_EDEFAULT == null ? defaultTargetProfile != null : !DEFAULT_TARGET_PROFILE_EDEFAULT.equals(defaultTargetProfile);
+ }
+ 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(" (abstractReaderGroup: ");
+ result.append(abstractReaderGroup);
+ result.append(", abstractResourceConfigGroup: ");
+ result.append(abstractResourceConfigGroup);
+ result.append(", defaultConditionRef: ");
+ result.append(defaultConditionRef);
+ result.append(", defaultSelector: ");
+ result.append(defaultSelector);
+ result.append(", defaultSelectorNamespace: ");
+ result.append(defaultSelectorNamespace);
+ result.append(", defaultTargetProfile: ");
+ result.append(defaultTargetProfile);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SmooksResourceListTypeImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/impl/SmooksResourceListTypeImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksAdapterFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksAdapterFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksAdapterFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,506 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.*;
+
+
+/**
+ * <!-- 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.smooks.SmooksPackage
+ * @generated
+ */
+public class SmooksAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static SmooksPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = SmooksPackage.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 SmooksSwitch<Adapter> modelSwitch =
+ new SmooksSwitch<Adapter>() {
+ @Override
+ public Adapter caseAbstractReader(AbstractReader object) {
+ return createAbstractReaderAdapter();
+ }
+ @Override
+ public Adapter caseAbstractResourceConfig(AbstractResourceConfig object) {
+ return createAbstractResourceConfigAdapter();
+ }
+ @Override
+ public Adapter caseConditionsType(ConditionsType object) {
+ return createConditionsTypeAdapter();
+ }
+ @Override
+ public Adapter caseConditionType(ConditionType object) {
+ return createConditionTypeAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseElementVisitor(ElementVisitor object) {
+ return createElementVisitorAdapter();
+ }
+ @Override
+ public Adapter caseFeaturesType(FeaturesType object) {
+ return createFeaturesTypeAdapter();
+ }
+ @Override
+ public Adapter caseHandlersType(HandlersType object) {
+ return createHandlersTypeAdapter();
+ }
+ @Override
+ public Adapter caseHandlerType(HandlerType object) {
+ return createHandlerTypeAdapter();
+ }
+ @Override
+ public Adapter caseImportType(ImportType object) {
+ return createImportTypeAdapter();
+ }
+ @Override
+ public Adapter caseParamsType(ParamsType object) {
+ return createParamsTypeAdapter();
+ }
+ @Override
+ public Adapter caseParamType(ParamType object) {
+ return createParamTypeAdapter();
+ }
+ @Override
+ public Adapter caseProfilesType(ProfilesType object) {
+ return createProfilesTypeAdapter();
+ }
+ @Override
+ public Adapter caseProfileType(ProfileType object) {
+ return createProfileTypeAdapter();
+ }
+ @Override
+ public Adapter caseReaderType(ReaderType object) {
+ return createReaderTypeAdapter();
+ }
+ @Override
+ public Adapter caseResourceConfigType(ResourceConfigType object) {
+ return createResourceConfigTypeAdapter();
+ }
+ @Override
+ public Adapter caseResourceType(ResourceType object) {
+ return createResourceTypeAdapter();
+ }
+ @Override
+ public Adapter caseSetOffType(SetOffType object) {
+ return createSetOffTypeAdapter();
+ }
+ @Override
+ public Adapter caseSetOnType(SetOnType object) {
+ return createSetOnTypeAdapter();
+ }
+ @Override
+ public Adapter caseSmooksResourceListType(SmooksResourceListType object) {
+ return createSmooksResourceListTypeAdapter();
+ }
+ @Override
+ public Adapter caseAnyType(AnyType object) {
+ return createAnyTypeAdapter();
+ }
+ @Override
+ public Adapter caseAbstractAnyType(AbstractAnyType object) {
+ return createAbstractAnyTypeAdapter();
+ }
+ @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.smooks.AbstractReader <em>Abstract Reader</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.AbstractReader
+ * @generated
+ */
+ public Adapter createAbstractReaderAdapter() {
+ 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.ConditionsType <em>Conditions 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.smooks.ConditionsType
+ * @generated
+ */
+ public Adapter createConditionsTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ConditionType <em>Condition 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.smooks.ConditionType
+ * @generated
+ */
+ public Adapter createConditionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.DocumentRoot <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.smooks.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ 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 an object of class '{@link org.jboss.tools.smooks.model.smooks.FeaturesType <em>Features 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.smooks.FeaturesType
+ * @generated
+ */
+ public Adapter createFeaturesTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.HandlersType <em>Handlers 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.smooks.HandlersType
+ * @generated
+ */
+ public Adapter createHandlersTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.HandlerType <em>Handler 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.smooks.HandlerType
+ * @generated
+ */
+ public Adapter createHandlerTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ImportType <em>Import 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.smooks.ImportType
+ * @generated
+ */
+ public Adapter createImportTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ParamsType <em>Params 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.smooks.ParamsType
+ * @generated
+ */
+ public Adapter createParamsTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ParamType <em>Param 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.smooks.ParamType
+ * @generated
+ */
+ public Adapter createParamTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ProfilesType <em>Profiles 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.smooks.ProfilesType
+ * @generated
+ */
+ public Adapter createProfilesTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ProfileType <em>Profile 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.smooks.ProfileType
+ * @generated
+ */
+ public Adapter createProfileTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ReaderType <em>Reader 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.smooks.ReaderType
+ * @generated
+ */
+ public Adapter createReaderTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ResourceConfigType <em>Resource Config 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.smooks.ResourceConfigType
+ * @generated
+ */
+ public Adapter createResourceConfigTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.ResourceType <em>Resource 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.smooks.ResourceType
+ * @generated
+ */
+ public Adapter createResourceTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.SetOffType <em>Set Off 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.smooks.SetOffType
+ * @generated
+ */
+ public Adapter createSetOffTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.SetOnType <em>Set On 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.smooks.SetOnType
+ * @generated
+ */
+ public Adapter createSetOnTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.smooks.SmooksResourceListType <em>Resource List 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.smooks.SmooksResourceListType
+ * @generated
+ */
+ public Adapter createSmooksResourceListTypeAdapter() {
+ 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 the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //SmooksAdapterFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.util.SmooksResourceImpl
+ * @generated
+ */
+public class SmooksResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new SmooksResourceImpl(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;
+ }
+
+} //SmooksResourceFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.util.SmooksResourceFactoryImpl
+ * @generated
+ */
+public class SmooksResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public SmooksResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //SmooksResourceImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksSwitch.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksSwitch.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksSwitch.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,607 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.*;
+
+
+/**
+ * <!-- 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.smooks.SmooksPackage
+ * @generated
+ */
+public class SmooksSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static SmooksPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksSwitch() {
+ if (modelPackage == null) {
+ modelPackage = SmooksPackage.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 SmooksPackage.ABSTRACT_READER: {
+ AbstractReader abstractReader = (AbstractReader)theEObject;
+ T result = caseAbstractReader(abstractReader);
+ if (result == null) result = caseAbstractResourceConfig(abstractReader);
+ if (result == null) result = caseAbstractAnyType(abstractReader);
+ if (result == null) result = caseAnyType(abstractReader);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.ABSTRACT_RESOURCE_CONFIG: {
+ AbstractResourceConfig abstractResourceConfig = (AbstractResourceConfig)theEObject;
+ T result = caseAbstractResourceConfig(abstractResourceConfig);
+ if (result == null) result = caseAbstractAnyType(abstractResourceConfig);
+ if (result == null) result = caseAnyType(abstractResourceConfig);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.CONDITIONS_TYPE: {
+ ConditionsType conditionsType = (ConditionsType)theEObject;
+ T result = caseConditionsType(conditionsType);
+ if (result == null) result = caseAbstractAnyType(conditionsType);
+ if (result == null) result = caseAnyType(conditionsType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.CONDITION_TYPE: {
+ ConditionType conditionType = (ConditionType)theEObject;
+ T result = caseConditionType(conditionType);
+ if (result == null) result = caseAbstractAnyType(conditionType);
+ if (result == null) result = caseAnyType(conditionType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.ELEMENT_VISITOR: {
+ ElementVisitor elementVisitor = (ElementVisitor)theEObject;
+ T result = caseElementVisitor(elementVisitor);
+ if (result == null) result = caseAbstractResourceConfig(elementVisitor);
+ if (result == null) result = caseAbstractAnyType(elementVisitor);
+ if (result == null) result = caseAnyType(elementVisitor);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.FEATURES_TYPE: {
+ FeaturesType featuresType = (FeaturesType)theEObject;
+ T result = caseFeaturesType(featuresType);
+ if (result == null) result = caseAbstractAnyType(featuresType);
+ if (result == null) result = caseAnyType(featuresType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.HANDLERS_TYPE: {
+ HandlersType handlersType = (HandlersType)theEObject;
+ T result = caseHandlersType(handlersType);
+ if (result == null) result = caseAbstractAnyType(handlersType);
+ if (result == null) result = caseAnyType(handlersType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.HANDLER_TYPE: {
+ HandlerType handlerType = (HandlerType)theEObject;
+ T result = caseHandlerType(handlerType);
+ if (result == null) result = caseAbstractAnyType(handlerType);
+ if (result == null) result = caseAnyType(handlerType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.IMPORT_TYPE: {
+ ImportType importType = (ImportType)theEObject;
+ T result = caseImportType(importType);
+ if (result == null) result = caseAbstractResourceConfig(importType);
+ if (result == null) result = caseAbstractAnyType(importType);
+ if (result == null) result = caseAnyType(importType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.PARAMS_TYPE: {
+ ParamsType paramsType = (ParamsType)theEObject;
+ T result = caseParamsType(paramsType);
+ if (result == null) result = caseAbstractAnyType(paramsType);
+ if (result == null) result = caseAnyType(paramsType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.PARAM_TYPE: {
+ ParamType paramType = (ParamType)theEObject;
+ T result = caseParamType(paramType);
+ if (result == null) result = caseAbstractAnyType(paramType);
+ if (result == null) result = caseAnyType(paramType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.PROFILES_TYPE: {
+ ProfilesType profilesType = (ProfilesType)theEObject;
+ T result = caseProfilesType(profilesType);
+ if (result == null) result = caseAbstractAnyType(profilesType);
+ if (result == null) result = caseAnyType(profilesType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.PROFILE_TYPE: {
+ ProfileType profileType = (ProfileType)theEObject;
+ T result = caseProfileType(profileType);
+ if (result == null) result = caseAbstractAnyType(profileType);
+ if (result == null) result = caseAnyType(profileType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.READER_TYPE: {
+ ReaderType readerType = (ReaderType)theEObject;
+ T result = caseReaderType(readerType);
+ if (result == null) result = caseAbstractReader(readerType);
+ if (result == null) result = caseAbstractResourceConfig(readerType);
+ if (result == null) result = caseAbstractAnyType(readerType);
+ if (result == null) result = caseAnyType(readerType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.RESOURCE_CONFIG_TYPE: {
+ ResourceConfigType resourceConfigType = (ResourceConfigType)theEObject;
+ T result = caseResourceConfigType(resourceConfigType);
+ if (result == null) result = caseAbstractResourceConfig(resourceConfigType);
+ if (result == null) result = caseAbstractAnyType(resourceConfigType);
+ if (result == null) result = caseAnyType(resourceConfigType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.RESOURCE_TYPE: {
+ ResourceType resourceType = (ResourceType)theEObject;
+ T result = caseResourceType(resourceType);
+ if (result == null) result = caseAbstractAnyType(resourceType);
+ if (result == null) result = caseAnyType(resourceType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.SET_OFF_TYPE: {
+ SetOffType setOffType = (SetOffType)theEObject;
+ T result = caseSetOffType(setOffType);
+ if (result == null) result = caseAbstractAnyType(setOffType);
+ if (result == null) result = caseAnyType(setOffType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.SET_ON_TYPE: {
+ SetOnType setOnType = (SetOnType)theEObject;
+ T result = caseSetOnType(setOnType);
+ if (result == null) result = caseAbstractAnyType(setOnType);
+ if (result == null) result = caseAnyType(setOnType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case SmooksPackage.SMOOKS_RESOURCE_LIST_TYPE: {
+ SmooksResourceListType smooksResourceListType = (SmooksResourceListType)theEObject;
+ T result = caseSmooksResourceListType(smooksResourceListType);
+ if (result == null) result = caseAbstractAnyType(smooksResourceListType);
+ if (result == null) result = caseAnyType(smooksResourceListType);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Abstract Reader</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 Reader</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseAbstractReader(AbstractReader 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>Conditions 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>Conditions Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConditionsType(ConditionsType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Condition 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>Condition Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseConditionType(ConditionType 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 caseDocumentRoot(DocumentRoot 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>Features 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>Features Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseFeaturesType(FeaturesType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Handlers 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>Handlers Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHandlersType(HandlersType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Handler 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>Handler Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseHandlerType(HandlerType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Import 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>Import Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseImportType(ImportType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Params 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>Params Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParamsType(ParamsType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Param 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>Param Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseParamType(ParamType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Profiles 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>Profiles Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProfilesType(ProfilesType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Profile 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>Profile Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProfileType(ProfileType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Reader 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>Reader Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseReaderType(ReaderType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource Config 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>Resource Config Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceConfigType(ResourceConfigType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource 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>Resource Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseResourceType(ResourceType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Set Off 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>Set Off Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSetOffType(SetOffType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Set On 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>Set On Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSetOnType(SetOnType object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Resource List 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>Resource List Type</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSmooksResourceListType(SmooksResourceListType 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>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;
+ }
+
+} //SmooksSwitch
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksXMLProcessor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksXMLProcessor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksXMLProcessor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.smooks.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.smooks.SmooksPackage;
+
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class SmooksXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SmooksXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ SmooksPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the SmooksResourceFactoryImpl 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 SmooksResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new SmooksResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //SmooksXMLProcessor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/smooks/util/SmooksXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/BindTo.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/BindTo.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/BindTo.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Bind To</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Bind the templating result into the bean context under the specified "id". This makes the
+ * templating result available for routing or other operations.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.BindTo#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getBindTo()
+ * @model extendedMetaData="name='bindTo' kind='empty'"
+ * @generated
+ */
+public interface BindTo extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Id</em>' attribute.
+ * @see #setId(String)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getBindTo_Id()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='id'"
+ * @generated
+ */
+ String getId();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.BindTo#getId <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Id</em>' attribute.
+ * @see #getId()
+ * @generated
+ */
+ void setId(String value);
+
+} // BindTo
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/BindTo.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,116 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+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.xsl.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl <em>Xsl</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot 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.xsl.XslPackage#getDocumentRoot_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.xsl.XslPackage#getDocumentRoot_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.xsl.XslPackage#getDocumentRoot_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>Xsl</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * XSL Templating Configuration.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Xsl</em>' containment reference.
+ * @see #setXsl(Xsl)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getDocumentRoot_Xsl()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='xsl' namespace='##targetNamespace' affiliation='http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config'"
+ * @generated
+ */
+ Xsl getXsl();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl <em>Xsl</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Xsl</em>' containment reference.
+ * @see #getXsl()
+ * @generated
+ */
+ void setXsl(Xsl value);
+
+} // DocumentRoot
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/DocumentRoot.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Inline.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Inline.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Inline.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,93 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Inline</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Inline the templating result into the <b>Smooks.filter</b> Result message.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getInline()
+ * @model extendedMetaData="name='inline' kind='empty'"
+ * @generated
+ */
+public interface Inline extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Directive</b></em>' attribute.
+ * The literals are from the enumeration {@link org.jboss.tools.smooks.model.xsl.InlineDirective}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * How the templating result is to be used (relative to the element on which it
+ * is applied).
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Directive</em>' attribute.
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @see #isSetDirective()
+ * @see #unsetDirective()
+ * @see #setDirective(InlineDirective)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getInline_Directive()
+ * @model unsettable="true" required="true"
+ * extendedMetaData="kind='attribute' name='directive'"
+ * @generated
+ */
+ InlineDirective getDirective();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Directive</em>' attribute.
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @see #isSetDirective()
+ * @see #unsetDirective()
+ * @see #getDirective()
+ * @generated
+ */
+ void setDirective(InlineDirective value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetDirective()
+ * @see #getDirective()
+ * @see #setDirective(InlineDirective)
+ * @generated
+ */
+ void unsetDirective();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Directive</em>' attribute is set.
+ * @see #unsetDirective()
+ * @see #getDirective()
+ * @see #setDirective(InlineDirective)
+ * @generated
+ */
+ boolean isSetDirective();
+
+} // Inline
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Inline.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,266 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+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>Inline Directive</b></em>',
+ * and utility methods for working with them.
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getInlineDirective()
+ * @model extendedMetaData="name='inlineDirective'"
+ * @generated
+ */
+public enum InlineDirective implements Enumerator {
+ /**
+ * The '<em><b>Addto</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #ADDTO_VALUE
+ * @generated
+ * @ordered
+ */
+ ADDTO(0, "addto", "addto"),
+
+ /**
+ * The '<em><b>Replace</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #REPLACE_VALUE
+ * @generated
+ * @ordered
+ */
+ REPLACE(1, "replace", "replace"),
+
+ /**
+ * The '<em><b>Insertbefore</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INSERTBEFORE_VALUE
+ * @generated
+ * @ordered
+ */
+ INSERTBEFORE(2, "insertbefore", "insertbefore"),
+
+ /**
+ * The '<em><b>Insertafter</b></em>' literal object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #INSERTAFTER_VALUE
+ * @generated
+ * @ordered
+ */
+ INSERTAFTER(3, "insertafter", "insertafter");
+
+ /**
+ * The '<em><b>Addto</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Addto</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #ADDTO
+ * @model name="addto"
+ * @generated
+ * @ordered
+ */
+ public static final int ADDTO_VALUE = 0;
+
+ /**
+ * The '<em><b>Replace</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Replace</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #REPLACE
+ * @model name="replace"
+ * @generated
+ * @ordered
+ */
+ public static final int REPLACE_VALUE = 1;
+
+ /**
+ * The '<em><b>Insertbefore</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Insertbefore</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INSERTBEFORE
+ * @model name="insertbefore"
+ * @generated
+ * @ordered
+ */
+ public static final int INSERTBEFORE_VALUE = 2;
+
+ /**
+ * The '<em><b>Insertafter</b></em>' literal value.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of '<em><b>Insertafter</b></em>' literal object isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @see #INSERTAFTER
+ * @model name="insertafter"
+ * @generated
+ * @ordered
+ */
+ public static final int INSERTAFTER_VALUE = 3;
+
+ /**
+ * An array of all the '<em><b>Inline Directive</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static final InlineDirective[] VALUES_ARRAY =
+ new InlineDirective[] {
+ ADDTO,
+ REPLACE,
+ INSERTBEFORE,
+ INSERTAFTER,
+ };
+
+ /**
+ * A public read-only list of all the '<em><b>Inline Directive</b></em>' enumerators.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final List<InlineDirective> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
+
+ /**
+ * Returns the '<em><b>Inline Directive</b></em>' literal with the specified literal value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static InlineDirective get(String literal) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ InlineDirective result = VALUES_ARRAY[i];
+ if (result.toString().equals(literal)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Inline Directive</b></em>' literal with the specified name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static InlineDirective getByName(String name) {
+ for (int i = 0; i < VALUES_ARRAY.length; ++i) {
+ InlineDirective result = VALUES_ARRAY[i];
+ if (result.getName().equals(name)) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ /**
+ * Returns the '<em><b>Inline Directive</b></em>' literal with the specified integer value.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static InlineDirective get(int value) {
+ switch (value) {
+ case ADDTO_VALUE: return ADDTO;
+ case REPLACE_VALUE: return REPLACE;
+ case INSERTBEFORE_VALUE: return INSERTBEFORE;
+ case INSERTAFTER_VALUE: return INSERTAFTER;
+ }
+ 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 InlineDirective(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;
+ }
+
+} //InlineDirective
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/InlineDirective.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/OutputTo.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/OutputTo.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/OutputTo.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,63 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Output To</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * Output the templating result to a named OutputStreamResource.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getOutputTo()
+ * @model extendedMetaData="name='outputTo' kind='empty'"
+ * @generated
+ */
+public interface OutputTo extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Output Stream Resource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * 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).
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Output Stream Resource</em>' attribute.
+ * @see #setOutputStreamResource(String)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getOutputTo_OutputStreamResource()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='outputStreamResource'"
+ * @generated
+ */
+ String getOutputStreamResource();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output Stream Resource</em>' attribute.
+ * @see #getOutputStreamResource()
+ * @generated
+ */
+ void setOutputStreamResource(String value);
+
+} // OutputTo
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/OutputTo.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Template.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Template.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Template.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,120 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Template</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * The XSL Template.
+ * <p/>
+ * This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Template#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getTemplate()
+ * @model extendedMetaData="name='template' kind='simple'"
+ * @generated
+ */
+public interface Template extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Value</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Value</em>' attribute.
+ * @see #setValue(String)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getTemplate_Value()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="name=':0' kind='simple'"
+ * @generated
+ */
+ String getValue();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getValue <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Value</em>' attribute.
+ * @see #getValue()
+ * @generated
+ */
+ void setValue(String value);
+
+ /**
+ * Returns the value of the '<em><b>Encoding</b></em>' attribute.
+ * The default value is <code>"UTF-8"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Template character encodng.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Encoding</em>' attribute.
+ * @see #isSetEncoding()
+ * @see #unsetEncoding()
+ * @see #setEncoding(String)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getTemplate_Encoding()
+ * @model default="UTF-8" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String"
+ * extendedMetaData="kind='attribute' name='encoding'"
+ * @generated
+ */
+ String getEncoding();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Encoding</em>' attribute.
+ * @see #isSetEncoding()
+ * @see #unsetEncoding()
+ * @see #getEncoding()
+ * @generated
+ */
+ void setEncoding(String value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetEncoding()
+ * @see #getEncoding()
+ * @see #setEncoding(String)
+ * @generated
+ */
+ void unsetEncoding();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Encoding</em>' attribute is set.
+ * @see #unsetEncoding()
+ * @see #getEncoding()
+ * @see #setEncoding(String)
+ * @generated
+ */
+ boolean isSetEncoding();
+
+} // Template
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Template.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Use.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Use.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Use.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,117 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+import org.jboss.tools.smooks.model.common.AbstractAnyType;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Use</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * The <use> element allows you to define how the templating result is to be used.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Use#getInline <em>Inline</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Use#getBindTo <em>Bind To</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Use#getOutputTo <em>Output To</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse()
+ * @model extendedMetaData="name='use' kind='elementOnly'"
+ * @generated
+ */
+public interface Use extends AbstractAnyType {
+ /**
+ * Returns the value of the '<em><b>Inline</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Inline</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Inline</em>' containment reference.
+ * @see #setInline(Inline)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse_Inline()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='inline' namespace='##targetNamespace'"
+ * @generated
+ */
+ Inline getInline();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Use#getInline <em>Inline</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Inline</em>' containment reference.
+ * @see #getInline()
+ * @generated
+ */
+ void setInline(Inline value);
+
+ /**
+ * Returns the value of the '<em><b>Bind To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Bind To</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Bind To</em>' containment reference.
+ * @see #setBindTo(BindTo)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse_BindTo()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='bindTo' namespace='##targetNamespace'"
+ * @generated
+ */
+ BindTo getBindTo();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Use#getBindTo <em>Bind To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Bind To</em>' containment reference.
+ * @see #getBindTo()
+ * @generated
+ */
+ void setBindTo(BindTo value);
+
+ /**
+ * Returns the value of the '<em><b>Output To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Output To</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Output To</em>' containment reference.
+ * @see #setOutputTo(OutputTo)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getUse_OutputTo()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='outputTo' namespace='##targetNamespace'"
+ * @generated
+ */
+ OutputTo getOutputTo();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Use#getOutputTo <em>Output To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Output To</em>' containment reference.
+ * @see #getOutputTo()
+ * @generated
+ */
+ void setOutputTo(OutputTo value);
+
+} // Use
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Use.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Xsl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Xsl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Xsl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,225 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+import org.eclipse.emf.common.util.EList;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Xsl</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ *
+ * XSL Templating Configuration Type.
+ *
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getTemplate <em>Template</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getUse <em>Use</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement <em>Apply On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS <em>Apply On Element NS</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl()
+ * @model extendedMetaData="name='xsl' kind='elementOnly'"
+ * @generated
+ */
+public interface Xsl extends ElementVisitor {
+ /**
+ * Returns the value of the '<em><b>Template</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Template</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Template</em>' containment reference.
+ * @see #setTemplate(Template)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_Template()
+ * @model containment="true" required="true"
+ * extendedMetaData="kind='element' name='template' namespace='##targetNamespace'"
+ * @generated
+ */
+ Template getTemplate();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getTemplate <em>Template</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Template</em>' containment reference.
+ * @see #getTemplate()
+ * @generated
+ */
+ void setTemplate(Template value);
+
+ /**
+ * Returns the value of the '<em><b>Use</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Use</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Use</em>' containment reference.
+ * @see #setUse(Use)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_Use()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='use' namespace='##targetNamespace'"
+ * @generated
+ */
+ Use getUse();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getUse <em>Use</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Use</em>' containment reference.
+ * @see #getUse()
+ * @generated
+ */
+ void setUse(Use value);
+
+ /**
+ * Returns the value of the '<em><b>Param</b></em>' containment reference list.
+ * The list contents are of type {@link org.jboss.tools.smooks.model.smooks.ParamType}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Param</em>' containment reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Param</em>' containment reference list.
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_Param()
+ * @model containment="true"
+ * extendedMetaData="kind='element' name='param' namespace='http://www.milyn.org/xsd/smooks-1.1.xsd'"
+ * @generated
+ */
+ EList<ParamType> getParam();
+
+ /**
+ * Returns the value of the '<em><b>Apply Before</b></em>' attribute.
+ * The default value is <code>"false"</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * Apply the template before visiting the elements child content.<p/>Default is 'false'.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Apply Before</em>' attribute.
+ * @see #isSetApplyBefore()
+ * @see #unsetApplyBefore()
+ * @see #setApplyBefore(boolean)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_ApplyBefore()
+ * @model default="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
+ * extendedMetaData="kind='attribute' name='applyBefore'"
+ * @generated
+ */
+ boolean isApplyBefore();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Apply Before</em>' attribute.
+ * @see #isSetApplyBefore()
+ * @see #unsetApplyBefore()
+ * @see #isApplyBefore()
+ * @generated
+ */
+ void setApplyBefore(boolean value);
+
+ /**
+ * Unsets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isSetApplyBefore()
+ * @see #isApplyBefore()
+ * @see #setApplyBefore(boolean)
+ * @generated
+ */
+ void unsetApplyBefore();
+
+ /**
+ * Returns whether the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}' attribute is set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return whether the value of the '<em>Apply Before</em>' attribute is set.
+ * @see #unsetApplyBefore()
+ * @see #isApplyBefore()
+ * @see #setApplyBefore(boolean)
+ * @generated
+ */
+ boolean isSetApplyBefore();
+
+ /**
+ * Returns the value of the '<em><b>Apply On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The name of the element on which the template is to be applied.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Apply On Element</em>' attribute.
+ * @see #setApplyOnElement(String)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_ApplyOnElement()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
+ * extendedMetaData="kind='attribute' name='applyOnElement'"
+ * @generated
+ */
+ String getApplyOnElement();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement <em>Apply On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Apply On Element</em>' attribute.
+ * @see #getApplyOnElement()
+ * @generated
+ */
+ void setApplyOnElement(String value);
+
+ /**
+ * Returns the value of the '<em><b>Apply On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ *
+ * The namespace of the element on which the template is to be applied.
+ *
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Apply On Element NS</em>' attribute.
+ * @see #setApplyOnElementNS(String)
+ * @see org.jboss.tools.smooks.model.xsl.XslPackage#getXsl_ApplyOnElementNS()
+ * @model dataType="org.eclipse.emf.ecore.xml.type.AnyURI"
+ * extendedMetaData="kind='attribute' name='applyOnElementNS'"
+ * @generated
+ */
+ String getApplyOnElementNS();
+
+ /**
+ * Sets the value of the '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS <em>Apply On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Apply On Element NS</em>' attribute.
+ * @see #getApplyOnElementNS()
+ * @generated
+ */
+ void setApplyOnElementNS(String value);
+
+} // Xsl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/Xsl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,100 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+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.xsl.XslPackage
+ * @generated
+ */
+public interface XslFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ XslFactory eINSTANCE = org.jboss.tools.smooks.model.xsl.impl.XslFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Bind To</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Bind To</em>'.
+ * @generated
+ */
+ BindTo createBindTo();
+
+ /**
+ * 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
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Inline</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Inline</em>'.
+ * @generated
+ */
+ Inline createInline();
+
+ /**
+ * Returns a new object of class '<em>Output To</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Output To</em>'.
+ * @generated
+ */
+ OutputTo createOutputTo();
+
+ /**
+ * Returns a new object of class '<em>Template</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Template</em>'.
+ * @generated
+ */
+ Template createTemplate();
+
+ /**
+ * Returns a new object of class '<em>Use</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Use</em>'.
+ * @generated
+ */
+ Use createUse();
+
+ /**
+ * Returns a new object of class '<em>Xsl</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Xsl</em>'.
+ * @generated
+ */
+ Xsl createXsl();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ XslPackage getXslPackage();
+
+} //XslFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslPackage.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslPackage.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslPackage.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,1115 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl;
+
+
+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.common.CommonPackage;
+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 -->
+ * XSL Templating Configuration
+ * <!-- end-model-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.XslFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface XslPackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "xsl";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.milyn.org/xsd/smooks/xsl-1.1.xsd";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "xsl";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ XslPackage eINSTANCE = org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.BindToImpl <em>Bind To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.BindToImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getBindTo()
+ * @generated
+ */
+ int BIND_TO = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO__ID = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Bind To</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int BIND_TO_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 1;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int 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 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 DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Xsl</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSL = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.InlineImpl <em>Inline</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.InlineImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInline()
+ * @generated
+ */
+ int INLINE = 2;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Directive</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE__DIRECTIVE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Inline</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int INLINE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.OutputToImpl <em>Output To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.OutputToImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getOutputTo()
+ * @generated
+ */
+ int OUTPUT_TO = 3;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Output Stream Resource</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO__OUTPUT_STREAM_RESOURCE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The number of structural features of the '<em>Output To</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int OUTPUT_TO_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.TemplateImpl <em>Template</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.TemplateImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getTemplate()
+ * @generated
+ */
+ int TEMPLATE = 4;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Value</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__VALUE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Encoding</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE__ENCODING = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The number of structural features of the '<em>Template</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEMPLATE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl <em>Use</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.UseImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getUse()
+ * @generated
+ */
+ int USE = 5;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__MIXED = CommonPackage.ABSTRACT_ANY_TYPE__MIXED;
+
+ /**
+ * The feature id for the '<em><b>Any</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__ANY = CommonPackage.ABSTRACT_ANY_TYPE__ANY;
+
+ /**
+ * The feature id for the '<em><b>Any Attribute</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__ANY_ATTRIBUTE = CommonPackage.ABSTRACT_ANY_TYPE__ANY_ATTRIBUTE;
+
+ /**
+ * The feature id for the '<em><b>Inline</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__INLINE = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Bind To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__BIND_TO = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Output To</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE__OUTPUT_TO = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 2;
+
+ /**
+ * The number of structural features of the '<em>Use</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int USE_FEATURE_COUNT = CommonPackage.ABSTRACT_ANY_TYPE_FEATURE_COUNT + 3;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl <em>Xsl</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getXsl()
+ * @generated
+ */
+ int XSL = 6;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__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 XSL__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 XSL__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 XSL__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 XSL__TARGET_PROFILE = SmooksPackage.ELEMENT_VISITOR__TARGET_PROFILE;
+
+ /**
+ * The feature id for the '<em><b>Template</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__TEMPLATE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Use</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__USE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Param</b></em>' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__PARAM = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>Apply Before</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__APPLY_BEFORE = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Apply On Element</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__APPLY_ON_ELEMENT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Apply On Element NS</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL__APPLY_ON_ELEMENT_NS = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>Xsl</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int XSL_FEATURE_COUNT = SmooksPackage.ELEMENT_VISITOR_FEATURE_COUNT + 6;
+
+ /**
+ * The meta object id for the '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirective()
+ * @generated
+ */
+ int INLINE_DIRECTIVE = 7;
+
+ /**
+ * The meta object id for the '<em>Inline Directive Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirectiveObject()
+ * @generated
+ */
+ int INLINE_DIRECTIVE_OBJECT = 8;
+
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.BindTo <em>Bind To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Bind To</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.BindTo
+ * @generated
+ */
+ EClass getBindTo();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.BindTo#getId <em>Id</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.BindTo#getId()
+ * @see #getBindTo()
+ * @generated
+ */
+ EAttribute getBindTo_Id();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot <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.xsl.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#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.xsl.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#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.xsl.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#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.xsl.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl <em>Xsl</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Xsl</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.DocumentRoot#getXsl()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Xsl();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Inline <em>Inline</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Inline</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Inline
+ * @generated
+ */
+ EClass getInline();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Inline#getDirective <em>Directive</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Directive</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Inline#getDirective()
+ * @see #getInline()
+ * @generated
+ */
+ EAttribute getInline_Directive();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.OutputTo <em>Output To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Output To</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.OutputTo
+ * @generated
+ */
+ EClass getOutputTo();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource <em>Output Stream Resource</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Output Stream Resource</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.OutputTo#getOutputStreamResource()
+ * @see #getOutputTo()
+ * @generated
+ */
+ EAttribute getOutputTo_OutputStreamResource();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Template <em>Template</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Template</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Template
+ * @generated
+ */
+ EClass getTemplate();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Template#getValue <em>Value</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Value</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Template#getValue()
+ * @see #getTemplate()
+ * @generated
+ */
+ EAttribute getTemplate_Value();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Template#getEncoding <em>Encoding</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Encoding</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Template#getEncoding()
+ * @see #getTemplate()
+ * @generated
+ */
+ EAttribute getTemplate_Encoding();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Use <em>Use</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Use</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Use
+ * @generated
+ */
+ EClass getUse();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Use#getInline <em>Inline</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Inline</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Use#getInline()
+ * @see #getUse()
+ * @generated
+ */
+ EReference getUse_Inline();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Use#getBindTo <em>Bind To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Bind To</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Use#getBindTo()
+ * @see #getUse()
+ * @generated
+ */
+ EReference getUse_BindTo();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Use#getOutputTo <em>Output To</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Output To</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Use#getOutputTo()
+ * @see #getUse()
+ * @generated
+ */
+ EReference getUse_OutputTo();
+
+ /**
+ * Returns the meta object for class '{@link org.jboss.tools.smooks.model.xsl.Xsl <em>Xsl</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Xsl</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl
+ * @generated
+ */
+ EClass getXsl();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Xsl#getTemplate <em>Template</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Template</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl#getTemplate()
+ * @see #getXsl()
+ * @generated
+ */
+ EReference getXsl_Template();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.jboss.tools.smooks.model.xsl.Xsl#getUse <em>Use</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Use</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl#getUse()
+ * @see #getXsl()
+ * @generated
+ */
+ EReference getXsl_Use();
+
+ /**
+ * Returns the meta object for the containment reference list '{@link org.jboss.tools.smooks.model.xsl.Xsl#getParam <em>Param</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Param</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl#getParam()
+ * @see #getXsl()
+ * @generated
+ */
+ EReference getXsl_Param();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore <em>Apply Before</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Apply Before</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl#isApplyBefore()
+ * @see #getXsl()
+ * @generated
+ */
+ EAttribute getXsl_ApplyBefore();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement <em>Apply On Element</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Apply On Element</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElement()
+ * @see #getXsl()
+ * @generated
+ */
+ EAttribute getXsl_ApplyOnElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS <em>Apply On Element NS</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Apply On Element NS</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.Xsl#getApplyOnElementNS()
+ * @see #getXsl()
+ * @generated
+ */
+ EAttribute getXsl_ApplyOnElementNS();
+
+ /**
+ * Returns the meta object for enum '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for enum '<em>Inline Directive</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @generated
+ */
+ EEnum getInlineDirective();
+
+ /**
+ * Returns the meta object for data type '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive Object</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for data type '<em>Inline Directive Object</em>'.
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @model instanceClass="xsl.InlineDirective"
+ * extendedMetaData="name='inlineDirective:Object' baseType='inlineDirective'"
+ * @generated
+ */
+ EDataType getInlineDirectiveObject();
+
+ /**
+ * 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
+ */
+ XslFactory getXslFactory();
+
+ /**
+ * <!-- 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.xsl.impl.BindToImpl <em>Bind To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.BindToImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getBindTo()
+ * @generated
+ */
+ EClass BIND_TO = eINSTANCE.getBindTo();
+
+ /**
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute BIND_TO__ID = eINSTANCE.getBindTo_Id();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Xsl</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSL = eINSTANCE.getDocumentRoot_Xsl();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.InlineImpl <em>Inline</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.InlineImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInline()
+ * @generated
+ */
+ EClass INLINE = eINSTANCE.getInline();
+
+ /**
+ * The meta object literal for the '<em><b>Directive</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute INLINE__DIRECTIVE = eINSTANCE.getInline_Directive();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.OutputToImpl <em>Output To</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.OutputToImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getOutputTo()
+ * @generated
+ */
+ EClass OUTPUT_TO = eINSTANCE.getOutputTo();
+
+ /**
+ * The meta object literal for the '<em><b>Output Stream Resource</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute OUTPUT_TO__OUTPUT_STREAM_RESOURCE = eINSTANCE.getOutputTo_OutputStreamResource();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.TemplateImpl <em>Template</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.TemplateImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getTemplate()
+ * @generated
+ */
+ EClass TEMPLATE = eINSTANCE.getTemplate();
+
+ /**
+ * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEMPLATE__VALUE = eINSTANCE.getTemplate_Value();
+
+ /**
+ * The meta object literal for the '<em><b>Encoding</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEMPLATE__ENCODING = eINSTANCE.getTemplate_Encoding();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl <em>Use</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.UseImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getUse()
+ * @generated
+ */
+ EClass USE = eINSTANCE.getUse();
+
+ /**
+ * The meta object literal for the '<em><b>Inline</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USE__INLINE = eINSTANCE.getUse_Inline();
+
+ /**
+ * The meta object literal for the '<em><b>Bind To</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USE__BIND_TO = eINSTANCE.getUse_BindTo();
+
+ /**
+ * The meta object literal for the '<em><b>Output To</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference USE__OUTPUT_TO = eINSTANCE.getUse_OutputTo();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl <em>Xsl</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslImpl
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getXsl()
+ * @generated
+ */
+ EClass XSL = eINSTANCE.getXsl();
+
+ /**
+ * The meta object literal for the '<em><b>Template</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference XSL__TEMPLATE = eINSTANCE.getXsl_Template();
+
+ /**
+ * The meta object literal for the '<em><b>Use</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference XSL__USE = eINSTANCE.getXsl_Use();
+
+ /**
+ * The meta object literal for the '<em><b>Param</b></em>' containment reference list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference XSL__PARAM = eINSTANCE.getXsl_Param();
+
+ /**
+ * The meta object literal for the '<em><b>Apply Before</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute XSL__APPLY_BEFORE = eINSTANCE.getXsl_ApplyBefore();
+
+ /**
+ * The meta object literal for the '<em><b>Apply On Element</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute XSL__APPLY_ON_ELEMENT = eINSTANCE.getXsl_ApplyOnElement();
+
+ /**
+ * The meta object literal for the '<em><b>Apply On Element NS</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute XSL__APPLY_ON_ELEMENT_NS = eINSTANCE.getXsl_ApplyOnElementNS();
+
+ /**
+ * The meta object literal for the '{@link org.jboss.tools.smooks.model.xsl.InlineDirective <em>Inline Directive</em>}' enum.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirective()
+ * @generated
+ */
+ EEnum INLINE_DIRECTIVE = eINSTANCE.getInlineDirective();
+
+ /**
+ * The meta object literal for the '<em>Inline Directive Object</em>' data type.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.jboss.tools.smooks.model.xsl.InlineDirective
+ * @see org.jboss.tools.smooks.model.xsl.impl.XslPackageImpl#getInlineDirectiveObject()
+ * @generated
+ */
+ EDataType INLINE_DIRECTIVE_OBJECT = eINSTANCE.getInlineDirectiveObject();
+
+ }
+
+} //XslPackage
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/XslPackage.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/BindToImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/BindToImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/BindToImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.xsl.BindTo;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Bind To</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.BindToImpl#getId <em>Id</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class BindToImpl extends AbstractAnyTypeImpl implements BindTo {
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected BindToImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.BIND_TO;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.BIND_TO__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XslPackage.BIND_TO__ID:
+ return getId();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.BIND_TO__ID:
+ setId((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.BIND_TO__ID:
+ setId(ID_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.BIND_TO__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ }
+ 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(" (id: ");
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
+
+} //BindToImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/BindToImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/DocumentRootImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/DocumentRootImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/DocumentRootImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,286 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.xsl.DocumentRoot;
+import org.jboss.tools.smooks.model.xsl.Xsl;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+/**
+ * <!-- 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.xsl.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.DocumentRootImpl#getXsl <em>Xsl</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * 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 DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, XslPackage.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, XslPackage.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, XslPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Xsl getXsl() {
+ return (Xsl)getMixed().get(XslPackage.Literals.DOCUMENT_ROOT__XSL, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetXsl(Xsl newXsl, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(XslPackage.Literals.DOCUMENT_ROOT__XSL, newXsl, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setXsl(Xsl newXsl) {
+ ((FeatureMap.Internal)getMixed()).set(XslPackage.Literals.DOCUMENT_ROOT__XSL, newXsl);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XslPackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
+ case XslPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case XslPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case XslPackage.DOCUMENT_ROOT__XSL:
+ return basicSetXsl(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 XslPackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case XslPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case XslPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case XslPackage.DOCUMENT_ROOT__XSL:
+ return getXsl();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case XslPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case XslPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case XslPackage.DOCUMENT_ROOT__XSL:
+ setXsl((Xsl)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case XslPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case XslPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case XslPackage.DOCUMENT_ROOT__XSL:
+ setXsl((Xsl)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case XslPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case XslPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case XslPackage.DOCUMENT_ROOT__XSL:
+ return getXsl() != 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();
+ }
+
+} //DocumentRootImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/DocumentRootImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/InlineImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/InlineImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/InlineImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,203 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.xsl.Inline;
+import org.jboss.tools.smooks.model.xsl.InlineDirective;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Inline</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.InlineImpl#getDirective <em>Directive</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class InlineImpl extends AbstractAnyTypeImpl implements Inline {
+ /**
+ * The default value of the '{@link #getDirective() <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirective()
+ * @generated
+ * @ordered
+ */
+ protected static final InlineDirective DIRECTIVE_EDEFAULT = InlineDirective.ADDTO;
+
+ /**
+ * The cached value of the '{@link #getDirective() <em>Directive</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDirective()
+ * @generated
+ * @ordered
+ */
+ protected InlineDirective directive = DIRECTIVE_EDEFAULT;
+
+ /**
+ * This is true if the Directive attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean directiveESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected InlineImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.INLINE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InlineDirective getDirective() {
+ return directive;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDirective(InlineDirective newDirective) {
+ InlineDirective oldDirective = directive;
+ directive = newDirective == null ? DIRECTIVE_EDEFAULT : newDirective;
+ boolean oldDirectiveESet = directiveESet;
+ directiveESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.INLINE__DIRECTIVE, oldDirective, directive, !oldDirectiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetDirective() {
+ InlineDirective oldDirective = directive;
+ boolean oldDirectiveESet = directiveESet;
+ directive = DIRECTIVE_EDEFAULT;
+ directiveESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, XslPackage.INLINE__DIRECTIVE, oldDirective, DIRECTIVE_EDEFAULT, oldDirectiveESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetDirective() {
+ return directiveESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XslPackage.INLINE__DIRECTIVE:
+ return getDirective();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.INLINE__DIRECTIVE:
+ setDirective((InlineDirective)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.INLINE__DIRECTIVE:
+ unsetDirective();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.INLINE__DIRECTIVE:
+ return isSetDirective();
+ }
+ 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(" (directive: ");
+ if (directiveESet) result.append(directive); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //InlineImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/InlineImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/OutputToImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/OutputToImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/OutputToImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,168 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.xsl.OutputTo;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Output To</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.OutputToImpl#getOutputStreamResource <em>Output Stream Resource</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class OutputToImpl extends AbstractAnyTypeImpl implements OutputTo {
+ /**
+ * The default value of the '{@link #getOutputStreamResource() <em>Output Stream Resource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputStreamResource()
+ * @generated
+ * @ordered
+ */
+ protected static final String OUTPUT_STREAM_RESOURCE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getOutputStreamResource() <em>Output Stream Resource</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputStreamResource()
+ * @generated
+ * @ordered
+ */
+ protected String outputStreamResource = OUTPUT_STREAM_RESOURCE_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected OutputToImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.OUTPUT_TO;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getOutputStreamResource() {
+ return outputStreamResource;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputStreamResource(String newOutputStreamResource) {
+ String oldOutputStreamResource = outputStreamResource;
+ outputStreamResource = newOutputStreamResource;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE, oldOutputStreamResource, outputStreamResource));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XslPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ return getOutputStreamResource();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ setOutputStreamResource((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ setOutputStreamResource(OUTPUT_STREAM_RESOURCE_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.OUTPUT_TO__OUTPUT_STREAM_RESOURCE:
+ return OUTPUT_STREAM_RESOURCE_EDEFAULT == null ? outputStreamResource != null : !OUTPUT_STREAM_RESOURCE_EDEFAULT.equals(outputStreamResource);
+ }
+ 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(" (outputStreamResource: ");
+ result.append(outputStreamResource);
+ result.append(')');
+ return result.toString();
+ }
+
+} //OutputToImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/OutputToImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/TemplateImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/TemplateImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/TemplateImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,256 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.xsl.Template;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Template</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.TemplateImpl#getValue <em>Value</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.TemplateImpl#getEncoding <em>Encoding</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TemplateImpl extends AbstractAnyTypeImpl implements Template {
+ /**
+ * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected static final String VALUE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValue()
+ * @generated
+ * @ordered
+ */
+ protected String value = VALUE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEncoding()
+ * @generated
+ * @ordered
+ */
+ protected static final String ENCODING_EDEFAULT = "UTF-8";
+
+ /**
+ * The cached value of the '{@link #getEncoding() <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getEncoding()
+ * @generated
+ * @ordered
+ */
+ protected String encoding = ENCODING_EDEFAULT;
+
+ /**
+ * This is true if the Encoding attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean encodingESet;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TemplateImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.TEMPLATE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValue(String newValue) {
+ String oldValue = value;
+ value = newValue;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.TEMPLATE__VALUE, oldValue, value));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEncoding() {
+ return encoding;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEncoding(String newEncoding) {
+ String oldEncoding = encoding;
+ encoding = newEncoding;
+ boolean oldEncodingESet = encodingESet;
+ encodingESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.TEMPLATE__ENCODING, oldEncoding, encoding, !oldEncodingESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetEncoding() {
+ String oldEncoding = encoding;
+ boolean oldEncodingESet = encodingESet;
+ encoding = ENCODING_EDEFAULT;
+ encodingESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, XslPackage.TEMPLATE__ENCODING, oldEncoding, ENCODING_EDEFAULT, oldEncodingESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetEncoding() {
+ return encodingESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XslPackage.TEMPLATE__VALUE:
+ return getValue();
+ case XslPackage.TEMPLATE__ENCODING:
+ return getEncoding();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.TEMPLATE__VALUE:
+ setValue((String)newValue);
+ return;
+ case XslPackage.TEMPLATE__ENCODING:
+ setEncoding((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.TEMPLATE__VALUE:
+ setValue(VALUE_EDEFAULT);
+ return;
+ case XslPackage.TEMPLATE__ENCODING:
+ unsetEncoding();
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.TEMPLATE__VALUE:
+ return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
+ case XslPackage.TEMPLATE__ENCODING:
+ return isSetEncoding();
+ }
+ 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(" (value: ");
+ result.append(value);
+ result.append(", encoding: ");
+ if (encodingESet) result.append(encoding); else result.append("<unset>");
+ result.append(')');
+ return result.toString();
+ }
+
+} //TemplateImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/TemplateImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/UseImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/UseImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/UseImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,315 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.impl;
+
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.jboss.tools.smooks.model.common.impl.AbstractAnyTypeImpl;
+import org.jboss.tools.smooks.model.xsl.BindTo;
+import org.jboss.tools.smooks.model.xsl.Inline;
+import org.jboss.tools.smooks.model.xsl.OutputTo;
+import org.jboss.tools.smooks.model.xsl.Use;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Use</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl#getInline <em>Inline</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl#getBindTo <em>Bind To</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.UseImpl#getOutputTo <em>Output To</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class UseImpl extends AbstractAnyTypeImpl implements Use {
+ /**
+ * The cached value of the '{@link #getInline() <em>Inline</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getInline()
+ * @generated
+ * @ordered
+ */
+ protected Inline inline;
+
+ /**
+ * The cached value of the '{@link #getBindTo() <em>Bind To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getBindTo()
+ * @generated
+ * @ordered
+ */
+ protected BindTo bindTo;
+
+ /**
+ * The cached value of the '{@link #getOutputTo() <em>Output To</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getOutputTo()
+ * @generated
+ * @ordered
+ */
+ protected OutputTo outputTo;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected UseImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.USE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Inline getInline() {
+ return inline;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetInline(Inline newInline, NotificationChain msgs) {
+ Inline oldInline = inline;
+ inline = newInline;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XslPackage.USE__INLINE, oldInline, newInline);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setInline(Inline newInline) {
+ if (newInline != inline) {
+ NotificationChain msgs = null;
+ if (inline != null)
+ msgs = ((InternalEObject)inline).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XslPackage.USE__INLINE, null, msgs);
+ if (newInline != null)
+ msgs = ((InternalEObject)newInline).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XslPackage.USE__INLINE, null, msgs);
+ msgs = basicSetInline(newInline, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.USE__INLINE, newInline, newInline));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindTo getBindTo() {
+ return bindTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetBindTo(BindTo newBindTo, NotificationChain msgs) {
+ BindTo oldBindTo = bindTo;
+ bindTo = newBindTo;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XslPackage.USE__BIND_TO, oldBindTo, newBindTo);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setBindTo(BindTo newBindTo) {
+ if (newBindTo != bindTo) {
+ NotificationChain msgs = null;
+ if (bindTo != null)
+ msgs = ((InternalEObject)bindTo).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XslPackage.USE__BIND_TO, null, msgs);
+ if (newBindTo != null)
+ msgs = ((InternalEObject)newBindTo).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XslPackage.USE__BIND_TO, null, msgs);
+ msgs = basicSetBindTo(newBindTo, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.USE__BIND_TO, newBindTo, newBindTo));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputTo getOutputTo() {
+ return outputTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetOutputTo(OutputTo newOutputTo, NotificationChain msgs) {
+ OutputTo oldOutputTo = outputTo;
+ outputTo = newOutputTo;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XslPackage.USE__OUTPUT_TO, oldOutputTo, newOutputTo);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setOutputTo(OutputTo newOutputTo) {
+ if (newOutputTo != outputTo) {
+ NotificationChain msgs = null;
+ if (outputTo != null)
+ msgs = ((InternalEObject)outputTo).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XslPackage.USE__OUTPUT_TO, null, msgs);
+ if (newOutputTo != null)
+ msgs = ((InternalEObject)newOutputTo).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XslPackage.USE__OUTPUT_TO, null, msgs);
+ msgs = basicSetOutputTo(newOutputTo, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.USE__OUTPUT_TO, newOutputTo, newOutputTo));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XslPackage.USE__INLINE:
+ return basicSetInline(null, msgs);
+ case XslPackage.USE__BIND_TO:
+ return basicSetBindTo(null, msgs);
+ case XslPackage.USE__OUTPUT_TO:
+ return basicSetOutputTo(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 XslPackage.USE__INLINE:
+ return getInline();
+ case XslPackage.USE__BIND_TO:
+ return getBindTo();
+ case XslPackage.USE__OUTPUT_TO:
+ return getOutputTo();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.USE__INLINE:
+ setInline((Inline)newValue);
+ return;
+ case XslPackage.USE__BIND_TO:
+ setBindTo((BindTo)newValue);
+ return;
+ case XslPackage.USE__OUTPUT_TO:
+ setOutputTo((OutputTo)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.USE__INLINE:
+ setInline((Inline)null);
+ return;
+ case XslPackage.USE__BIND_TO:
+ setBindTo((BindTo)null);
+ return;
+ case XslPackage.USE__OUTPUT_TO:
+ setOutputTo((OutputTo)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.USE__INLINE:
+ return inline != null;
+ case XslPackage.USE__BIND_TO:
+ return bindTo != null;
+ case XslPackage.USE__OUTPUT_TO:
+ return outputTo != null;
+ }
+ return super.eIsSet(featureID);
+ }
+
+} //UseImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/UseImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,238 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.xsl.*;
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class XslFactoryImpl extends EFactoryImpl implements XslFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static XslFactory init() {
+ try {
+ XslFactory theXslFactory = (XslFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.milyn.org/xsd/smooks/xsl-1.1.xsd");
+ if (theXslFactory != null) {
+ return theXslFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new XslFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case XslPackage.BIND_TO: return createBindTo();
+ case XslPackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case XslPackage.INLINE: return createInline();
+ case XslPackage.OUTPUT_TO: return createOutputTo();
+ case XslPackage.TEMPLATE: return createTemplate();
+ case XslPackage.USE: return createUse();
+ case XslPackage.XSL: return createXsl();
+ 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 XslPackage.INLINE_DIRECTIVE:
+ return createInlineDirectiveFromString(eDataType, initialValue);
+ case XslPackage.INLINE_DIRECTIVE_OBJECT:
+ return createInlineDirectiveObjectFromString(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 XslPackage.INLINE_DIRECTIVE:
+ return convertInlineDirectiveToString(eDataType, instanceValue);
+ case XslPackage.INLINE_DIRECTIVE_OBJECT:
+ return convertInlineDirectiveObjectToString(eDataType, instanceValue);
+ default:
+ throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BindTo createBindTo() {
+ BindToImpl bindTo = new BindToImpl();
+ return bindTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Inline createInline() {
+ InlineImpl inline = new InlineImpl();
+ return inline;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public OutputTo createOutputTo() {
+ OutputToImpl outputTo = new OutputToImpl();
+ return outputTo;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Template createTemplate() {
+ TemplateImpl template = new TemplateImpl();
+ return template;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Use createUse() {
+ UseImpl use = new UseImpl();
+ return use;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Xsl createXsl() {
+ XslImpl xsl = new XslImpl();
+ return xsl;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InlineDirective createInlineDirectiveFromString(EDataType eDataType, String initialValue) {
+ InlineDirective result = InlineDirective.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 convertInlineDirectiveToString(EDataType eDataType, Object instanceValue) {
+ return instanceValue == null ? null : instanceValue.toString();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public InlineDirective createInlineDirectiveObjectFromString(EDataType eDataType, String initialValue) {
+ return createInlineDirectiveFromString(XslPackage.Literals.INLINE_DIRECTIVE, initialValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String convertInlineDirectiveObjectToString(EDataType eDataType, Object instanceValue) {
+ return convertInlineDirectiveToString(XslPackage.Literals.INLINE_DIRECTIVE, instanceValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslPackage getXslPackage() {
+ return (XslPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static XslPackage getPackage() {
+ return XslPackage.eINSTANCE;
+ }
+
+} //XslFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,504 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.impl;
+
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.util.EObjectContainmentEList;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.jboss.tools.smooks.model.smooks.ParamType;
+import org.jboss.tools.smooks.model.smooks.impl.ElementVisitorImpl;
+import org.jboss.tools.smooks.model.xsl.Template;
+import org.jboss.tools.smooks.model.xsl.Use;
+import org.jboss.tools.smooks.model.xsl.Xsl;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Xsl</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl#getTemplate <em>Template</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl#getUse <em>Use</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl#getParam <em>Param</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl#isApplyBefore <em>Apply Before</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl#getApplyOnElement <em>Apply On Element</em>}</li>
+ * <li>{@link org.jboss.tools.smooks.model.xsl.impl.XslImpl#getApplyOnElementNS <em>Apply On Element NS</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class XslImpl extends ElementVisitorImpl implements Xsl {
+ /**
+ * The cached value of the '{@link #getTemplate() <em>Template</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTemplate()
+ * @generated
+ * @ordered
+ */
+ protected Template template;
+
+ /**
+ * The cached value of the '{@link #getUse() <em>Use</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUse()
+ * @generated
+ * @ordered
+ */
+ protected Use use;
+
+ /**
+ * The cached value of the '{@link #getParam() <em>Param</em>}' containment reference list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getParam()
+ * @generated
+ * @ordered
+ */
+ protected EList<ParamType> param;
+
+ /**
+ * The default value of the '{@link #isApplyBefore() <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isApplyBefore()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean APPLY_BEFORE_EDEFAULT = false;
+
+ /**
+ * The cached value of the '{@link #isApplyBefore() <em>Apply Before</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isApplyBefore()
+ * @generated
+ * @ordered
+ */
+ protected boolean applyBefore = APPLY_BEFORE_EDEFAULT;
+
+ /**
+ * This is true if the Apply Before attribute has been set.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ protected boolean applyBeforeESet;
+
+ /**
+ * The default value of the '{@link #getApplyOnElement() <em>Apply On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElement()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLY_ON_ELEMENT_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplyOnElement() <em>Apply On Element</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElement()
+ * @generated
+ * @ordered
+ */
+ protected String applyOnElement = APPLY_ON_ELEMENT_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getApplyOnElementNS() <em>Apply On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected static final String APPLY_ON_ELEMENT_NS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getApplyOnElementNS() <em>Apply On Element NS</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getApplyOnElementNS()
+ * @generated
+ * @ordered
+ */
+ protected String applyOnElementNS = APPLY_ON_ELEMENT_NS_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected XslImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return XslPackage.Literals.XSL;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Template getTemplate() {
+ return template;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetTemplate(Template newTemplate, NotificationChain msgs) {
+ Template oldTemplate = template;
+ template = newTemplate;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XslPackage.XSL__TEMPLATE, oldTemplate, newTemplate);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setTemplate(Template newTemplate) {
+ if (newTemplate != template) {
+ NotificationChain msgs = null;
+ if (template != null)
+ msgs = ((InternalEObject)template).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XslPackage.XSL__TEMPLATE, null, msgs);
+ if (newTemplate != null)
+ msgs = ((InternalEObject)newTemplate).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XslPackage.XSL__TEMPLATE, null, msgs);
+ msgs = basicSetTemplate(newTemplate, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.XSL__TEMPLATE, newTemplate, newTemplate));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Use getUse() {
+ return use;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetUse(Use newUse, NotificationChain msgs) {
+ Use oldUse = use;
+ use = newUse;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XslPackage.XSL__USE, oldUse, newUse);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUse(Use newUse) {
+ if (newUse != use) {
+ NotificationChain msgs = null;
+ if (use != null)
+ msgs = ((InternalEObject)use).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - XslPackage.XSL__USE, null, msgs);
+ if (newUse != null)
+ msgs = ((InternalEObject)newUse).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - XslPackage.XSL__USE, null, msgs);
+ msgs = basicSetUse(newUse, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.XSL__USE, newUse, newUse));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<ParamType> getParam() {
+ if (param == null) {
+ param = new EObjectContainmentEList<ParamType>(ParamType.class, this, XslPackage.XSL__PARAM);
+ }
+ return param;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isApplyBefore() {
+ return applyBefore;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplyBefore(boolean newApplyBefore) {
+ boolean oldApplyBefore = applyBefore;
+ applyBefore = newApplyBefore;
+ boolean oldApplyBeforeESet = applyBeforeESet;
+ applyBeforeESet = true;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.XSL__APPLY_BEFORE, oldApplyBefore, applyBefore, !oldApplyBeforeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void unsetApplyBefore() {
+ boolean oldApplyBefore = applyBefore;
+ boolean oldApplyBeforeESet = applyBeforeESet;
+ applyBefore = APPLY_BEFORE_EDEFAULT;
+ applyBeforeESet = false;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.UNSET, XslPackage.XSL__APPLY_BEFORE, oldApplyBefore, APPLY_BEFORE_EDEFAULT, oldApplyBeforeESet));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isSetApplyBefore() {
+ return applyBeforeESet;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getApplyOnElement() {
+ return applyOnElement;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplyOnElement(String newApplyOnElement) {
+ String oldApplyOnElement = applyOnElement;
+ applyOnElement = newApplyOnElement;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.XSL__APPLY_ON_ELEMENT, oldApplyOnElement, applyOnElement));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getApplyOnElementNS() {
+ return applyOnElementNS;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setApplyOnElementNS(String newApplyOnElementNS) {
+ String oldApplyOnElementNS = applyOnElementNS;
+ applyOnElementNS = newApplyOnElementNS;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, XslPackage.XSL__APPLY_ON_ELEMENT_NS, oldApplyOnElementNS, applyOnElementNS));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case XslPackage.XSL__TEMPLATE:
+ return basicSetTemplate(null, msgs);
+ case XslPackage.XSL__USE:
+ return basicSetUse(null, msgs);
+ case XslPackage.XSL__PARAM:
+ return ((InternalEList<?>)getParam()).basicRemove(otherEnd, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case XslPackage.XSL__TEMPLATE:
+ return getTemplate();
+ case XslPackage.XSL__USE:
+ return getUse();
+ case XslPackage.XSL__PARAM:
+ return getParam();
+ case XslPackage.XSL__APPLY_BEFORE:
+ return isApplyBefore() ? Boolean.TRUE : Boolean.FALSE;
+ case XslPackage.XSL__APPLY_ON_ELEMENT:
+ return getApplyOnElement();
+ case XslPackage.XSL__APPLY_ON_ELEMENT_NS:
+ return getApplyOnElementNS();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("unchecked")
+ @Override
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case XslPackage.XSL__TEMPLATE:
+ setTemplate((Template)newValue);
+ return;
+ case XslPackage.XSL__USE:
+ setUse((Use)newValue);
+ return;
+ case XslPackage.XSL__PARAM:
+ getParam().clear();
+ getParam().addAll((Collection<? extends ParamType>)newValue);
+ return;
+ case XslPackage.XSL__APPLY_BEFORE:
+ setApplyBefore(((Boolean)newValue).booleanValue());
+ return;
+ case XslPackage.XSL__APPLY_ON_ELEMENT:
+ setApplyOnElement((String)newValue);
+ return;
+ case XslPackage.XSL__APPLY_ON_ELEMENT_NS:
+ setApplyOnElementNS((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case XslPackage.XSL__TEMPLATE:
+ setTemplate((Template)null);
+ return;
+ case XslPackage.XSL__USE:
+ setUse((Use)null);
+ return;
+ case XslPackage.XSL__PARAM:
+ getParam().clear();
+ return;
+ case XslPackage.XSL__APPLY_BEFORE:
+ unsetApplyBefore();
+ return;
+ case XslPackage.XSL__APPLY_ON_ELEMENT:
+ setApplyOnElement(APPLY_ON_ELEMENT_EDEFAULT);
+ return;
+ case XslPackage.XSL__APPLY_ON_ELEMENT_NS:
+ setApplyOnElementNS(APPLY_ON_ELEMENT_NS_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case XslPackage.XSL__TEMPLATE:
+ return template != null;
+ case XslPackage.XSL__USE:
+ return use != null;
+ case XslPackage.XSL__PARAM:
+ return param != null && !param.isEmpty();
+ case XslPackage.XSL__APPLY_BEFORE:
+ return isSetApplyBefore();
+ case XslPackage.XSL__APPLY_ON_ELEMENT:
+ return APPLY_ON_ELEMENT_EDEFAULT == null ? applyOnElement != null : !APPLY_ON_ELEMENT_EDEFAULT.equals(applyOnElement);
+ case XslPackage.XSL__APPLY_ON_ELEMENT_NS:
+ return APPLY_ON_ELEMENT_NS_EDEFAULT == null ? applyOnElementNS != null : !APPLY_ON_ELEMENT_NS_EDEFAULT.equals(applyOnElementNS);
+ }
+ 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(" (applyBefore: ");
+ if (applyBeforeESet) result.append(applyBefore); else result.append("<unset>");
+ result.append(", applyOnElement: ");
+ result.append(applyOnElement);
+ result.append(", applyOnElementNS: ");
+ result.append(applyOnElementNS);
+ result.append(')');
+ return result.toString();
+ }
+
+} //XslImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslPackageImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslPackageImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslPackageImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,795 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.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;
+import org.jboss.tools.smooks.model.xsl.BindTo;
+import org.jboss.tools.smooks.model.xsl.DocumentRoot;
+import org.jboss.tools.smooks.model.xsl.Inline;
+import org.jboss.tools.smooks.model.xsl.InlineDirective;
+import org.jboss.tools.smooks.model.xsl.OutputTo;
+import org.jboss.tools.smooks.model.xsl.Template;
+import org.jboss.tools.smooks.model.xsl.Use;
+import org.jboss.tools.smooks.model.xsl.Xsl;
+import org.jboss.tools.smooks.model.xsl.XslFactory;
+import org.jboss.tools.smooks.model.xsl.XslPackage;
+
+
+
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class XslPackageImpl extends EPackageImpl implements XslPackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass bindToEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass inlineEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass outputToEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass templateEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass useEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass xslEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EEnum inlineDirectiveEEnum = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EDataType inlineDirectiveObjectEDataType = 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.xsl.XslPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private XslPackageImpl() {
+ super(eNS_URI, XslFactory.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 XslPackage init() {
+ if (isInited) return (XslPackage)EPackage.Registry.INSTANCE.getEPackage(XslPackage.eNS_URI);
+
+ // Obtain or create and register package
+ XslPackageImpl theXslPackage = (XslPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof XslPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new XslPackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Obtain or create and register interdependencies
+ CommonPackageImpl theCommonPackage = (CommonPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) instanceof CommonPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI) : CommonPackage.eINSTANCE);
+ SmooksPackageImpl theSmooksPackage = (SmooksPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) instanceof SmooksPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI) : SmooksPackage.eINSTANCE);
+
+ // Create package meta-data objects
+ theXslPackage.createPackageContents();
+ theCommonPackage.createPackageContents();
+ theSmooksPackage.createPackageContents();
+
+ // Initialize created meta-data
+ theXslPackage.initializePackageContents();
+ theCommonPackage.initializePackageContents();
+ theSmooksPackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theXslPackage.freeze();
+
+ return theXslPackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getBindTo() {
+ return bindToEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getBindTo_Id() {
+ return (EAttribute)bindToEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Xsl() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getInline() {
+ return inlineEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getInline_Directive() {
+ return (EAttribute)inlineEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getOutputTo() {
+ return outputToEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getOutputTo_OutputStreamResource() {
+ return (EAttribute)outputToEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTemplate() {
+ return templateEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTemplate_Value() {
+ return (EAttribute)templateEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTemplate_Encoding() {
+ return (EAttribute)templateEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getUse() {
+ return useEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUse_Inline() {
+ return (EReference)useEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUse_BindTo() {
+ return (EReference)useEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getUse_OutputTo() {
+ return (EReference)useEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getXsl() {
+ return xslEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getXsl_Template() {
+ return (EReference)xslEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getXsl_Use() {
+ return (EReference)xslEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getXsl_Param() {
+ return (EReference)xslEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getXsl_ApplyBefore() {
+ return (EAttribute)xslEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getXsl_ApplyOnElement() {
+ return (EAttribute)xslEClass.getEStructuralFeatures().get(4);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getXsl_ApplyOnElementNS() {
+ return (EAttribute)xslEClass.getEStructuralFeatures().get(5);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EEnum getInlineDirective() {
+ return inlineDirectiveEEnum;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EDataType getInlineDirectiveObject() {
+ return inlineDirectiveObjectEDataType;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslFactory getXslFactory() {
+ return (XslFactory)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
+ bindToEClass = createEClass(BIND_TO);
+ createEAttribute(bindToEClass, BIND_TO__ID);
+
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSL);
+
+ inlineEClass = createEClass(INLINE);
+ createEAttribute(inlineEClass, INLINE__DIRECTIVE);
+
+ outputToEClass = createEClass(OUTPUT_TO);
+ createEAttribute(outputToEClass, OUTPUT_TO__OUTPUT_STREAM_RESOURCE);
+
+ templateEClass = createEClass(TEMPLATE);
+ createEAttribute(templateEClass, TEMPLATE__VALUE);
+ createEAttribute(templateEClass, TEMPLATE__ENCODING);
+
+ useEClass = createEClass(USE);
+ createEReference(useEClass, USE__INLINE);
+ createEReference(useEClass, USE__BIND_TO);
+ createEReference(useEClass, USE__OUTPUT_TO);
+
+ xslEClass = createEClass(XSL);
+ createEReference(xslEClass, XSL__TEMPLATE);
+ createEReference(xslEClass, XSL__USE);
+ createEReference(xslEClass, XSL__PARAM);
+ createEAttribute(xslEClass, XSL__APPLY_BEFORE);
+ createEAttribute(xslEClass, XSL__APPLY_ON_ELEMENT);
+ createEAttribute(xslEClass, XSL__APPLY_ON_ELEMENT_NS);
+
+ // Create enums
+ inlineDirectiveEEnum = createEEnum(INLINE_DIRECTIVE);
+
+ // Create data types
+ inlineDirectiveObjectEDataType = createEDataType(INLINE_DIRECTIVE_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
+ CommonPackage theCommonPackage = (CommonPackage)EPackage.Registry.INSTANCE.getEPackage(CommonPackage.eNS_URI);
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+ SmooksPackage theSmooksPackage = (SmooksPackage)EPackage.Registry.INSTANCE.getEPackage(SmooksPackage.eNS_URI);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+ bindToEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ inlineEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ outputToEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ templateEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ useEClass.getESuperTypes().add(theCommonPackage.getAbstractAnyType());
+ xslEClass.getESuperTypes().add(theSmooksPackage.getElementVisitor());
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(bindToEClass, BindTo.class, "BindTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getBindTo_Id(), theXMLTypePackage.getString(), "id", null, 1, 1, BindTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_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(getDocumentRoot_Xsl(), this.getXsl(), null, "xsl", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(inlineEClass, Inline.class, "Inline", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getInline_Directive(), this.getInlineDirective(), "directive", null, 1, 1, Inline.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(outputToEClass, OutputTo.class, "OutputTo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getOutputTo_OutputStreamResource(), theXMLTypePackage.getString(), "outputStreamResource", null, 1, 1, OutputTo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(templateEClass, Template.class, "Template", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTemplate_Value(), theXMLTypePackage.getString(), "value", null, 0, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTemplate_Encoding(), theXMLTypePackage.getString(), "encoding", "UTF-8", 0, 1, Template.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(useEClass, Use.class, "Use", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getUse_Inline(), this.getInline(), null, "inline", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getUse_BindTo(), this.getBindTo(), null, "bindTo", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getUse_OutputTo(), this.getOutputTo(), null, "outputTo", null, 0, 1, Use.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(xslEClass, Xsl.class, "Xsl", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getXsl_Template(), this.getTemplate(), null, "template", null, 1, 1, Xsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getXsl_Use(), this.getUse(), null, "use", null, 0, 1, Xsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getXsl_Param(), theSmooksPackage.getParamType(), null, "param", null, 0, -1, Xsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getXsl_ApplyBefore(), theXMLTypePackage.getBoolean(), "applyBefore", "false", 0, 1, Xsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getXsl_ApplyOnElement(), theXMLTypePackage.getString(), "applyOnElement", null, 1, 1, Xsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getXsl_ApplyOnElementNS(), theXMLTypePackage.getAnyURI(), "applyOnElementNS", null, 0, 1, Xsl.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Initialize enums and add enum literals
+ initEEnum(inlineDirectiveEEnum, InlineDirective.class, "InlineDirective");
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.ADDTO);
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.REPLACE);
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.INSERTBEFORE);
+ addEEnumLiteral(inlineDirectiveEEnum, InlineDirective.INSERTAFTER);
+
+ // Initialize data types
+ initEDataType(inlineDirectiveObjectEDataType, InlineDirective.class, "InlineDirectiveObject", 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
+ (bindToEClass,
+ source,
+ new String[] {
+ "name", "bindTo",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getBindTo_Id(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "id"
+ });
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_Xsl(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "xsl",
+ "namespace", "##targetNamespace",
+ "affiliation", "http://www.milyn.org/xsd/smooks-1.1.xsd#abstract-resource-config"
+ });
+ addAnnotation
+ (inlineEClass,
+ source,
+ new String[] {
+ "name", "inline",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getInline_Directive(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "directive"
+ });
+ addAnnotation
+ (inlineDirectiveEEnum,
+ source,
+ new String[] {
+ "name", "inlineDirective"
+ });
+ addAnnotation
+ (inlineDirectiveObjectEDataType,
+ source,
+ new String[] {
+ "name", "inlineDirective:Object",
+ "baseType", "inlineDirective"
+ });
+ addAnnotation
+ (outputToEClass,
+ source,
+ new String[] {
+ "name", "outputTo",
+ "kind", "empty"
+ });
+ addAnnotation
+ (getOutputTo_OutputStreamResource(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "outputStreamResource"
+ });
+ addAnnotation
+ (templateEClass,
+ source,
+ new String[] {
+ "name", "template",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getTemplate_Value(),
+ source,
+ new String[] {
+ "name", ":0",
+ "kind", "simple"
+ });
+ addAnnotation
+ (getTemplate_Encoding(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "encoding"
+ });
+ addAnnotation
+ (useEClass,
+ source,
+ new String[] {
+ "name", "use",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getUse_Inline(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "inline",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getUse_BindTo(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "bindTo",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getUse_OutputTo(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "outputTo",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (xslEClass,
+ source,
+ new String[] {
+ "name", "xsl",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getXsl_Template(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "template",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getXsl_Use(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "use",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getXsl_Param(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "param",
+ "namespace", "http://www.milyn.org/xsd/smooks-1.1.xsd"
+ });
+ addAnnotation
+ (getXsl_ApplyBefore(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "applyBefore"
+ });
+ addAnnotation
+ (getXsl_ApplyOnElement(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "applyOnElement"
+ });
+ addAnnotation
+ (getXsl_ApplyOnElementNS(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "applyOnElementNS"
+ });
+ }
+
+} //XslPackageImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/impl/XslPackageImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslAdapterFactory.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslAdapterFactory.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslAdapterFactory.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,311 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.xsl.*;
+
+
+
+/**
+ * <!-- 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.xsl.XslPackage
+ * @generated
+ */
+public class XslAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static XslPackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = XslPackage.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 XslSwitch<Adapter> modelSwitch =
+ new XslSwitch<Adapter>() {
+ @Override
+ public Adapter caseBindTo(BindTo object) {
+ return createBindToAdapter();
+ }
+ @Override
+ public Adapter caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ @Override
+ public Adapter caseInline(Inline object) {
+ return createInlineAdapter();
+ }
+ @Override
+ public Adapter caseOutputTo(OutputTo object) {
+ return createOutputToAdapter();
+ }
+ @Override
+ public Adapter caseTemplate(Template object) {
+ return createTemplateAdapter();
+ }
+ @Override
+ public Adapter caseUse(Use object) {
+ return createUseAdapter();
+ }
+ @Override
+ public Adapter caseXsl(Xsl object) {
+ return createXslAdapter();
+ }
+ @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.xsl.BindTo <em>Bind To</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.xsl.BindTo
+ * @generated
+ */
+ public Adapter createBindToAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.xsl.DocumentRoot <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.xsl.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.xsl.Inline <em>Inline</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.xsl.Inline
+ * @generated
+ */
+ public Adapter createInlineAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.xsl.OutputTo <em>Output To</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.xsl.OutputTo
+ * @generated
+ */
+ public Adapter createOutputToAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.xsl.Template <em>Template</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.xsl.Template
+ * @generated
+ */
+ public Adapter createTemplateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.xsl.Use <em>Use</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.xsl.Use
+ * @generated
+ */
+ public Adapter createUseAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.jboss.tools.smooks.model.xsl.Xsl <em>Xsl</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.xsl.Xsl
+ * @generated
+ */
+ public Adapter createXslAdapter() {
+ 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;
+ }
+
+} //XslAdapterFactory
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslAdapterFactory.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceFactoryImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceFactoryImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceFactoryImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,56 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.xsl.util.XslResourceImpl
+ * @generated
+ */
+public class XslResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Resource createResource(URI uri) {
+ XMLResource result = new XslResourceImpl(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;
+ }
+
+} //XslResourceFactoryImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceFactoryImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceImpl.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceImpl.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceImpl.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.xsl.util.XslResourceFactoryImpl
+ * @generated
+ */
+public class XslResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public XslResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //XslResourceImpl
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslResourceImpl.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslSwitch.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslSwitch.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslSwitch.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,337 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.smooks.AbstractResourceConfig;
+import org.jboss.tools.smooks.model.smooks.ElementVisitor;
+import org.jboss.tools.smooks.model.xsl.*;
+
+
+
+/**
+ * <!-- 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.xsl.XslPackage
+ * @generated
+ */
+public class XslSwitch<T> {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static XslPackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslSwitch() {
+ if (modelPackage == null) {
+ modelPackage = XslPackage.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 XslPackage.BIND_TO: {
+ BindTo bindTo = (BindTo)theEObject;
+ T result = caseBindTo(bindTo);
+ if (result == null) result = caseAbstractAnyType(bindTo);
+ if (result == null) result = caseAnyType(bindTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XslPackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ T result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XslPackage.INLINE: {
+ Inline inline = (Inline)theEObject;
+ T result = caseInline(inline);
+ if (result == null) result = caseAbstractAnyType(inline);
+ if (result == null) result = caseAnyType(inline);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XslPackage.OUTPUT_TO: {
+ OutputTo outputTo = (OutputTo)theEObject;
+ T result = caseOutputTo(outputTo);
+ if (result == null) result = caseAbstractAnyType(outputTo);
+ if (result == null) result = caseAnyType(outputTo);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XslPackage.TEMPLATE: {
+ Template template = (Template)theEObject;
+ T result = caseTemplate(template);
+ if (result == null) result = caseAbstractAnyType(template);
+ if (result == null) result = caseAnyType(template);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XslPackage.USE: {
+ Use use = (Use)theEObject;
+ T result = caseUse(use);
+ if (result == null) result = caseAbstractAnyType(use);
+ if (result == null) result = caseAnyType(use);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case XslPackage.XSL: {
+ Xsl xsl = (Xsl)theEObject;
+ T result = caseXsl(xsl);
+ if (result == null) result = caseElementVisitor(xsl);
+ if (result == null) result = caseAbstractResourceConfig(xsl);
+ if (result == null) result = caseAbstractAnyType(xsl);
+ if (result == null) result = caseAnyType(xsl);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Bind To</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>Bind To</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseBindTo(BindTo 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 caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Inline</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>Inline</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseInline(Inline object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Output To</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>Output To</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOutputTo(OutputTo object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Template</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>Template</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseTemplate(Template object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Use</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>Use</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseUse(Use object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Xsl</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>Xsl</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseXsl(Xsl 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;
+ }
+
+} //XslSwitch
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslSwitch.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslXMLProcessor.java
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslXMLProcessor.java (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslXMLProcessor.java 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.jboss.tools.smooks.model.xsl.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.xsl.XslPackage;
+
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class XslXMLProcessor extends XMLProcessor {
+
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public XslXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ XslPackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the XslResourceFactoryImpl 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 XslResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new XslResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //XslXMLProcessor
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/org/jboss/tools/smooks/model/xsl/util/XslXMLProcessor.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/test/XSLConfig.xml
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/src/test/XSLConfig.xml (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/src/test/XSLConfig.xml 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
+ xmlns:xsl="http://www.milyn.org/xsd/smooks/xsl-1.1.xsd">
+
+ <xsl:xsl applyOnElement="$document">
+ <xsl:template>
+ <![CDATA[
+ <xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ exclude-result-prefixes="smk xhtml"
+ xmlns:smk="http://milyn.codehaus.org/Smooks">
+
+ <xsl:output method="xml" encoding="UTF-8"/>
+
+ <xsl:template match="/">
+ <CanonicalOrderFormat xmlns="http://canonical.codehaus.org/Order">
+ <orderId>
+ <xsl:value-of select="./smk:Order/smk:header/smk:order-id"/>
+ </orderId>
+ <item>
+ <productId>
+ <xsl:value-of select="./smk:Order/smk:order-item/smk:product-id"/>
+ </productId>
+ <title>
+ <xsl:value-of select="./smk:Order/smk:order-item/smk:title"/>
+ </title>
+ <price>
+ <xsl:value-of select="./smk:Order/smk:order-item/smk:price"/>
+ </price>
+ </item>
+ </CanonicalOrderFormat>
+ </xsl:template>
+ </xsl:stylesheet>
+ ]]>
+ </xsl:template>
+ </xsl:xsl>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/src/test/XSLConfig.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/edi-message-mapping-1.0.xsd
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/edi-message-mapping-1.0.xsd (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/edi-message-mapping-1.0.xsd 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema targetNamespace="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd" xmlns="http://www.milyn.org/schema/edi-message-mapping-1.0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+
+ <xs:element name="edimap" type="EdiMap"/>
+
+ <xs:complexType name="EdiMap">
+ <xs:sequence>
+ <xs:element name="description" type="Description" minOccurs="1" maxOccurs="1"/>
+ <xs:element name="delimiters" type="Delimiters" minOccurs="1" maxOccurs="1"/>
+ <xs:element name="segments" type="Segments" minOccurs="1" maxOccurs="1"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Description">
+ <xs:attribute name="name" use="required" type="xs:string"/>
+ <xs:attribute name="version" use="required" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:complexType name="Delimiters">
+ <xs:attribute name="segment" use="required" type="xs:string"/>
+ <xs:attribute name="field" use="required" type="xs:string"/>
+ <xs:attribute name="component" use="required" type="xs:string"/>
+ <xs:attribute name="sub-component" use="required" type="xs:string">
+ <xs:annotation>
+ <xs:documentation>
+ 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 =
+ "&#10;"
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="Segments">
+ <xs:complexContent>
+ <xs:extension base="MappingNode">
+ <xs:sequence>
+ <xs:element name="segment" type="Segment" minOccurs="1" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="MappingNode">
+ <xs:attribute name="xmltag" use="required" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:complexType name="Segment">
+ <xs:complexContent>
+ <xs:extension base="MappingNode">
+ <xs:sequence>
+ <xs:element name="field" type="Field" minOccurs="1" maxOccurs="unbounded"/>
+ <xs:element name="segment" type="Segment" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="minOccurs" type="xs:int" default="1" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ The minimum number of times the segment must appear in this
+ position within the EDI message.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="maxOccurs" type="xs:int" default="1" use="optional">
+ <xs:annotation>
+ <xs:documentation>
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="segcode" type="xs:string" use="required"/>
+ <xs:attribute name="truncatable" use="optional" type="xs:boolean" default="false"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="Field">
+ <xs:complexContent>
+ <xs:extension base="MappingNode">
+ <xs:sequence>
+ <xs:element name="component" type="Component" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="required" use="optional" type="xs:boolean" default="false"/>
+ <xs:attribute name="truncatable" use="optional" type="xs:boolean" default="false"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="Component">
+ <xs:complexContent>
+ <xs:extension base="MappingNode">
+ <xs:sequence>
+ <xs:element name="sub-component" type="SubComponent" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="required" use="optional" type="xs:boolean" default="false"/>
+ <xs:attribute name="truncatable" use="optional" type="xs:boolean" default="false"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="SubComponent">
+ <xs:complexContent>
+ <xs:extension base="MappingNode">
+ <xs:attribute name="required" use="optional" type="xs:boolean" default="false"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/edi-message-mapping-1.0.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/freemarker-1.1.xsd
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/freemarker-1.1.xsd (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/freemarker-1.1.xsd 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema targetNamespace="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:smooks="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:smooks-freemarker="http://www.milyn.org/xsd/smooks/freemarker-1.1.xsd">
+
+ <xs:import namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">FreeMarker Templating Configuration</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="freemarker" type="smooks-freemarker:freemarker" substitutionGroup="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ FreeMarker Templating Configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="freemarker">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ FreeMarker Templating Configuration Type.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="template" type="smooks-freemarker:template"/>
+ <xs:element name="use" type="smooks-freemarker:use" minOccurs="0"/>
+ <xs:element ref="smooks:param" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="applyOnElement" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the element on which the template is to be applied.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="applyOnElementNS" type="xs:anyURI" use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the element on which the template is to be applied.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="applyBefore" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Apply the template before visiting the elements child content.<p/>Default is 'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="template">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The FreeMarker Template.
+ <p/>
+ This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="encoding" type="xs:string" use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Template character encodng.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="use">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The <use> element allows you to define how the templating result is to be used.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="inline" type="smooks-freemarker:inline"/>
+ <xs:element name="bindTo" type="smooks-freemarker:bindTo"/>
+ <xs:element name="outputTo" type="smooks-freemarker:outputTo"/>
+ </xs:choice>
+ </xs:complexType>
+
+ <xs:complexType name="inline">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Inline the templating result into the <b>Smooks.filter</b> Result message.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="directive" type="smooks-freemarker:inlineDirective" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ How the templating result is to be used (relative to the element on which it
+ is applied).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="bindTo">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Bind the templating result into the bean context under the specified "id". This makes the
+ templating result available for routing or other operations.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="id" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="outputTo">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Output the templating result to a named OutputStreamResource.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="outputStreamResource" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:simpleType name="inlineDirective">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="addto"/>
+ <xs:enumeration value="replace"/>
+ <xs:enumeration value="insertbefore"/>
+ <xs:enumeration value="insertafter"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/freemarker-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/javabean-1.1.xsd
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/javabean-1.1.xsd (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/javabean-1.1.xsd 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,385 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:smooks="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:smooks-javabean="http://www.milyn.org/xsd/smooks/javabean-1.1.xsd" targetNamespace="http://www.milyn.org/xsd/smooks/javabean-1.1.xsd" elementFormDefault="qualified">
+
+ <xs:import namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks Java Binding Configuration</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="bindings" substitutionGroup="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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 your IDE to
+ discover these elements.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="smooks-javabean:value"/>
+ <xs:element ref="smooks-javabean:wiring"/>
+ <xs:element ref="smooks-javabean:expression"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="beanId" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The ID under which the created bean is
+ to be bound in the bean context.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="class" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The fully qualified bean Class name.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="createOnElement" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="createOnElementNS" type="xs:anyURI">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Namespace control for the
+ "createOnElement" attribute.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="extendLifecycle" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="value">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Basic "value" based binding configuration.
+ <p/>
+ This binding type is used to bind data from the source message event stream.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="smooks-javabean:decodeParam" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="property" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="setterMethod" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="data" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="decoder" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Data Decoder.
+ <p/>
+ This attribute specifies the
+ <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/DataDecoder.html">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/DataDecoder.html">DataDecoder</a>
+ class name. The fully qualified class name is only required for custom
+ <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/DataDecoder.html">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/javabean/decoders/Date...">DateDecoder</a>.
+ These parameters can be specified by adding <decodeParam> sub-elements to the <value>
+ binding element. Review the Decoder's Javadoc for details of the custom parameters.
+ <p/>
+ <u>Example:</u>
+<pre>
+ <jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/decoders/Date...">Date</a>">
+ <jb:decodeParam name="format">EEE MMM dd HH:mm:ss z yyyy</jb:decodeParam>
+ <jb:decodeParam name="locale-language">en</jb:decodeParam>
+ <jb:decodeParam name="locale-country">IE</jb:decodeParam>
+ </jb:value>
+</pre>
+
+ <h3>Custom Data Decoding</h3>
+ For custom data decoding, implement the
+ <a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/DataDecoder.html">
+ DataDecoder
+ </a>
+ interface and specify the decoder using the fully qualified class name of the new
+ implementation.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="default" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">The default data value, where a null/empty data String is returned
+ for the data element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="dataNS" type="xs:anyURI">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">The namespace for the "data" selector (see "data" attribute).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="wiring">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Wiring based binding configuration.
+ <p/>
+ This binding type is used to "wire" beans together.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:attribute name="property" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="setterMethod" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="beanIdRef" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The beanId of the bean to be wired into the
+ specified bean "property" (or List).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="wireOnElement" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="wireOnElementNS" type="xs:anyURI">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Namespace control for the "wireOnElement"
+ attribute.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="expression">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Expression based Configuration</xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="property" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="setterMethod" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="execOnElement" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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 stream.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="execOnElementNS" type="xs:anyURI">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Namespace control for the "execOnElement" attribute.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="decodeParam">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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/decoders/Date...">DateDecoder</a>.
+ These parameters can be specified by adding <decodeParam> sub-elements to the <value>
+ binding element. Review the Decoder's Javadoc for details of the custom parameters.
+ <p/>
+ <u>Example:</u>
+<pre>
+<jb:value property="date" data="header/date" decoder="<a href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/decoders/Date...">Date</a>">
+ <jb:decodeParam name="format">EEE MMM dd HH:mm:ss z yyyy</jb:decodeParam>
+ <jb:decodeParam name="locale-language">en</jb:decodeParam>
+ <jb:decodeParam name="locale-country">IE</jb:decodeParam>
+</jb:value>
+</pre>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">The name of the parameter.</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/javabean-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/smooks-1.1.xsd
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/smooks-1.1.xsd (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/smooks-1.1.xsd 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,256 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:smooks="http://www.milyn.org/xsd/smooks-1.1.xsd" targetNamespace="http://www.milyn.org/xsd/smooks-1.1.xsd" elementFormDefault="qualified">
+
+ <xs:element name="smooks-resource-list">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">List of Smooks Resource Configuration.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:params"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:conditions"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:profiles"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="smooks:abstract-reader"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="smooks:abstract-resource-config"/>
+ </xs:sequence>
+ <xs:attribute name="default-target-profile" type="xs:string"/>
+ <xs:attribute name="default-selector" type="xs:string"/>
+ <xs:attribute name="default-selector-namespace" type="xs:anyURI"/>
+ <xs:attribute name="default-condition-ref" type="xs:string"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="profiles">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">List of Profiles</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="1" maxOccurs="unbounded" ref="smooks:profile"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="profile">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Profile Configuration. Basically allows you to specify the name of a
+ base profile along with a list of its sub-profiles.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="base-profile" type="xs:string" use="required"/>
+ <xs:attribute name="sub-profiles" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:complexType name="abstract-resource-config" abstract="true"/>
+ <xs:element name="abstract-resource-config" type="smooks:abstract-resource-config" abstract="true"/>
+
+ <xs:complexType name="element-visitor" abstract="true">
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Element Visitor Resource Type</xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:condition"/>
+ </xs:choice>
+ <xs:attribute name="targetProfile" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Defines the target profile
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:element name="element-visitor" type="smooks:element-visitor" abstract="true" substitutionGroup="smooks:abstract-resource-config"/>
+
+ <xs:element name="import" substitutionGroup="smooks:abstract-resource-config">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks Resource Configuration Import</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="smooks:param" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="file" use="required" type="xs:anyURI"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:complexType name="abstract-reader" abstract="true">
+ <xs:attribute name="targetProfile" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:element name="abstract-reader" type="smooks:abstract-reader" abstract="true"/>
+
+ <xs:element name="reader" substitutionGroup="smooks:abstract-reader">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Stream Reader</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:handlers"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:features"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:params"/>
+ </xs:sequence>
+ <xs:attribute name="class" use="optional" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="features">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Reader Features List</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="smooks:setOn" minOccurs="0" maxOccurs="unbounded"/>
+ <xs:element ref="smooks:setOff" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="setOn">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Set Reader Feature 'On'</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="feature" type="xs:anyURI" use="required"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="setOff">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Set Reader Feature 'Off'</xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="feature" type="xs:anyURI" use="required"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="handlers">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Reader Handler Classes.
+ <p/>
+ Set a handler on the reader instance e.g. an EntityResolver, ErrorHandler etc.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="smooks:handler" minOccurs="1" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="handler">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Handler class name.
+ <p/>
+ This is the Handler class name e.g. an EntityResolver, ErrorHandler implementation etc.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="class" type="xs:string" use="required"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="resource-config" substitutionGroup="smooks:abstract-resource-config">
+ <xs:complexType>
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks Resource Configuration</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:resource"/>
+ <xs:element minOccurs="0" maxOccurs="1" ref="smooks:condition"/>
+ <xs:element minOccurs="0" maxOccurs="unbounded" ref="smooks:param"/>
+ </xs:sequence>
+ <xs:attribute name="selector" type="xs:string"/>
+ <xs:attribute name="selector-namespace" type="xs:anyURI"/>
+ <xs:attribute name="target-profile" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="resource">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Resource Configuration Resource Type (xsl, class etc)</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="type" type="xs:string"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="conditions">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Conditions List.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="smooks:condition" minOccurs="1" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="condition">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Resource Targetting Condition</xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="idRef" type="xs:string"/>
+ <xs:attribute name="evaluator" type="xs:string" default="org.milyn.javabean.expression.BeanMapExpressionEvaluator"/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="params">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Resource Parameters</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element ref="smooks:param" minOccurs="1" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="param">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Resource Parameter</xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="xs:anyType">
+ <xs:attribute name="name" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string"/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ </xs:element>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/smooks-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/xsl-1.1.xsd
===================================================================
--- workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/xsl-1.1.xsd (rev 0)
+++ workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/xsl-1.1.xsd 2009-02-20 08:10:59 UTC (rev 13691)
@@ -0,0 +1,147 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema targetNamespace="http://www.milyn.org/xsd/smooks/xsl-1.1.xsd" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:smooks="http://www.milyn.org/xsd/smooks-1.1.xsd" xmlns:smooks-xsl="http://www.milyn.org/xsd/smooks/xsl-1.1.xsd">
+
+ <xs:import namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">XSL Templating Configuration</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="xsl" type="smooks-xsl:xsl" substitutionGroup="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ XSL Templating Configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="xsl">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ XSL Templating Configuration Type.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="template" type="smooks-xsl:template"/>
+ <xs:element name="use" type="smooks-xsl:use" minOccurs="0"/>
+ <xs:element ref="smooks:param" minOccurs="0" maxOccurs="unbounded"/>
+ </xs:sequence>
+ <xs:attribute name="applyOnElement" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the element on which the template is to be applied.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="applyOnElementNS" type="xs:anyURI" use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the element on which the template is to be applied.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="applyBefore" type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Apply the template before visiting the elements child content.<p/>Default is 'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="template">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The XSL Template.
+ <p/>
+ This can be an inline template, or a reference (URI) to an externally defined template (filesystem, classpath, www).
+ </xs:documentation>
+ </xs:annotation>
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="encoding" type="xs:string" use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Template character encodng.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+
+ <xs:complexType name="use">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The <use> element allows you to define how the templating result is to be used.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="inline" type="smooks-xsl:inline"/>
+ <xs:element name="bindTo" type="smooks-xsl:bindTo"/>
+ <xs:element name="outputTo" type="smooks-xsl:outputTo"/>
+ </xs:choice>
+ </xs:complexType>
+
+ <xs:complexType name="inline">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Inline the templating result into the <b>Smooks.filter</b> Result message.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="directive" type="smooks-xsl:inlineDirective" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ How the templating result is to be used (relative to the element on which it
+ is applied).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="bindTo">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Bind the templating result into the bean context under the specified "id". This makes the
+ templating result available for routing or other operations.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="id" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The bean context ID under which the templating result is to be bound if the "bindTo" action is chosen.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="outputTo">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Output the templating result to a named OutputStreamResource.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="outputStreamResource" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ 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).
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:simpleType name="inlineDirective">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="addto"/>
+ <xs:enumeration value="replace"/>
+ <xs:enumeration value="insertbefore"/>
+ <xs:enumeration value="insertafter"/>
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>
\ No newline at end of file
Property changes on: workspace/dart/plugins/org.jboss.tools.smooks11.model/xsd/xsl-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
17 years, 1 month
JBoss Tools SVN: r13689 - in trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks: javabean/ui and 5 other directories.
by jbosstools-commits@lists.jboss.org
Author: DartPeng
Date: 2009-02-20 02:41:56 -0500 (Fri, 20 Feb 2009)
New Revision: 13689
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/commandprocessor/JavaBeanModelCommandProcessor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/ui/BeanPopulatorConnectionFilter.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/SmooksTextEdtor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/model/XMLConnectionCommandProcessor.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodePropertySection.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodeSectionFilter.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLPropertiesSectionFilter.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLAnalyzer.java
trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLGraphicalModelListener.java
Log:
JBIDE-3827
reset contents directly when the file was saved.
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/commandprocessor/JavaBeanModelCommandProcessor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/commandprocessor/JavaBeanModelCommandProcessor.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/commandprocessor/JavaBeanModelCommandProcessor.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -118,7 +118,7 @@
}
}
- if(source instanceof IXMLStructuredObject && t instanceof JavaBeanModel){
+ if(source instanceof IXMLStructuredObject && t instanceof JavaBeanModel && !(source instanceof JavaBeanModel)){
boolean isattribute = ((IXMLStructuredObject)source).isAttribute();
JavaBeanModel targetModel = (JavaBeanModel) t;
boolean isprimitive = targetModel.isPrimitive();
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/ui/BeanPopulatorConnectionFilter.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/ui/BeanPopulatorConnectionFilter.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/javabean/ui/BeanPopulatorConnectionFilter.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -6,6 +6,9 @@
import org.jboss.tools.smooks.javabean.model.JavaBeanModel;
import org.jboss.tools.smooks.ui.AbstractConnectionModelSectionFilter;
import org.jboss.tools.smooks.ui.gef.model.LineConnectionModel;
+import org.jboss.tools.smooks.xml.model.AbstractXMLObject;
+import org.jboss.tools.smooks.xml.ui.XMLPropertiesSection;
+import org.jboss.tools.smooks.xml2xml.XML2XMLGraphicalModelListener;
/**
* @author Dart
@@ -16,6 +19,7 @@
public boolean select(Object toTest) {
Object target = this.getReferenceTargetObject(toTest);
+ Object source = getReferenceSourceObject(toTest);
if (target != null && target instanceof JavaBeanModel) {
LineConnectionModel connection = getConnectionModel(toTest);
if (BeanPopulatorMappingAnalyzer.REFERENCE_BINDING
@@ -25,6 +29,16 @@
}
return true;
}
+ if (target != null && target instanceof AbstractXMLObject) {
+ if (source != null && source instanceof AbstractXMLObject) {
+ LineConnectionModel connection = getConnectionModel(toTest);
+ if (XMLPropertiesSection.MAPPING.equals(connection
+ .getProperty(XMLPropertiesSection.MAPPING_TYPE))) {
+ return true;
+ }
+ }
+ }
+
return false;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/SmooksTextEdtor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/SmooksTextEdtor.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/SmooksTextEdtor.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -8,19 +8,19 @@
import java.util.Iterator;
import java.util.List;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.text.DocumentEvent;
import org.eclipse.jface.text.IDocumentListener;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.ExtendedModifyEvent;
-import org.eclipse.swt.custom.ExtendedModifyListener;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
+import org.eclipse.ui.IEditorInput;
+import org.eclipse.ui.texteditor.IDocumentProvider;
+import org.eclipse.ui.texteditor.IDocumentProviderExtension;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.jboss.tools.smooks.ui.editors.ISaveListener;
import org.jboss.tools.smooks.ui.editors.SaveResult;
@@ -49,6 +49,20 @@
return false;
return super.isDirty();
}
+
+
+ public void editorInputChanged(IEditorInput input){
+ IDocumentProvider provider = getDocumentProvider();
+ try {
+ if (provider instanceof IDocumentProviderExtension) {
+ IDocumentProviderExtension extension= (IDocumentProviderExtension) provider;
+ extension.synchronize(input);
+ } else {
+ doSetInput(input);
+ }
+ } catch (CoreException x) {
+ }
+ }
public void setDirty(boolean dirty) {
this.dirty = dirty;
@@ -216,11 +230,9 @@
public void documentAboutToBeChanged(DocumentEvent event) {
setDirty(true);
-// firePropertyChange(PROP_DIRTY);
}
public void documentChanged(DocumentEvent event) {
-
}
});
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksFormEditor.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -256,6 +256,7 @@
IEditorPart editor = this.getActiveEditor();
if (editor == null) {
this.graphicalPage.doSave(monitor);
+ this.xmlTextEditor.editorInputChanged(getEditorInput());
fireEditorDirty(false);
} else {
this.xmlTextEditor.doSave(monitor);
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/ui/editors/SmooksGraphicalFormPage.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -996,6 +996,7 @@
IFile file = ((IFileEditorInput) this.getEditorInput()).getFile();
if (file.exists()) {
file.setContents(stream, IResource.FORCE, monitor);
+ file.refreshLocal(IResource.DEPTH_ZERO, monitor);
}
// save graphical informations
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/model/XMLConnectionCommandProcessor.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/model/XMLConnectionCommandProcessor.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/model/XMLConnectionCommandProcessor.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -3,14 +3,22 @@
*/
package org.jboss.tools.smooks.xml.model;
+import java.util.Iterator;
+import java.util.List;
+
import org.eclipse.emf.common.command.Command;
+import org.jboss.tools.smooks.model.ResourceConfigType;
import org.jboss.tools.smooks.ui.gef.commandprocessor.ICommandProcessor;
import org.jboss.tools.smooks.ui.gef.commands.CreateConnectionCommand;
import org.jboss.tools.smooks.ui.gef.model.AbstractStructuredDataModel;
+import org.jboss.tools.smooks.ui.gef.model.GraphRootModel;
import org.jboss.tools.smooks.ui.gef.model.IConnectableModel;
+import org.jboss.tools.smooks.ui.gef.model.LineConnectionModel;
import org.jboss.tools.smooks.ui.gef.model.PropertyModel;
import org.jboss.tools.smooks.ui.modelparser.SmooksConfigurationFileGenerateContext;
+import org.jboss.tools.smooks.utils.UIUtils;
import org.jboss.tools.smooks.xml.ui.XMLPropertiesSection;
+import org.jboss.tools.smooks.xml2xml.XML2XMLGraphicalModelListener;
/**
* @author Dart
@@ -47,25 +55,74 @@
IConnectableModel source = command.getSource();
IConnectableModel target = command.getTarget();
// allow only one connection
- if(!source.getModelSourceConnections().isEmpty() || !target.getModelTargetConnections().isEmpty()) return false;
+ if (!source.getModelSourceConnections().isEmpty()
+ || !target.getModelTargetConnections().isEmpty())
+ return false;
+ // only allow line to the Tag
+ if (!(((AbstractStructuredDataModel) target)
+ .getReferenceEntityModel() instanceof TagObject))
+ return false;
+
if (((AbstractStructuredDataModel) source)
.getReferenceEntityModel() instanceof TagObject
- && ((AbstractStructuredDataModel)target).getReferenceEntityModel() instanceof TagObject) {
+ && ((AbstractStructuredDataModel) target)
+ .getReferenceEntityModel() instanceof TagObject) {
PropertyModel property = new PropertyModel();
property.setName(XMLPropertiesSection.MAPPING_TYPE);
property.setValue(XMLPropertiesSection.MAPPING);
command.addPropertyModel(property);
}
- if (((AbstractStructuredDataModel) source).getReferenceEntityModel() instanceof TagPropertyObject
- || ((AbstractStructuredDataModel) source).getReferenceEntityModel() instanceof TagPropertyObject) {
+ if (((AbstractStructuredDataModel) source)
+ .getReferenceEntityModel() instanceof TagPropertyObject) {
PropertyModel property = new PropertyModel();
property.setName(XMLPropertiesSection.MAPPING_TYPE);
property.setValue(XMLPropertiesSection.BINDING);
command.addPropertyModel(property);
+ ResourceConfigType resourceConfig = findFirstRelateResourceConfig(
+ context.getGraphicalRootModel(),
+ (AbstractStructuredDataModel) target);
+ if (resourceConfig == null)
+ return false;
+ PropertyModel property1 = new PropertyModel();
+ property1
+ .setName(XML2XMLGraphicalModelListener.PRO_REFERENCE_RESOURCE_CONFIG);
+ property1.setValue(resourceConfig);
+ command.addPropertyModel(property1);
}
}
return true;
}
+ private ResourceConfigType findFirstRelateResourceConfig(
+ GraphRootModel root, AbstractStructuredDataModel target) {
+ AbstractXMLObject model = (AbstractXMLObject) target
+ .getReferenceEntityModel();
+ AbstractXMLObject parent = model.getParent();
+ IConnectableModel parentGraph = (IConnectableModel) UIUtils
+ .findGraphModel(root, parent);
+ List connections = parentGraph.getModelTargetConnections();
+ ResourceConfigType resourceConfig = null;
+ while (resourceConfig == null && parentGraph != null) {
+ for (Iterator iterator = connections.iterator(); iterator.hasNext();) {
+ LineConnectionModel connection = (LineConnectionModel) iterator
+ .next();
+ Object mt = connection
+ .getProperty(XMLPropertiesSection.MAPPING_TYPE);
+ if (XMLPropertiesSection.MAPPING.equals(mt)) {
+ resourceConfig = (ResourceConfigType) connection
+ .getProperty(XML2XMLGraphicalModelListener.PRO_REFERENCE_RESOURCE_CONFIG);
+ break;
+ }
+ }
+ parent = parent.getParent();
+ parentGraph = (IConnectableModel) UIUtils.findGraphModel(root,
+ parent);
+ if (parentGraph != null) {
+ connections = parentGraph.getModelTargetConnections();
+ }
+ }
+ return resourceConfig;
+ }
+
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodePropertySection.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodePropertySection.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodePropertySection.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -87,6 +87,9 @@
SmooksConfigurationFileGenerateContext context = page.getSmooksConfigurationFileGenerateContext();
IConnectableModel connectModel = (IConnectableModel) UIUtils.findGraphModel(context.getGraphicalRootModel(), model);
XML2XMLGraphicalModelListener.setResourceCDATAViaTargetNode(model.getReferenceElement(), connectModel);
+ if(part != null){
+ ((SmooksFormEditor)part).fireEditorDirty(true);
+ }
}
}
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodeSectionFilter.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodeSectionFilter.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLNodeSectionFilter.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -3,7 +3,6 @@
*/
package org.jboss.tools.smooks.xml.ui;
-import org.eclipse.gef.GraphicalEditPart;
import org.eclipse.jface.viewers.IFilter;
import org.jboss.tools.smooks.xml.model.AbstractXMLObject;
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLPropertiesSectionFilter.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLPropertiesSectionFilter.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml/ui/XMLPropertiesSectionFilter.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -20,6 +20,11 @@
*/
public boolean select(Object toTest) {
Object source = getReferenceSourceObject(toTest);
+ Object target = getReferenceSourceObject(toTest);
+ if(target != null && target instanceof AbstractXMLObject){
+ // don't allow show it when editing x2x
+ return false;
+ }
if (source != null && source instanceof AbstractXMLObject) {
return true;
}
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLAnalyzer.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLAnalyzer.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLAnalyzer.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -5,16 +5,11 @@
import java.beans.PropertyChangeListener;
import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.dom4j.DocumentException;
-import org.dom4j.Element;
-import org.dom4j.io.OutputFormat;
-import org.dom4j.io.XMLWriter;
-import org.dom4j.tree.DefaultElement;
import org.jboss.tools.smooks.analyzer.AbstractAnalyzer;
import org.jboss.tools.smooks.analyzer.DesignTimeAnalyzeResult;
import org.jboss.tools.smooks.analyzer.MappingModel;
@@ -24,16 +19,8 @@
import org.jboss.tools.smooks.model.AbstractResourceConfig;
import org.jboss.tools.smooks.model.ResourceConfigType;
import org.jboss.tools.smooks.model.ResourceType;
-import org.jboss.tools.smooks.model.SmooksFactory;
import org.jboss.tools.smooks.model.SmooksResourceListType;
-import org.jboss.tools.smooks.model.util.SmooksModelUtils;
-import org.jboss.tools.smooks.ui.gef.model.AbstractStructuredDataModel;
-import org.jboss.tools.smooks.ui.gef.model.GraphRootModel;
-import org.jboss.tools.smooks.ui.gef.model.IConnectableModel;
-import org.jboss.tools.smooks.ui.gef.model.LineConnectionModel;
import org.jboss.tools.smooks.ui.gef.model.PropertyModel;
-import org.jboss.tools.smooks.ui.gef.model.SourceModel;
-import org.jboss.tools.smooks.ui.gef.model.TargetModel;
import org.jboss.tools.smooks.ui.modelparser.SmooksConfigurationFileGenerateContext;
import org.jboss.tools.smooks.utils.UIUtils;
import org.jboss.tools.smooks.xml.model.AbstractXMLObject;
@@ -72,206 +59,9 @@
public void analyzeMappingGraphModel(
SmooksConfigurationFileGenerateContext context)
throws SmooksAnalyzerException {
- if (true)
- return;
- GraphRootModel root = context.getGraphicalRootModel();
- List<SourceModel> sourceList = root.loadSourceModelList();
- for (Iterator<SourceModel> iterator = sourceList.iterator(); iterator
- .hasNext();) {
- SourceModel sourceModel = (SourceModel) iterator.next();
- List sourceConnectList = sourceModel.getModelSourceConnections();
- if (sourceConnectList.isEmpty())
- continue;
- for (Iterator iterator2 = sourceConnectList.iterator(); iterator2
- .hasNext();) {
- LineConnectionModel connection = (LineConnectionModel) iterator2
- .next();
- if (isMappingConnection(connection)
- && !connectionIsUsed(connection)) {
- ResourceConfigType resourceConfig = generateSmooksResourceConfig(
- context, connection);
- if (resourceConfig != null) {
- context.getGeneratorResourceList().add(resourceConfig);
- setConnectionUsed(connection);
- }
- }
- }
- }
- return;
}
- private ResourceConfigType generateSmooksResourceConfig(
- SmooksConfigurationFileGenerateContext context,
- LineConnectionModel connection) {
- ResourceConfigType resourceConfig = SmooksFactory.eINSTANCE
- .createResourceConfigType();
- String selector = generateSelectorString(context,
- (SourceModel) connection.getSource());
- if (selector != null) {
- resourceConfig.setSelector(selector);
- }
- ResourceType resource = SmooksFactory.eINSTANCE.createResourceType();
- resource.setType(XSL);
- resourceConfig.setResource(resource);
- String cdata = generateResourceCDATAContents(context, connection);
- if (cdata != null)
- SmooksModelUtils.setCDATAToAnyType(resource, cdata);
- return resourceConfig;
- }
- private String generateResourceCDATAContents(
- SmooksConfigurationFileGenerateContext context,
- LineConnectionModel connection) {
- TargetModel target = (TargetModel) connection.getTarget();
- AbstractXMLObject xmlNode = (AbstractXMLObject) target
- .getReferenceEntityModel();
- SourceModel mappingSource = (SourceModel) connection.getSource();
- if (xmlNode instanceof TagObject) {
- Element element = new DefaultElement(xmlNode.getName());
- List<AbstractXMLObject> childrenList = ((TagObject) xmlNode)
- .getXMLNodeChildren();
- for (Iterator iterator = childrenList.iterator(); iterator
- .hasNext();) {
- AbstractXMLObject abstractXMLObject = (AbstractXMLObject) iterator
- .next();
- Element childElement = generateMappingChilrenNodes(context,
- abstractXMLObject, mappingSource);
- if (childElement != null)
- element.add(childElement);
- }
- ByteArrayOutputStream stream = null;
- XMLWriter writer = null;
- try {
- stream = new ByteArrayOutputStream();
- OutputFormat format = OutputFormat.createPrettyPrint();
- writer = new XMLWriter(stream, format);
- writer.write(element);
- return new String(stream.toByteArray());
- } catch (Exception e) {
-
- } finally {
- try {
- if (stream != null)
- stream.close();
- if (writer != null)
- writer.close();
- } catch (Throwable t) {
- }
- }
- }
- return null;
- }
-
- private Element generateMappingChilrenNodes(
- SmooksConfigurationFileGenerateContext context,
- AbstractXMLObject xmlNode, SourceModel mappingSource) {
- Element element = new DefaultElement(xmlNode.getName());
- AbstractStructuredDataModel graphNode = UIUtils.findGraphModel(context
- .getGraphicalRootModel(), xmlNode);
- if (graphNode != null) {
- List connectionList = ((IConnectableModel) graphNode)
- .getModelTargetConnections();
- // only one connection , didn't support multiple connection
- if (connectionList.size() == 1) {
- LineConnectionModel connection = (LineConnectionModel) connectionList
- .get(0);
- if (isBindingConnection(connection)
- && !connectionIsUsed(connection)) {
- Element valueOf = createXSLValueOfElement(context,
- (SourceModel) connection.getSource(), mappingSource);
- if (valueOf != null) {
- element.add(valueOf);
- }
- }
- setConnectionUsed(connection);
- }
- }
- return element;
- }
-
- private String generateSelectorString(
- SmooksConfigurationFileGenerateContext context,
- SourceModel mappingSource) {
- AbstractXMLObject transformModel = (AbstractXMLObject) mappingSource
- .getReferenceEntityModel();
- String selector = transformModel.getName();
- AbstractXMLObject parent = transformModel.getParent();
- while (parent != null && !(parent instanceof TagList)
- && !(parent.getParent() instanceof TagList)) {
- selector = parent.getName() + " " + selector;
- parent = parent.getParent();
- }
- return selector;
- }
-
- private Element createXSLValueOfElement(
- SmooksConfigurationFileGenerateContext context,
- SourceModel bindingSource, SourceModel mappingSource) {
- // Element element = new DefaultElement(new QName("value-of",
- // new Namespace("xsl", null)));
- Element element = new DefaultElement("xsl:value-of");
- String select = generateXSLValueOfSelectValue(context, mappingSource,
- bindingSource);
- if (select != null)
- element.addAttribute(XSL_PRO_SELECT, select);
- return element;
- }
-
- private String generateXSLValueOfSelectValue(
- SmooksConfigurationFileGenerateContext context,
- SourceModel mappingSource, SourceModel bindingSource) {
- Object mappingTransformModel = mappingSource.getReferenceEntityModel();
- AbstractXMLObject bindingTransformModel = (AbstractXMLObject) bindingSource
- .getReferenceEntityModel();
-
- String select = bindingTransformModel.getName();
- if (bindingTransformModel instanceof TagPropertyObject) {
- select = "@" + select;
- }
- boolean hasParent = false;
- AbstractXMLObject bindingParent = bindingTransformModel.getParent();
- while (bindingParent != null && bindingParent != mappingTransformModel) {
- hasParent = true;
- String select1 = bindingParent.getName();
- if (bindingParent instanceof TagPropertyObject) {
- select1 = "@" + select1;
- }
- select = select1 + "/" + select;
- bindingParent = bindingParent.getParent();
- }
-
- if (hasParent) {
- select = "./" + select;
- }
- return select;
- }
-
- private boolean isMappingConnection(LineConnectionModel connection) {
- List<PropertyModel> list = connection.getProperties();
- for (Iterator iterator = list.iterator(); iterator.hasNext();) {
- PropertyModel propertyModel = (PropertyModel) iterator.next();
- if (XMLPropertiesSection.MAPPING_TYPE.equals(propertyModel
- .getName())) {
- return XMLPropertiesSection.MAPPING.equals(propertyModel
- .getValue());
- }
- }
- return false;
- }
-
- private boolean isBindingConnection(LineConnectionModel connection) {
- List<PropertyModel> list = connection.getProperties();
- for (Iterator iterator = list.iterator(); iterator.hasNext();) {
- PropertyModel propertyModel = (PropertyModel) iterator.next();
- if (XMLPropertiesSection.MAPPING_TYPE.equals(propertyModel
- .getName())) {
- return XMLPropertiesSection.BINDING.equals(propertyModel
- .getValue());
- }
- }
- return false;
- }
-
/*
* (non-Javadoc)
*
@@ -509,16 +299,12 @@
sourceNode, targetNode);
setXMLObjectUsed(sourceNode);
setXMLObjectUsed(targetNode);
- mapping
- .getProperties()
- .add(
- new PropertyModel(
+ mapping.getProperties()
+ .add(new PropertyModel(
XMLPropertiesSection.MAPPING_TYPE,
XMLPropertiesSection.BINDING));
- mapping
- .getProperties()
- .add(
- new PropertyModel(
+ mapping.getProperties()
+ .add(new PropertyModel(
XML2XMLGraphicalModelListener.PRO_REFERENCE_RESOURCE_CONFIG,
referenceResourceConfig));
mappingList.getMappingModelList().add(mapping);
@@ -615,30 +401,7 @@
TagList sourceTagList) {
if (selector == null)
return null;
- String[] names = selector.trim().split(" ");
- List<TagObject> list = sourceTagList.getRootTagList();
- AbstractXMLObject firstNode = null;
- if (names != null) {
- // find the first node:
- String name = names[0].trim();
- for (Iterator iterator = list.iterator(); iterator.hasNext();) {
- AbstractXMLObject abstractXMLObject = (AbstractXMLObject) iterator
- .next();
- AbstractXMLObject node = findTheXMLNode(name, abstractXMLObject);
- if (node != null && !isXMLObjectUsed(node)) {
- firstNode = node;
- break;
- }
- }
-
- AbstractXMLObject sourceNode = findTheXMLObjectFromNameArray(names,
- firstNode);
- if (sourceNode != null && !isXMLObjectUsed(sourceNode)) {
- setXMLObjectUsed(sourceNode);
- return sourceNode;
- }
- }
- return null;
+ return (AbstractXMLObject)UIUtils.localXMLNodeWithPath(selector, sourceTagList);
}
private AbstractXMLObject findTheXMLObjectFromNameArray(String[] names,
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLGraphicalModelListener.java
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLGraphicalModelListener.java 2009-02-19 18:11:12 UTC (rev 13688)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.ui/src/org/jboss/tools/smooks/xml2xml/XML2XMLGraphicalModelListener.java 2009-02-20 07:41:56 UTC (rev 13689)
@@ -15,12 +15,14 @@
import org.dom4j.io.XMLWriter;
import org.dom4j.tree.DefaultElement;
import org.jboss.tools.smooks.javabean.model.SelectorAttributes;
+import org.jboss.tools.smooks.javabean.ui.BeanPopulatorMappingAnalyzer;
import org.jboss.tools.smooks.model.ResourceConfigType;
import org.jboss.tools.smooks.model.ResourceType;
import org.jboss.tools.smooks.model.SmooksFactory;
import org.jboss.tools.smooks.model.SmooksResourceListType;
import org.jboss.tools.smooks.model.util.SmooksModelUtils;
import org.jboss.tools.smooks.ui.IXMLStructuredObject;
+import org.jboss.tools.smooks.ui.gef.model.AbstractStructuredDataConnectionModel;
import org.jboss.tools.smooks.ui.gef.model.AbstractStructuredDataModel;
import org.jboss.tools.smooks.ui.gef.model.IConnectableModel;
import org.jboss.tools.smooks.ui.gef.model.IGraphicalModelListener;
@@ -39,7 +41,7 @@
public class XML2XMLGraphicalModelListener implements IGraphicalModelListener {
public static final String PRO_REFERENCE_RESOURCE_CONFIG = "__reference_resource_config_x2x";
- public static final String PRO_SELECTOR_ATTRIBUTES = "__pro_selector_attributes_x2x";
+ public static final String PRO_SELECTOR_ATTRIBUTES = BeanPopulatorMappingAnalyzer.PRO_SELECTOR_ATTRIBUTES;
/*
* (non-Javadoc)
@@ -94,10 +96,17 @@
if (selector == null)
return;
- newMappingResourceConfig(selector, target, context);
+ ResourceConfigType resourceConfig = newMappingResourceConfig(selector,
+ target, context);
+ if (resourceConfig != null) {
+ PropertyModel property = new PropertyModel();
+ property.setName(PRO_REFERENCE_RESOURCE_CONFIG);
+ property.setValue(resourceConfig);
+ connection.addPropertyModel(property);
+ }
}
- private void newMappingResourceConfig(String selector,
+ private ResourceConfigType newMappingResourceConfig(String selector,
AbstractStructuredDataModel target,
SmooksConfigurationFileGenerateContext context) {
SmooksResourceListType list = context.getSmooksResourceListModel();
@@ -120,7 +129,7 @@
UIUtils
.addResourceConfigType(context.getDomain(), list,
resourceConfig);
-
+ return resourceConfig;
}
private SelectorAttributes newDefaultSelectorAttribute() {
@@ -348,7 +357,25 @@
public void modelChanged(Object graphicalModel,
SmooksConfigurationFileGenerateContext context,
PropertyChangeEvent event) {
-
+ String pm = event.getPropertyName();
+ if (AbstractStructuredDataConnectionModel.CONNECTION_PROPERTY_UPDATE
+ .equals(pm)) {
+ LineConnectionModel line = (LineConnectionModel) graphicalModel;
+ ResourceConfigType rc = (ResourceConfigType) line
+ .getProperty(PRO_REFERENCE_RESOURCE_CONFIG);
+ if (rc == null)
+ return;
+ SelectorAttributes sa = (SelectorAttributes) line
+ .getProperty(PRO_SELECTOR_ATTRIBUTES);
+ Object obj = ((AbstractStructuredDataModel) line.getSource())
+ .getReferenceEntityModel();
+ if (obj instanceof IXMLStructuredObject) {
+ String newSelector = UIUtils.generatePath(
+ (IXMLStructuredObject) obj, sa);
+ if (newSelector != null)
+ rc.setSelector(newSelector);
+ }
+ }
}
/*
@@ -372,26 +399,28 @@
AbstractXMLObject xmlNode = (AbstractXMLObject) target
.getReferenceEntityModel();
Element element = xmlNode.getReferenceElement();
- Element valueOf= null;
+ Element valueOf = null;
List elements = element.elements();
for (Iterator iterator = elements.iterator(); iterator
.hasNext();) {
Element e1 = (Element) iterator.next();
- if (e1.getName().equalsIgnoreCase("value-of") ||
- e1.getName().equalsIgnoreCase("xsl:value-of")) {
+ if (e1.getName().equalsIgnoreCase("value-of")
+ || e1.getName().equalsIgnoreCase("xsl:value-of")) {
valueOf = e1;
break;
}
}
- if(valueOf != null){
+ if (valueOf != null) {
element.remove(valueOf);
}
- setResourceCDATAViaTargetNode(element, (IConnectableModel) target);
+ setResourceCDATAViaTargetNode(element,
+ (IConnectableModel) target);
}
if (XMLPropertiesSection.MAPPING.equals(mt)) {
ResourceConfigType resourceConfig = (ResourceConfigType) connection
.getProperty(PRO_REFERENCE_RESOURCE_CONFIG);
- if(resourceConfig == null) return;
+ if (resourceConfig == null)
+ return;
context.getSmooksResourceListModel()
.getAbstractResourceConfig().remove(resourceConfig);
}
17 years, 1 month
JBoss Tools SVN: r13688 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe: selbar and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-19 13:11:12 -0500 (Thu, 19 Feb 2009)
New Revision: 13688
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/selbar/SelectionBar.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3832
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2009-02-19 17:11:26 UTC (rev 13687)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2009-02-19 18:11:12 UTC (rev 13688)
@@ -2473,6 +2473,8 @@
* this condition (!switcher.startActiveEditor)
*/
public void selectionChanged(SelectionChangedEvent event) {
+ if (selectionBar != null)
+ selectionBar.selectionChanged();
// FIX for JBIDE-2114
if (!isVisualEditorVisible()) {
// selection event doesn't changes a content
@@ -2485,9 +2487,6 @@
toolbarFormatControllerManager.selectionChanged();
}
- if (selectionBar != null)
- selectionBar.selectionChanged();
-
if (!switcher
.startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_SOURCE)) {
return;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/selbar/SelectionBar.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/selbar/SelectionBar.java 2009-02-19 17:11:26 UTC (rev 13687)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/selbar/SelectionBar.java 2009-02-19 18:11:12 UTC (rev 13688)
@@ -68,8 +68,8 @@
//Listener selbarListener = null;
- final static String PREFERENCE_STATUS_BAR_ENABLE = "yes";
- final static String PREFERENCE_STATUS_BAR_DISABLE = "no";
+ final static String PREFERENCE_STATUS_BAR_ENABLE = "yes"; //$NON-NLS-1$
+ final static String PREFERENCE_STATUS_BAR_DISABLE = "no"; //$NON-NLS-1$
public Composite createToolBarComposite(Composite parent, boolean show) {
splitter = new Splitter(parent, SWT.NONE);
17 years, 1 month
JBoss Tools SVN: r13687 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-19 12:11:26 -0500 (Thu, 19 Feb 2009)
New Revision: 13687
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/AttributeProxy.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/ElementProxy.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NamedNodeMapImpl.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeListImpl.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeProxy.java
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/TextProxy.java
Log:
code clean
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/AttributeProxy.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/AttributeProxy.java 2009-02-19 17:10:54 UTC (rev 13686)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/AttributeProxy.java 2009-02-19 17:11:26 UTC (rev 13687)
@@ -1,96 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.vpe.jsf.template.util.model;
-
-import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Element;
-import org.w3c.dom.TypeInfo;
-
-public class AttributeProxy extends NodeProxy implements IDOMAttr {
-
- public AttributeProxy(IDOMAttr basicAttr, int basicOffset) {
- super(basicAttr, basicOffset);
- }
-
- public ITextRegion getEqualRegion() {
-
- return ((IDOMAttr) basicNode).getEqualRegion();
- }
-
- public int getNameRegionEndOffset() {
- return ((IDOMAttr) basicNode).getNameRegionEndOffset() + basicOffset;
- }
-
- public int getNameRegionStartOffset() {
- return ((IDOMAttr) basicNode).getNameRegionStartOffset() + basicOffset;
- }
-
- public String getNameRegionText() {
- return ((IDOMAttr) basicNode).getNameRegionText();
- }
-
- public int getNameRegionTextEndOffset() {
- return ((IDOMAttr) basicNode).getNameRegionTextEndOffset()
- + basicOffset;
- }
-
- public int getValueRegionStartOffset() {
- return ((IDOMAttr) basicNode).getValueRegionStartOffset() + basicOffset;
- }
-
- public String getValueRegionText() {
- return ((IDOMAttr) basicNode).getValueRegionText();
- }
-
- public boolean hasNameOnly() {
- return ((IDOMAttr) basicNode).hasNameOnly();
- }
-
- public boolean hasNestedValue() {
- return ((IDOMAttr) basicNode).hasNestedValue();
- }
-
- public boolean isGlobalAttr() {
- return ((IDOMAttr) basicNode).isGlobalAttr();
- }
-
- public boolean isXMLAttr() {
- return ((IDOMAttr) basicNode).isXMLAttr();
- }
-
- public String getName() {
- return ((IDOMAttr) basicNode).getName();
- }
-
- public Element getOwnerElement() {
- return ((IDOMAttr) basicNode).getOwnerElement();
- }
-
- public TypeInfo getSchemaTypeInfo() {
- return ((IDOMAttr) basicNode).getSchemaTypeInfo();
- }
-
- public boolean getSpecified() {
- return ((IDOMAttr) basicNode).getSpecified();
- }
-
- public String getValue() {
- return ((IDOMAttr) basicNode).getValue();
- }
-
- public void setValue(String value) throws DOMException {
- ((IDOMAttr) basicNode).setValue(value);
-
- }
-
-}
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/ElementProxy.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/ElementProxy.java 2009-02-19 17:10:54 UTC (rev 13686)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/ElementProxy.java 2009-02-19 17:11:26 UTC (rev 13687)
@@ -1,205 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.vpe.jsf.template.util.model;
-
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
-import org.w3c.dom.Attr;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.TypeInfo;
-
-public class ElementProxy extends NodeProxy implements IDOMElement {
-
- public ElementProxy(IDOMElement basicElement, int basicOffset) {
- super(basicElement, basicOffset);
- }
-
- public int getEndStartOffset() {
- return ((IDOMElement) basicNode).getEndStartOffset() + basicOffset;
- }
-
- public int getStartEndOffset() {
- return ((IDOMElement) basicNode).getStartEndOffset() + basicOffset;
- }
-
- public boolean hasEndTag() {
- return ((IDOMElement) basicNode).hasEndTag();
- }
-
- public boolean hasStartTag() {
- return ((IDOMElement) basicNode).hasStartTag();
- }
-
- public boolean isCommentTag() {
- return ((IDOMElement) basicNode).isCommentTag();
- }
-
- public boolean isEmptyTag() {
- return ((IDOMElement) basicNode).isEmptyTag();
- }
-
- public boolean isEndTag() {
- return ((IDOMElement) basicNode).isEndTag();
- }
-
- public boolean isGlobalTag() {
- return ((IDOMElement) basicNode).isGlobalTag();
- }
-
- public boolean isImplicitTag() {
- return ((IDOMElement) basicNode).isImplicitTag();
- }
-
- public boolean isJSPTag() {
- return ((IDOMElement) basicNode).isJSPTag();
- }
-
- public boolean isStartTagClosed() {
- return ((IDOMElement) basicNode).isStartTagClosed();
- }
-
- public boolean isXMLTag() {
- return ((IDOMElement) basicNode).isXMLTag();
- }
-
- public void notifyEndTagChanged() {
- ((IDOMElement) basicNode).notifyEndTagChanged();
-
- }
-
- public void notifyStartTagChanged() {
- ((IDOMElement) basicNode).notifyStartTagChanged();
-
- }
-
- public void setCommentTag(boolean isCommentTag) {
- ((IDOMElement) basicNode).setCommentTag(isCommentTag);
-
- }
-
- public void setEmptyTag(boolean isEmptyTag) {
- ((IDOMElement) basicNode).setEmptyTag(isEmptyTag);
-
- }
-
- public void setIdAttribute(String name, boolean isId) {
- ((IDOMElement) basicNode).setIdAttribute(name, isId);
-
- }
-
- public void setIdAttributeNS(String namespaceURI, String localName,
- boolean isId) {
- ((IDOMElement) basicNode).setIdAttributeNS(namespaceURI, localName,
- isId);
-
- }
-
- public void setIdAttributeNode(Attr idAttr, boolean isId)
- throws DOMException {
- ((IDOMElement) basicNode).setIdAttributeNode(idAttr, isId);
-
- }
-
- public void setJSPTag(boolean isJSPTag) {
- ((IDOMElement) basicNode).setJSPTag(isJSPTag);
-
- }
-
- public String getAttribute(String name) {
-
- return ((IDOMElement) basicNode).getAttribute(name);
- }
-
- public String getAttributeNS(String namespaceURI, String localName)
- throws DOMException {
- return ((IDOMElement) basicNode)
- .getAttributeNS(namespaceURI, localName);
- }
-
- public Attr getAttributeNode(String name) {
- return new AttributeProxy((IDOMAttr) ((IDOMElement) basicNode)
- .getAttributeNode(name), basicOffset);
- }
-
- public Attr getAttributeNodeNS(String namespaceURI, String localName)
- throws DOMException {
- return new AttributeProxy((IDOMAttr) ((IDOMElement) basicNode)
- .getAttributeNodeNS(namespaceURI, localName), basicOffset);
- }
-
- public NodeList getElementsByTagName(String name) {
- return createNodeAdapterList(((IDOMElement) basicNode)
- .getElementsByTagName(name));
- }
-
- public NodeList getElementsByTagNameNS(String namespaceURI, String localName)
- throws DOMException {
- return createNodeAdapterList(((IDOMElement) basicNode)
- .getElementsByTagNameNS(namespaceURI, localName));
- }
-
- public TypeInfo getSchemaTypeInfo() {
- return ((IDOMElement) basicNode).getSchemaTypeInfo();
- }
-
- public String getTagName() {
- return ((IDOMElement) basicNode).getTagName();
- }
-
- public boolean hasAttribute(String name) {
- return ((IDOMElement) basicNode).hasAttribute(name);
- }
-
- public boolean hasAttributeNS(String namespaceURI, String localName)
- throws DOMException {
- return ((IDOMElement) basicNode)
- .hasAttributeNS(namespaceURI, localName);
- }
-
- public void removeAttribute(String name) throws DOMException {
- ((IDOMElement) basicNode).removeAttribute(name);
- }
-
- public void removeAttributeNS(String namespaceURI, String localName)
- throws DOMException {
-
- ((IDOMElement) basicNode).removeAttributeNS(namespaceURI, localName);
- }
-
- public Attr removeAttributeNode(Attr oldAttr) throws DOMException {
- return new AttributeProxy((IDOMAttr) ((IDOMElement) basicNode)
- .removeAttributeNode(oldAttr), basicOffset);
- }
-
- public void setAttribute(String name, String value) throws DOMException {
- //((IDOMElement) basicNode).setAttribute(name, value);
-
- }
-
- public void setAttributeNS(String namespaceURI, String qualifiedName,
- String value) throws DOMException {
- // ((IDOMElement) basicNode).setAttributeNS(namespaceURI, qualifiedName,
- // value);
-
- }
-
- public Attr setAttributeNode(Attr newAttr) throws DOMException {
- return new AttributeProxy((IDOMAttr) ((IDOMElement) basicNode)
- .setAttributeNode(newAttr), basicOffset);
- }
-
- public Attr setAttributeNodeNS(Attr newAttr) throws DOMException {
- return new AttributeProxy((IDOMAttr) ((IDOMElement) basicNode)
- .setAttributeNodeNS(newAttr), basicOffset);
- }
-
-}
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NamedNodeMapImpl.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NamedNodeMapImpl.java 2009-02-19 17:10:54 UTC (rev 13686)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NamedNodeMapImpl.java 2009-02-19 17:11:26 UTC (rev 13687)
@@ -1,163 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.vpe.jsf.template.util.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.w3c.dom.DOMException;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class NamedNodeMapImpl implements NamedNodeMap, NodeList {
-
- private List<Node> nodes = null;
-
- public NamedNodeMapImpl() {
- nodes = new ArrayList<Node>();
- }
-
- public int getLength() {
- if (nodes == null)
- return 0;
- return nodes.size();
- }
-
- public Node getNamedItem(String name) {
- if (name == null)
- return null;
- if (nodes == null)
- return null;
-
- int length = nodes.size();
- for (int i = 0; i < length; i++) {
- Node node = nodes.get(i);
- if (node == null)
- continue;
- if (name.equalsIgnoreCase(node.getLocalName()))
- return node;
- }
-
- return null;
- }
-
- public Node getNamedItemNS(String uri, String name) {
- if (name == null)
- return null;
- if (nodes == null)
- return null;
-
- int length = nodes.size();
- for (int i = 0; i < length; i++) {
- Node node = nodes.get(i);
- if (node == null)
- continue;
- String localName = node.getLocalName();
- if (localName == null || !localName.equalsIgnoreCase(name))
- continue;
- String nodeURI = node.getNamespaceURI();
- if (nodeURI == null) {
- if (nodeURI != null)
- continue;
- } else {
- if (nodeURI == null || !nodeURI.equals(nodeURI))
- continue;
- }
-
- return node;
- }
-
- return null;
- }
-
- public Node item(int index) {
- if (nodes == null)
- return null;
- return nodes.get(index);
- }
-
- public Node removeNamedItem(String name) throws DOMException {
-
- if (name == null)
- return null;
- if (nodes == null)
- return null;
-
- int length = nodes.size();
- for (int i = 0; i < length; i++) {
- Node node = nodes.get(i);
- if (node == null)
- continue;
- if (!name.equalsIgnoreCase(node.getLocalName()))
- continue;
-
- nodes.remove(i);
-
- return node;
- }
-
- return null;
- }
-
- public Node removeNamedItemNS(String uri, String name) throws DOMException {
- if (name == null)
- return null;
- if (nodes == null)
- return null;
-
- int length = nodes.size();
- for (int i = 0; i < length; i++) {
- Node node = nodes.get(i);
- if (node == null)
- continue;
- String localName = node.getLocalName();
- if (localName == null || !localName.equals(name))
- continue;
- String nodeURI = node.getNamespaceURI();
- if (uri == null) {
- if (nodeURI != null)
- continue;
- } else {
- if (nodeURI == null || !nodeURI.equals(uri))
- continue;
- }
-
- nodes.remove(i);
-
- return node;
- }
-
- return null;
- }
-
- public Node setNamedItem(Node node) throws DOMException {
- if (node == null)
- return null;
-
- Node oldNode = removeNamedItem(node.getLocalName());
-
- nodes.add(node);
-
- return oldNode;
- }
-
- public Node setNamedItemNS(Node node) throws DOMException {
- if (node == null)
- return null;
-
- String name = node.getLocalName();
- String uri = node.getNamespaceURI();
- Node oldNode = removeNamedItemNS(uri, name);
- nodes.add(node);
- return oldNode;
- }
-}
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeListImpl.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeListImpl.java 2009-02-19 17:10:54 UTC (rev 13686)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeListImpl.java 2009-02-19 17:11:26 UTC (rev 13687)
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.vpe.jsf.template.util.model;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-
-public class NodeListImpl implements NodeList {
-
- private List<Node> nodes;
-
- public NodeListImpl() {
- nodes = new ArrayList<Node>();
- }
-
- public int getLength() {
- return nodes.size();
- }
-
- public Node item(int index) {
- return nodes.get(index);
- }
-
- public Node appendNode(Node node) {
-
- if (node == null)
- return null;
-
- nodes.add(node);
- return node;
- }
-
-}
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeProxy.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeProxy.java 2009-02-19 17:10:54 UTC (rev 13686)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/NodeProxy.java 2009-02-19 17:11:26 UTC (rev 13687)
@@ -1,373 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.vpe.jsf.template.util.model;
-
-import java.util.Collection;
-
-import org.eclipse.wst.sse.core.internal.provisional.INodeAdapter;
-import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
-import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocumentRegion;
-import org.eclipse.wst.sse.core.internal.provisional.text.ITextRegion;
-import org.eclipse.wst.xml.core.internal.document.InvalidCharacterException;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMText;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Document;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.w3c.dom.UserDataHandler;
-
-public class NodeProxy implements IDOMNode {
-
- protected Node basicNode;
-
- protected Node parentNode;
-
- protected int basicOffset;
-
- public NodeProxy(Node basicNode, int basicOffset) {
-
- this.basicNode = basicNode;
- this.basicOffset = basicOffset;
-
- }
-
- // implementation of Node interface methods
- public Node appendChild(Node newChild) throws DOMException {
- return basicNode.appendChild(newChild);
- }
-
- public Node cloneNode(boolean deep) {
- return basicNode.cloneNode(deep);
- }
-
- public short compareDocumentPosition(Node other) throws DOMException {
- return basicNode.compareDocumentPosition(other);
- }
-
- public NamedNodeMap getAttributes() {
-
- NamedNodeMap basicAttributes = basicNode.getAttributes();
- NamedNodeMap newAttributes = new NamedNodeMapImpl();
-
- if (basicAttributes != null)
- for (int i = 0; i < basicAttributes.getLength(); i++) {
-
- IDOMAttr attr = (IDOMAttr) basicAttributes.item(i);
-
- newAttributes
- .setNamedItem(new AttributeProxy(attr, basicOffset));
-
- }
-
- return newAttributes;
- }
-
- public String getBaseURI() {
- return basicNode.getBaseURI();
- }
-
- public NodeList getChildNodes() {
-
- return createNodeAdapterList(basicNode.getChildNodes());
-
- }
-
- public Object getFeature(String feature, String version) {
- return basicNode.getFeature(feature, version);
- }
-
- public Node getFirstChild() {
-
- return getNodeAdapter(basicNode.getFirstChild());
-
- }
-
- public Node getLastChild() {
-
- return getNodeAdapter(basicNode.getLastChild());
-
- }
-
- public String getLocalName() {
- return basicNode.getLocalName();
- }
-
- public String getNamespaceURI() {
- return basicNode.getNamespaceURI();
- }
-
- public Node getNextSibling() {
-
- return getNodeAdapter(basicNode.getNextSibling());
-
- }
-
- public String getNodeName() {
- return basicNode.getNodeName();
- }
-
- public short getNodeType() {
- return basicNode.getNodeType();
- }
-
- public String getNodeValue() throws DOMException {
- return basicNode.getNodeValue();
- }
-
- public Document getOwnerDocument() {
- return basicNode.getOwnerDocument();
- }
-
- public Node getParentNode() {
- return basicNode.getParentNode();
- }
-
- public String getPrefix() {
- return basicNode.getPrefix();
- }
-
- public Node getPreviousSibling() {
- return getNodeAdapter(basicNode.getPreviousSibling());
- }
-
- public String getTextContent() throws DOMException {
- return basicNode.getTextContent();
- }
-
- public Object getUserData(String key) {
- return basicNode.getUserData(key);
- }
-
- public boolean hasAttributes() {
- return basicNode.hasAttributes();
- }
-
- public boolean hasChildNodes() {
- return basicNode.hasChildNodes();
- }
-
- public Node insertBefore(Node newChild, Node refChild) throws DOMException {
- return insertBefore(newChild, refChild);
- }
-
- public boolean isDefaultNamespace(String namespaceURI) {
- return false;
- }
-
- public boolean isEqualNode(Node arg) {
- return basicNode.isEqualNode(arg);
- }
-
- public boolean isSameNode(Node other) {
- return basicNode.isSameNode(other);
- }
-
- public boolean isSupported(String feature, String version) {
- return basicNode.isSupported(feature, version);
- }
-
- public String lookupNamespaceURI(String prefix) {
- return basicNode.lookupNamespaceURI(prefix);
- }
-
- public String lookupPrefix(String namespaceURI) {
- return basicNode.lookupPrefix(namespaceURI);
- }
-
- public void normalize() {
-
- basicNode.normalize();
- }
-
- public Node removeChild(Node oldChild) throws DOMException {
- return basicNode.removeChild(oldChild);
- }
-
- public Node replaceChild(Node newChild, Node oldChild) throws DOMException {
- return basicNode.replaceChild(newChild, oldChild);
- }
-
- public void setNodeValue(String nodeValue) throws DOMException {
- basicNode.setNodeValue(nodeValue);
- }
-
- public void setPrefix(String prefix) throws DOMException {
- basicNode.setPrefix(prefix);
- }
-
- public void setTextContent(String textContent) throws DOMException {
- basicNode.setTextContent(textContent);
- }
-
- public Object setUserData(String key, Object data, UserDataHandler handler) {
- return basicNode.setUserData(key, data, handler);
- }
-
- // implementation of IDOMNode interface methods
-
- public IStructuredDocumentRegion getEndStructuredDocumentRegion() {
- return ((IDOMNode) basicNode).getEndStructuredDocumentRegion();
- }
-
- public IStructuredDocumentRegion getFirstStructuredDocumentRegion() {
- return ((IDOMNode) basicNode).getFirstStructuredDocumentRegion();
- }
-
- public IStructuredDocumentRegion getLastStructuredDocumentRegion() {
- return ((IDOMNode) basicNode).getLastStructuredDocumentRegion();
- }
-
- public IDOMModel getModel() {
- return ((IDOMNode) basicNode).getModel();
- }
-
- public ITextRegion getNameRegion() {
- return ((IDOMNode) basicNode).getNameRegion();
- }
-
- public String getSource() {
- return ((IDOMNode) basicNode).getSource();
- }
-
- public IStructuredDocumentRegion getStartStructuredDocumentRegion() {
- return ((IDOMNode) basicNode).getStartStructuredDocumentRegion();
- }
-
- public IStructuredDocument getStructuredDocument() {
- return getStructuredDocument();
- }
-
- public ITextRegion getValueRegion() {
- return ((IDOMNode) basicNode).getValueRegion();
- }
-
- public String getValueSource() {
- return ((IDOMNode) basicNode).getValueSource();
- }
-
- public boolean isChildEditable() {
- return ((IDOMNode) basicNode).isChildEditable();
- }
-
- public boolean isClosed() {
- return ((IDOMNode) basicNode).isClosed();
- }
-
- public boolean isContainer() {
- return ((IDOMNode) basicNode).isContainer();
- }
-
- public boolean isDataEditable() {
- return ((IDOMNode) basicNode).isDataEditable();
- }
-
- public boolean isId() {
- return ((IDOMNode) basicNode).isId();
- }
-
- public void setChildEditable(boolean editable) {
- ((IDOMNode) basicNode).setChildEditable(editable);
- }
-
- public void setDataEditable(boolean editable) {
- ((IDOMNode) basicNode).setDataEditable(editable);
- }
-
- public void setEditable(boolean editable, boolean deep) {
- ((IDOMNode) basicNode).setEditable(editable, deep);
-
- }
-
- public void setSource(String source) throws InvalidCharacterException {
-
- ((IDOMNode) basicNode).setSource(source);
- }
-
- public void setValueSource(String source) {
- ((IDOMNode) basicNode).setValueSource(source);
-
- }
-
- public boolean contains(int testPosition) {
- return ((IDOMNode) basicNode).contains(testPosition);
- }
-
- public int getEndOffset() {
- return ((IDOMNode) basicNode).getEndOffset() + basicOffset;
- }
-
- public int getLength() {
- return ((IDOMNode) basicNode).getLength();
- }
-
- public int getStartOffset() {
- return ((IDOMNode) basicNode).getStartOffset() + basicOffset;
- }
-
- public void addAdapter(INodeAdapter adapter) {
- ((IDOMNode) basicNode).addAdapter(adapter);
- }
-
- public INodeAdapter getAdapterFor(Object type) {
- return ((IDOMNode) basicNode).getAdapterFor(type);
- }
-
- public Collection getAdapters() {
- return ((IDOMNode) basicNode).getAdapters();
- }
-
- public INodeAdapter getExistingAdapter(Object type) {
- return ((IDOMNode) basicNode).getExistingAdapter(type);
- }
-
- public void notify(int eventType, Object changedFeature, Object oldValue,
- Object newValue, int pos) {
- ((IDOMNode) basicNode).notify();
-
- }
-
- public void removeAdapter(INodeAdapter adapter) {
- ((IDOMNode) basicNode).removeAdapter(adapter);
- }
-
- protected NodeProxy getNodeAdapter(Node node) {
- if (node == null)
- return null;
-
- if (node instanceof IDOMText)
- return new TextProxy((IDOMText) node, basicOffset);
- else if (node instanceof IDOMElement)
- return new ElementProxy((IDOMElement) node, basicOffset);
- else
- return new NodeProxy(node, basicOffset);
- }
-
- protected NodeList createNodeAdapterList(NodeList nodeList) {
-
- NodeListImpl newNodeList = new NodeListImpl();
-
- for (int i = 0; i < nodeList.getLength(); i++) {
- Node node = nodeList.item(i);
-
- newNodeList.appendNode(getNodeAdapter(node));
-
- }
-
- return newNodeList;
-
- }
-
-}
Deleted: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/TextProxy.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/TextProxy.java 2009-02-19 17:10:54 UTC (rev 13686)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/model/TextProxy.java 2009-02-19 17:11:26 UTC (rev 13687)
@@ -1,83 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 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:
- * Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.vpe.jsf.template.util.model;
-
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMText;
-import org.w3c.dom.DOMException;
-import org.w3c.dom.Text;
-
-public class TextProxy extends NodeProxy implements IDOMText {
-
- public TextProxy(IDOMText basicText, int basicOffset) {
- super(basicText, basicOffset);
- // TODO Auto-generated constructor stub
- }
-
- public void appendText(Text text) {
- ((IDOMText) basicNode).appendText(text);
-
- }
-
- public String getWholeText() {
- return ((IDOMText) basicNode).getWholeText();
- }
-
- public boolean isElementContentWhitespace() {
- return ((IDOMText) basicNode).isElementContentWhitespace();
- }
-
- public boolean isInvalid() {
- return ((IDOMText) basicNode).isInvalid();
- }
-
- public Text replaceWholeText(String content) throws DOMException {
- return ((IDOMText) basicNode).replaceWholeText(content);
- }
-
- public Text splitText(int offset) throws DOMException {
- return ((IDOMText) basicNode).splitText(offset);
- }
-
- public void appendData(String arg) throws DOMException {
- ((IDOMText) basicNode).appendData(arg);
-
- }
-
- public void deleteData(int offset, int count) throws DOMException {
- ((IDOMText) basicNode).deleteData(offset, count);
-
- }
-
- public String getData() throws DOMException {
- return ((IDOMText) basicNode).getData();
- }
-
- public void insertData(int offset, String arg) throws DOMException {
- ((IDOMText) basicNode).insertData(offset, arg);
-
- }
-
- public void replaceData(int offset, int count, String arg)
- throws DOMException {
- ((IDOMText)basicNode).replaceData(offset, count, arg);
-
- }
-
- public void setData(String data) throws DOMException {
- ((IDOMText)basicNode).setData(data);
-
- }
-
- public String substringData(int offset, int count) throws DOMException {
- return ((IDOMText) basicNode).substringData(offset, count);
- }
-
-}
17 years, 1 month
JBoss Tools SVN: r13686 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util.
by jbosstools-commits@lists.jboss.org
Author: sdzmitrovich
Date: 2009-02-19 12:10:54 -0500 (Thu, 19 Feb 2009)
New Revision: 13686
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java
Log:
code clean
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java 2009-02-19 16:57:34 UTC (rev 13685)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/src/org/jboss/tools/jsf/vpe/jsf/template/util/NodeProxyUtil.java 2009-02-19 17:10:54 UTC (rev 13686)
@@ -16,14 +16,7 @@
import org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMAttr;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMDocument;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMElement;
import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMNode;
-import org.eclipse.wst.xml.core.internal.provisional.document.IDOMText;
-import org.jboss.tools.jsf.vpe.jsf.template.util.model.ElementProxy;
-import org.jboss.tools.jsf.vpe.jsf.template.util.model.NodeListImpl;
-import org.jboss.tools.jsf.vpe.jsf.template.util.model.NodeProxy;
-import org.jboss.tools.jsf.vpe.jsf.template.util.model.TextProxy;
import org.jboss.tools.jsf.vpe.jsf.template.util.model.VpeElementProxyData;
import org.jboss.tools.jsf.vpe.jsf.template.util.proxy.JsfTemplateInvocationHandler;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
@@ -70,35 +63,6 @@
}
- static public NodeProxy getNodeAdapter(Node node, int basicOffset) {
- if (node == null)
- return null;
-
- if (node instanceof IDOMText)
- return new TextProxy((IDOMText) node, basicOffset);
- else if (node instanceof IDOMElement)
- return new ElementProxy((IDOMElement) node, basicOffset);
- else
- return new NodeProxy(node, basicOffset);
- }
-
- static public NodeList getNodeAdapterList(NodeList nodeList, int basicOffset) {
-
- NodeListImpl newNodeList = new NodeListImpl();
-
- for (int i = 0; i < nodeList.getLength(); i++) {
- Node node = nodeList.item(i);
-
- // if node is only html tag
- if (node.getPrefix() == null)
- newNodeList.appendNode(getNodeAdapter(node, basicOffset));
-
- }
-
- return newNodeList;
-
- }
-
/**
*
* @param nodeList
17 years, 1 month
JBoss Tools SVN: r13685 - trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch.
by jbosstools-commits@lists.jboss.org
Author: vyemialyanchyk
Date: 2009-02-19 11:57:34 -0500 (Thu, 19 Feb 2009)
New Revision: 13685
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
Log:
configurationFilename -> propertyFilename bugfix
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2009-02-19 16:44:48 UTC (rev 13684)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2009-02-19 16:57:34 UTC (rev 13685)
@@ -430,7 +430,7 @@
if (propertyFilename.length() > 0) {
//IResource resource = ResourcesPlugin.getWorkspace().getRoot().findMember(propertyFilename);
//String msg = checkForFile(HibernateConsoleMessages.ConsoleConfigurationMainTab_property_file_2, resource);
- String msg = PathHelper.checkFile(configurationFilename, HibernateConsoleMessages.ConsoleConfigurationMainTab_property_file_2, true);
+ String msg = PathHelper.checkFile(propertyFilename, HibernateConsoleMessages.ConsoleConfigurationMainTab_property_file_2, true);
if(msg!=null) {
setErrorMessage(msg);
return false;
17 years, 1 month
JBoss Tools SVN: r13684 - trunk/seam/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-02-19 11:44:48 -0500 (Thu, 19 Feb 2009)
New Revision: 13684
Modified:
trunk/seam/docs/reference/en/modules/seam_editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-367
updated info about Seam Validation
Modified: trunk/seam/docs/reference/en/modules/seam_editors.xml
===================================================================
--- trunk/seam/docs/reference/en/modules/seam_editors.xml 2009-02-19 16:44:01 UTC (rev 13683)
+++ trunk/seam/docs/reference/en/modules/seam_editors.xml 2009-02-19 16:44:48 UTC (rev 13684)
@@ -108,7 +108,7 @@
<para>Validation of various possible problematic definitions is implemented for Seam
applications.</para>
- <para>If an issue is found it will be showed in the standard <property>Problems
+ <para>If an issue is found it will be shown in the standard <property>Problems
View</property>.</para>
<figure>
@@ -137,7 +137,7 @@
</figure>
<para>On WTP projects validation are enabled by default and thus executed automatically, but
- on normal Java projects you will have to go and add the Validation builder to your
+ on normal Java projects you will have to go and add the Validation builder of your
project . It is available in the properties of your project under
<property>Validation</property>. The validations can be run manually by clicking
<property>Validate</property> via the context menu on your project which will
17 years, 1 month