Author: DartPeng
Date: 2009-04-14 02:22:21 -0400 (Tue, 14 Apr 2009)
New Revision: 14719
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_executor_Executor.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_reader_Reader.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_resultSetRowSelector_ResultSetRowSelector.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_router_Router.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateExecutor_resultSet_ResultSet.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateKeyMap_key_Key.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateReader_keyMap_KeyMap.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_connection_Connection.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_highWaterMark_HighWaterMark.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_jndi_Jndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_message_Message.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_session_Session.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractReader_Reader.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Executor.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Reader.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_ResultSetRowSelector.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Router.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Connection.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Executor.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Jndi.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Key.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/KeyMap.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Message.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Reader.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/ResultSet.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/ResultSetRowSelector.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Router.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Session.gif
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd-smooks.xml
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/smooks-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd-smooks.xml
Modified:
trunk/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF
trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml
Log:
JBIDE-4171
Add some new icons
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF 2009-04-14
06:19:09 UTC (rev 14718)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/META-INF/MANIFEST.MF 2009-04-14
06:22:21 UTC (rev 14719)
@@ -13,40 +13,61 @@
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Export-Package: org.jboss.tools.smooks.core,
- org.jboss.tools.smooks.edit.common.provider,
- org.jboss.tools.smooks.edit.edi.provider,
- org.jboss.tools.smooks.edit.fileRouting.provider,
- org.jboss.tools.smooks.edit.freemarker.provider,
- org.jboss.tools.smooks.edit.groovy.provider,
- org.jboss.tools.smooks.edit.javabean.provider,
- org.jboss.tools.smooks.edit.smooks.provider,
- org.jboss.tools.smooks.edit.xsl.provider,
org.jboss.tools.smooks.model.common,
org.jboss.tools.smooks.model.common.impl,
+ org.jboss.tools.smooks.model.common.provider,
org.jboss.tools.smooks.model.common.util,
+ org.jboss.tools.smooks.model.csv,
+ org.jboss.tools.smooks.model.csv.impl,
+ org.jboss.tools.smooks.model.csv.provider,
+ org.jboss.tools.smooks.model.csv.util,
+ org.jboss.tools.smooks.model.dbrouting,
+ org.jboss.tools.smooks.model.dbrouting.impl,
+ org.jboss.tools.smooks.model.dbrouting.provider,
+ org.jboss.tools.smooks.model.dbrouting.util,
org.jboss.tools.smooks.model.edi,
org.jboss.tools.smooks.model.edi.impl,
+ org.jboss.tools.smooks.model.edi.provider,
org.jboss.tools.smooks.model.edi.util,
org.jboss.tools.smooks.model.fileRouting,
org.jboss.tools.smooks.model.fileRouting.impl,
+ org.jboss.tools.smooks.model.fileRouting.provider,
org.jboss.tools.smooks.model.fileRouting.util,
org.jboss.tools.smooks.model.freemarker,
org.jboss.tools.smooks.model.freemarker.impl,
+ org.jboss.tools.smooks.model.freemarker.provider,
org.jboss.tools.smooks.model.freemarker.util,
org.jboss.tools.smooks.model.graphics.ext,
org.jboss.tools.smooks.model.graphics.ext.impl,
org.jboss.tools.smooks.model.graphics.ext.util,
org.jboss.tools.smooks.model.groovy,
org.jboss.tools.smooks.model.groovy.impl,
+ org.jboss.tools.smooks.model.groovy.provider,
org.jboss.tools.smooks.model.groovy.util,
+ org.jboss.tools.smooks.model.iorouting,
+ org.jboss.tools.smooks.model.iorouting.impl,
+ org.jboss.tools.smooks.model.iorouting.provider,
+ org.jboss.tools.smooks.model.iorouting.util,
org.jboss.tools.smooks.model.javabean,
org.jboss.tools.smooks.model.javabean.impl,
+ org.jboss.tools.smooks.model.javabean.provider,
org.jboss.tools.smooks.model.javabean.util,
+ org.jboss.tools.smooks.model.jmsrouting,
+ org.jboss.tools.smooks.model.jmsrouting.impl,
+ org.jboss.tools.smooks.model.jmsrouting.provider,
+ org.jboss.tools.smooks.model.jmsrouting.util,
+ org.jboss.tools.smooks.model.json,
+ org.jboss.tools.smooks.model.json.impl,
+ org.jboss.tools.smooks.model.json.provider,
+ org.jboss.tools.smooks.model.json.util,
org.jboss.tools.smooks.model.smooks,
org.jboss.tools.smooks.model.smooks.impl,
+ org.jboss.tools.smooks.model.smooks.provider,
org.jboss.tools.smooks.model.smooks.util,
+ org.jboss.tools.smooks.model.validate,
org.jboss.tools.smooks.model.xsl,
org.jboss.tools.smooks.model.xsl.impl,
+ org.jboss.tools.smooks.model.xsl.provider,
org.jboss.tools.smooks.model.xsl.util,
org.jboss.tools.smooks10.model.smooks,
org.jboss.tools.smooks10.model.smooks.impl,
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_executor_Executor.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_executor_Executor.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_reader_Reader.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_reader_Reader.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_resultSetRowSelector_ResultSetRowSelector.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_resultSetRowSelector_ResultSetRowSelector.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_router_Router.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateDocumentRoot_router_Router.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateExecutor_resultSet_ResultSet.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateExecutor_resultSet_ResultSet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateKeyMap_key_Key.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateKeyMap_key_Key.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateReader_keyMap_KeyMap.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateReader_keyMap_KeyMap.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_connection_Connection.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_connection_Connection.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_highWaterMark_HighWaterMark.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_highWaterMark_HighWaterMark.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_jndi_Jndi.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_jndi_Jndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_message_Message.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_message_Message.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_session_Session.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateRouter_session_Session.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractReader_Reader.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractReader_Reader.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Executor.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Executor.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Reader.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Reader.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_ResultSetRowSelector.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_ResultSetRowSelector.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Router.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/ctool16/CreateSmooksResourceListType_abstractResourceConfig_Router.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Connection.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Connection.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Executor.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Executor.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Jndi.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Jndi.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Key.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Key.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/KeyMap.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/KeyMap.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Message.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Message.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Reader.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Reader.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/ResultSet.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/ResultSet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/ResultSetRowSelector.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/ResultSetRowSelector.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Router.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Router.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Session.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/icons/full/obj16/Session.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml 2009-04-14 06:19:09 UTC
(rev 14718)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/plugin.xml 2009-04-14 06:22:21 UTC
(rev 14719)
@@ -146,5 +146,46 @@
class="org.jboss.tools.smooks.model.graphics.ext.util.SmooksGraphicsExtResourceFactoryImpl"/>
</extension>
+ <extension point="org.eclipse.emf.ecore.generated_package">
+ <package
+
uri="http://www.milyn.org/xsd/smooks/csv-1.1.xsd"
+ class="org.jboss.tools.smooks.model.csv.CsvPackage"
+ genModel="model/csv-1.1.genmodel"/>
+ </extension>
+ <extension
+ point="org.eclipse.emf.ecore.generated_package">
+ <package
+ class="org.jboss.tools.smooks.model.iorouting.IoroutingPackage"
+ genModel="model/io-routing-1.1.genmodel"
+
uri="http://www.milyn.org/xsd/smooks/csv-1.1.xsd">
+ </package>
+ </extension>
+ <extension
+ point="org.eclipse.emf.ecore.generated_package">
+ <package
+ class="org.jboss.tools.smooks.model.dbrouting.DbroutingPackage"
+ genModel="model/db-routing-1.1.genmodel"
+
uri="http://www.milyn.org/xsd/smooks/db-routing-1.1.xsd">
+ </package>
+ </extension>
+ <extension
+ point="org.eclipse.emf.ecore.generated_package">
+ <package
+ class="org.jboss.tools.smooks.model.jmsrouting.JmsroutingPackage"
+ genModel="model/jms-routing-1.1.genmodel"
+
uri="http://www.milyn.org/xsd/smooks/jms-routing-1.1.xsd">
+ </package>
+ </extension>
+ <extension
+ point="org.eclipse.emf.ecore.generated_package">
+ <package
+ class="org.jboss.tools.smooks.model.json.JsonPackage"
+ genModel="model/json-1.1.genmodel"
+
uri="http://www.milyn.org/xsd/smooks/json-1.1.xsd">
+ </package>
+ </extension>
+
+
+
</plugin>
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd 2009-04-14 06:22:21
UTC (rev 14719)
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/csv-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-csv="http://www.milyn.org/xsd/smooks/csv-1.1.xsd">
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks CSV Reader
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="reader" type="smooks-csv:reader"
substitutionGroup="smooks:abstract-reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ CSV Reader Configuration
+ The CSV reader reads and validates a CSV stream and converts it to SAX events
that Smooks
+ can process.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">CSV
Reader</xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-reader">
+ <xs:attribute name="fields" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Comma separated list of CSV record field names
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="separator" type="smooks-csv:char"
use="optional" default=",">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Field separator character. Default of ','.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="quote" type="smooks-csv:char"
use="optional" default=""">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Quote character. Default of '"'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="skipLines" type="xs:integer"
use="optional" default="0">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Number of lines to skip before processing starts. Default of 0.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="encoding" type="xs:string"
use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The encoding of the input stream. Default of 'UTF-8'
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:simpleType name="char">
+ <xs:restriction base="xs:string">
+ <xs:length value="1"></xs:length>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
\ No newline at end of file
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd-smooks.xml
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/csv-1.1....
+
+ <!--
+ Bean Instance Creator Resource...
+ -->
+
+ <resource-config selector="reader">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param name="resource">org.milyn.csv.CSVReader</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">selector</param>
+ <param name="value">org.xml.sax.driver</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">fields</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">separator</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">quote</param>
+ <param name="mapTo">quote-char</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">skipLines</param>
+ <param name="mapTo">skip-line-count</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/csv-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/db-routing-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-db-routing="http://www.milyn.org/xsd/smooks/db-routing-...
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks SQL Routing
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="executor" type="smooks-db-routing:executor"
substitutionGroup="smooks:abstract-resource-config" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ SQL Executor configuration
+ The SQL Executor can be used to perform event driven read and write operations on
a DataSource,
+ using data in the bean context as the query/update parameters.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+
+ <xs:complexType name="executor">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ SQL Executor
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="statement" type="xs:string"
minOccurs="1" maxOccurs="1">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The SQL statement to be executed. Supports templating in the form of
${variable}.
+ The variables are resolved from the bean context.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="resultSet"
type="smooks-db-routing:resultSet" minOccurs="0"
maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Sets the resultSet specific configuration like the resultSet name, scope and
timeToLive.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="executeOnElement" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element on which the query is executed. With the 'executeBefore'
+ attribute can be set if the query is executed before or after the element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeOnElementNS" type="xs:string"
use="optional" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the executeOnElement element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="datasource" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the datasource configuration to use. See the datasource
configuration
+ of the Smooks core library.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeBefore" type="xs:boolean"
use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If the query is executed before the element else it will execute after the
element.
+ Default is 'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:element name="resultSetRowSelector"
type="smooks-db-routing:resultSetRowSelector"
substitutionGroup="smooks:abstract-resource-config" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ ResultSet Row Selector configuration
+ The ResultSet row Selector can search though a resultset for a specific row.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="resultSetRowSelector">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ ResultSet row selector
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="where" type="xs:string"
minOccurs="1" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The MVEL condition to select the correct row.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="failedSelectError" type="xs:string"
minOccurs="0" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The error message that is thrown in
org.milyn.routing.db.DataSelectionException
+ exception when no row was found that matches the 'where' query.
+ If the error message is not set then no exception will be thrown.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="selectRowOnElement" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element on which the row selection is executed.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="resultSetName" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the resultSet to select the row from.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="beanId" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The beanId under which the selected row will be added in the bean context.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeBefore" type="xs:boolean"
use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If the selection is done before or after the selected element. Default is
'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:simpleType name="resultSetScopeType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="EXECUTION"></xs:enumeration>
+ <xs:enumeration value="APPLICATION"></xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:complexType name="resultSet">
+ <xs:attribute name="name" type="xs:string"
use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If the statement is a query statement then the ResultSet will be bound
+ with this id in the ExecutionContext. Must be specified if the
'statement' is a query
+ statement, otherwise it is optional.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="scope"
type="smooks-db-routing:resultSetScopeType" default="EXECUTION">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The scope on which the resultSet will be stored. The scope can be on a EXECUTION
or
+ on a APPLICATION level. On a EXECUTION level the query is executed every time on
the selected element.
+ On a APPLICATION level the query is only executed once for the
+ whole Smooks instance until the resultSet expires. With the 'timeToLive'
attribute the expire time
+ can be configured. After the resultSet is expired the query will be executed
again.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="timeToLive" type="xs:long"
default="900000">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If the 'scope' attribute is set to APPLICATION this attribute determines
the expire time
+ in milliseconds of the resultSet. After the resultSet is expired the query will
be executed again.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/db-routi...
+
+ <!--
+ SQLExecutor Resource
+ -->
+
+ <resource-config selector="executor">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.routing.db.SQLExecutor</param>
+ </resource-config>
+
+ <resource-config selector="executor">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="executor">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="executor">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">datasource</param>
+ </resource-config>
+
+ <resource-config selector="executor">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeBefore</param>
+ </resource-config>
+
+ <resource-config selector="executor/statement">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">statement</param>
+ </resource-config>
+
+ <resource-config selector="executor/resultSet">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">name</param>
+ <param name="mapTo">resultSetName</param>
+ </resource-config>
+
+ <resource-config selector="executor/resultSet">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">scope</param>
+ <param name="mapTo">resultSetScope</param>
+ </resource-config>
+
+ <resource-config selector="executor/resultSet">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">timeToLive</param>
+ <param name="mapTo">resultSetTTL</param>
+ </resource-config>
+
+ <!--
+ ResultsetRowSelector Resource
+ -->
+ <resource-config selector="resultSetRowSelector">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.routing.db.ResultsetRowSelector</param>
+ </resource-config>
+
+ <resource-config selector="resultSetRowSelector">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">selectRowOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="resultSetRowSelector">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">resultSetName</param>
+ </resource-config>
+
+ <resource-config selector="resultSetRowSelector">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">beanId</param>
+ </resource-config>
+
+ <resource-config selector="resultSetRowSelector">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeBefore</param>
+ </resource-config>
+
+ <resource-config selector="resultSetRowSelector/where">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">where</param>
+ </resource-config>
+
+ <resource-config selector="resultSetRowSelector/failedSelectError">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">failedSelectError</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/db-routing-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd 2009-04-14 06:22:21
UTC (rev 14719)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/edi-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-edi="http://www.milyn.org/xsd/smooks/edi-1.1.xsd">
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks EDI Reader
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="reader" type="smooks-edi:reader"
substitutionGroup="smooks:abstract-reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ EDI Reader Configuration
+ The EDI reader reads and validates a EDI stream and converts it to SAX events
that Smooks
+ can process.
+ A mapping is used to map the EDI segments and fields to a SAX event stream.
+ For more information about the mapping model take a look at the
+ "http://www.milyn.org/schema/edi-message-mapping-1.0.xsd" schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">EDI
Reader</xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-reader">
+ <xs:attribute name="mappingModel" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The URI of the EDI mapping model file of the EDI model.
+ For more information about the mapping model take a
+ look at the
"http://www.milyn.org/schema/edi-message-mapping-1.0.xsd"
+ schema.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="encoding"
type="xs:string" use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">The character encoding. Default
"UTF-8"</xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd-smooks.xml
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/edi-1.1....
+
+ <!--
+ Bean Instance Creator Resource...
+ -->
+
+ <resource-config selector="reader">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.smooks.edi.SmooksEDIReader</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">selector</param>
+ <param name="value">org.xml.sax.driver</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">mappingModel</param>
+ <param name="mapTo">mapping-model</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/edi-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/file-routing-1.1.xs...
+ elementFormDefault="qualified"
+
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
xmlns:smooks="http://www.milyn.org/xsd/smooks-1.1.xsd"
+
xmlns:smooks-file-routing="http://www.milyn.org/xsd/smooks/file-rout...
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks file Routing
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="outputStream"
type="smooks-file-routing:outputStream"
substitutionGroup="smooks:abstract-resource-config" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ File output stream configuration
+ The file output stream creates and manages file output streams.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+
+ <xs:complexType name="outputStream">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ File output stream
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="fileNamePattern" type="xs:string"
minOccurs="1" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The pattern that will be used to generate file names.
+ The file is created in the directory defined by the
'destinationDirectoryPattern' element.
+ Templating support is available via the FreeMarker template engine.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="destinationDirectoryPattern"
type="xs:string" minOccurs="1" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The destination directory for files created by this router.
+ Templating support is available via the FreeMarker template engine.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="listFileNamePattern" type="xs:string"
minOccurs="1" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the file that will contain the file names generated by this
configuration.
+ The file is created in the directory defined by the
'destinationDirectoryPattern' element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="highWaterMark"
type="smooks-file-routing:highWaterMark" minOccurs="0"
maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Sets the configuration for the max number of output files in the destination
directory at any time.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="closeOnCondition" type="xs:string"
minOccurs="0" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ An MVEL expression. If it returns true then the output stream is closed on the
visitAfter event
+ else it is kept open. If the expression is not set then output stream is
closed by default.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ </xs:sequence>
+ <xs:attribute name="openOnElement" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element on which the output stream resource should be opened. If opened,
the stream will be
+ closed at the end of the same element (on the visitAfter).
This behaviour can be overridden
+ through the <closeOnCondition> element. In
that case, the resource is only closed
+ when the MVEL condition is met.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="openOnElementNS" type="xs:string"
use="optional" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the openOnElement element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="resourceName" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name on which the output stream resource is referenced.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="encoding" type="xs:string"
use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The encoding to be used by any writers on this resource. Default is
'UTF-8'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="highWaterMark">
+ <xs:attribute name="mark" type="xs:int"
use="optional" default="200" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The max number of output files in the destination directory at any time.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="timeout" type="xs:int"
use="optional" default="60000" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The number of milliseconds to wait for the system to process files in the
destination
+ directory so that the number of files drops below the highWaterMark.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="pollFrequency" type="xs:int"
use="optional" default="1000" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The number of milliseconds to wait between checks on the High Water Mark, while
+ waiting for it to drop.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/file-rou...
+
+ <!--
+ FileOutputStreamResource Resource
+ -->
+
+ <resource-config selector="outputStream">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.routing.file.FileOutputStreamResource</param>
+ </resource-config>
+
+ <resource-config selector="outputStream">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">openOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="outputStream">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">openOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="outputStream">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">resourceName</param>
+ </resource-config>
+
+ <resource-config selector="outputStream">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ <param name="mapTo">writerEncoding</param>
+ </resource-config>
+
+ <resource-config selector="outputStream/fileNamePattern">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">fileNamePattern</param>
+ </resource-config>
+
+ <resource-config
selector="outputStream/destinationDirectoryPattern">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">destinationDirectoryPattern</param>
+ </resource-config>
+
+ <resource-config selector="outputStream/listFileNamePattern">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">listFileNamePattern</param>
+ </resource-config>
+
+ <resource-config selector="outputStream/highWaterMark">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">mark</param>
+ <param name="mapTo">highWaterMark</param>
+ </resource-config>
+
+ <resource-config selector="outputStream/highWaterMark">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">timeout</param>
+ <param name="mapTo">highWaterMarkTimeout</param>
+ </resource-config>
+
+ <resource-config selector="outputStream/highWaterMark">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">pollFrequency</param>
+ <param name="mapTo">highWaterMarkPollFrequency</param>
+ </resource-config>
+
+ <resource-config selector="outputStream/closeOnCondition">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">closeOnCondition</param>
+ </resource-config>
+
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/file-routing-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,151 @@
+<?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-...
+
+ <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:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/freemark...
+
+ <resource-config selector="freemarker">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ </resource-config>
+
+ <resource-config selector="freemarker">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">resourceType</param>
+ <param name="value">ftl</param>
+ </resource-config>
+
+ <resource-config selector="freemarker">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">applyOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="freemarker">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">applyOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="freemarker">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">applyBefore</param>
+ <param name="mapTo">applyTemplateBefore</param>
+ </resource-config>
+
+ <resource-config selector="freemarker">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">targetProfile</param>
+ <param name="mapTo">targetProfile</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/template">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">resource</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/template">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ <param name="mapTo">encoding</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/use/inline">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">directive</param>
+ <param name="mapTo">action</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/use/bindTo">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">action</param>
+ <param name="value">bindto</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/use/bindTo">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">id</param>
+ <param name="mapTo">bindId</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/use/outputTo">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">outputStreamResource</param>
+ <param name="mapTo">outputStreamResource</param>
+ </resource-config>
+
+ <resource-config selector="freemarker/param"
selector-namespace="http://www.milyn.org/xsd/smooks-1.1.xsd">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapToSpecifier">name</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/freemarker-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/groovy-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-groovy="http://www.milyn.org/xsd/smooks/groovy-1.1.xsd&...
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Groovy Scripting
Configuration</xs:documentation>
+ </xs:annotation>
+
+ <xs:element name="groovy" type="smooks-groovy:groovy"
substitutionGroup="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Groovy Script.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="groovy">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Groovy Script.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="imports" type="xs:string"
minOccurs="0" />
+ <xs:element name="script" type="xs:string"
/>
+ <xs:element ref="smooks:param" minOccurs="0"
maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="executeOnElement"
type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the element on which to execute the script.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeOnElementNS"
type="xs:anyURI" use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the element on which to execute the script.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeBefore"
type="xs:boolean" use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Execute the script before visiting the elements child
content. Default is 'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
\ No newline at end of file
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/groovy-1...
+
+ <resource-config selector="groovy">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ </resource-config>
+
+ <resource-config selector="groovy">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="groovy">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="groovy">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeBefore</param>
+ <param name="mapTo">executeBefore</param>
+ </resource-config>
+
+ <resource-config selector="groovy">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">resourceType</param>
+ <param name="value">groovy</param>
+ </resource-config>
+
+ <resource-config selector="groovy/imports">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">imports</param>
+ </resource-config>
+
+ <resource-config selector="groovy/script">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">resource</param>
+ </resource-config>
+
+ <resource-config selector="groovy/param"
selector-namespace="http://www.milyn.org/xsd/smooks-1.1.xsd">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapToSpecifier">name</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/groovy-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/io-routing-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-io-routing="http://www.milyn.org/xsd/smooks/io-routing-...
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks IO Routing
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="router" type="smooks-io-routing:router"
substitutionGroup="smooks:abstract-resource-config" >
+
+ </xs:element>
+
+ <xs:complexType name="router">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Output stream router
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:attribute name="routeOnElement" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element to route on.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="routeOnElementNS" type="xs:string"
use="optional" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the routeOnElement element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="resourceName" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The resource name of the AbstractOutputStreamResource the bean should be routed
to.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="beanId" type="xs:string"
use="required" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The beanId of the bean from the bean context to be written to the
OutputStream.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="encoding" type="xs:string"
use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The encoding used when writing characters to the stream. Default is
'UTF-8'
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeBefore" type="xs:boolean"
use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If the routing is done before or after the selected element. Default is
'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/io-routi...
+
+ <!--
+ FileOutputStreamResource Resource
+ -->
+
+ <resource-config selector="router">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.routing.io.OutputStreamRouter</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">routeOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">routeOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">resourceName</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">beanId</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ <param name="mapTo">writerEncoding</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeBefore</param>
+ <param name="mapTo">visitBefore</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/io-routing-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,396 @@
+<?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....
+
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="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="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="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/Da...
+ 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...
+ class name. The fully qualified class name is only required for
custom
+ <a
href="http://milyn.codehaus.org/javadoc/smooks/org/milyn/javabean/Da...
+ 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/de...;.
+ 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/de...
+ <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/Da...
+ 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/de...;.
+ 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/de...
+ <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:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,197 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/javabean...
+
+ <!--
+ Bean Instance Creator Resource...
+ -->
+
+ <resource-config selector="bindings">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.javabean.BeanInstanceCreator</param>
+ </resource-config>
+
+ <resource-config selector="bindings">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">createOnElement</param>
+ <param name="mapTo">selector</param>
+
+ <!--
+ If not set then the $void selector is used to make sure that the
BeanInstanceCreator gets
+ initialized but never executed on an element.
+ -->
+ <param name="defaultValue">$void</param>
+ </resource-config>
+
+ <resource-config selector="bindings">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">createOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="bindings">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">beanId</param>
+ </resource-config>
+
+ <resource-config selector="bindings">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">class</param>
+ <param name="mapTo">beanClass</param>
+ </resource-config>
+
+ <resource-config selector="bindings">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">extendLifecycle</param>
+ </resource-config>
+
+ <!--
+ Bean Instance Populator Resource (Value)...
+ -->
+
+ <resource-config selector="bindings/value">
+ <!-- Clone the BeanInstanceCreator config for the BeanInstancePopulator...
-->
+ <resource>org.milyn.cdr.extension.CloneResourceConfig</resource>
+ <param
name="resource">org.milyn.javabean.BeanInstancePopulator</param>
+ <param name="unset">beanClass</param>
+ <param name="unset">extendLifecycle</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">data</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">dataNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">property</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">setterMethod</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">decoder</param>
+ <param name="mapTo">type</param>
+ <param name="defaultValue">String</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">default</param>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+ <resource>org.milyn.javabean.ext.SelectorPropertyResolver</resource>
+ </resource-config>
+
+ <resource-config selector="bindings/value">
+ <resource>org.milyn.javabean.ext.DecodeParamResolver</resource>
+ </resource-config>
+
+ <!--
+ Bean Instance Populator Resource (Wiring)...
+ -->
+
+ <resource-config selector="bindings/wiring">
+ <!-- Clone the BeanInstanceCreator config for the BeanInstancePopulator...
-->
+ <resource>org.milyn.cdr.extension.CloneResourceConfig</resource>
+ <param
name="resource">org.milyn.javabean.BeanInstancePopulator</param>
+ <param name="unset">beanClass</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">property</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">setterMethod</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">beanIdRef</param>
+ <param name="mapTo">wireBeanId</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">wireOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">wireOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">wireOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="bindings/wiring">
+ <resource>org.milyn.javabean.ext.WireOnElementChecker</resource>
+ </resource-config>
+
+ <!--
+ Bean Instance Populator Resource (Expression)...
+ -->
+
+ <resource-config selector="bindings/expression">
+ <!-- Clone the BeanInstanceCreator config for the BeanInstancePopulator...
-->
+ <resource>org.milyn.cdr.extension.CloneResourceConfig</resource>
+ <param
name="resource">org.milyn.javabean.BeanInstancePopulator</param>
+ <param name="unset">beanClass</param>
+ <param name="unset">extendLifecycle</param>
+ </resource-config>
+
+ <resource-config selector="bindings/expression">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">execOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="bindings/expression">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">execOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="bindings/expression">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">property</param>
+ </resource-config>
+
+ <resource-config selector="bindings/expression">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">setterMethod</param>
+ </resource-config>
+
+ <resource-config selector="bindings/expression">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">expression</param>
+ </resource-config>
+
+ <!--
+ Bean Instance Populator Resource (Expression)...
+ -->
+
+ <resource-config selector="bindings/*">
+ <resource>org.milyn.javabean.ext.PropertyChecker</resource>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/javabean-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,362 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema
targetNamespace="http://www.milyn.org/xsd/smooks/jms-routing-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-jms-routing="http://www.milyn.org/xsd/smooks/jms-routin...
+
+ <xs:import
namespace="http://www.milyn.org/xsd/smooks-1.1.xsd"/>
+
+ <xs:annotation>
+ <xs:documentation xml:lang="en">Smooks JMS Routing
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="router" type="smooks-jms-routing:router"
substitutionGroup="smooks:abstract-resource-config">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ JMS router configuration
+ The JMS router routes messages to a JMS destination (Queue or Topic).
+ The message payload is created from a bean out of the bean context. It is
possible
+ to send Text or Object messages. The correlation id can be generated out of a
FreeMarker
+ template.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="router">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ JMS Router
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:element-visitor">
+ <xs:sequence>
+ <xs:element name="message"
type="smooks-jms-routing:message" minOccurs="0"
maxOccurs="1">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The message configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="connection"
type="smooks-jms-routing:connection" minOccurs="0"
maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS connection configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="session"
type="smooks-jms-routing:session" minOccurs="0"
maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS session configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="jndi" type="smooks-jms-routing:jndi"
minOccurs="0" maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JNDI configuration.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="highWaterMark"
type="smooks-jms-routing:highWaterMark" minOccurs="0"
maxOccurs="1" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The configuration for the max number of messages that can be sitting in the
+ JMS Destination at any any time.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="routeOnElement" type="xs:string"
use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element to route on.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="routeOnElementNS" type="xs:string"
use="optional" >
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The namespace of the routeOnElement element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="beanId" type="xs:string"
use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The beanId of the bean from the bean context to be used as message payload.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="destination" type="xs:string"
use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS destination string
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="executeBefore" type="xs:boolean"
use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If the routing is done before or after the selected element. Default is
'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="message">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The message configuration.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="correlationIdPattern" type="xs:string"
minOccurs="0" maxOccurs="1">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ JMS Correlation pattern that will be used for the outgoing message.
+ Templating support is available via the FreeMarker template engine.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="type"
type="smooks-jms-routing:messageType" use="optional"
default="TextMessage">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The type of JMS Message that should be sent. 'TextMessage'(default) or
'ObjectMessage'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="deliveryMode"
type="smooks-jms-routing:deliveryMode" use="optional"
default="persistent">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS DeliveryMode. 'persistent'(default) or 'non-persistent'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="priority" type="xs:int"
use="optional" default="4">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS Priority to be used
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="timeToLive" type="xs:long"
use="optional" default="0">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS Time-To-Live to be used.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="connection">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS connection configuration.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="factory" type="xs:string"
use="optional" default="ConnectionFactory">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The ConnectionFactory to look up
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="securityPrincipal" type="xs:string"
use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The security principal use when creating the JMS connection.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="securityCredential" type="xs:string"
use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The security credentials to use when creating the JMS connection.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="session">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JMS session configuration.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="transacted" type="xs:boolean"
use="optional" default="false">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Determines if the session should be transacted. Defaults to 'false'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="acknowledgeMode"
type="smooks-jms-routing:acknowledgeMode" use="optional"
default="AUTO_ACKNOWLEDGE">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The acknowledge mode to use. One of 'AUTO_ACKNOWLEDGE'(default),
'CLIENT_ACKNOWLEDGE', 'DUPS_OK_ACKNOWLEDGE'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="jndi">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JNDI configuration.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="contextFactory" type="xs:string"
use="optional" default="org.jnp.interfaces.NamingContextFactory">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JNDI ContextFactory to use
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="providerUrl" type="xs:string"
use="optional" default="jnp://localhost:1099">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JNDI Provider URL to use.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="namingFactory" type="xs:string"
use="optional"
default="org.jboss.naming:java.naming.factory.url.pkgs">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The JNDI NamingFactory to use
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:complexType name="highWaterMark">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The configuration for the max number of messages that can be sitting in the
+ JMS Destination at any any time.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="mark" type="xs:int"
use="optional" default="200">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The max number of messages that can be sitting in the JMS Destination at any any
time. Default is 200.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="timeout" type="xs:int"
use="optional" default="60000">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The number of milliseconds to wait for the system to process JMS Messages from the
JMS destination so that the
+ number of JMS Messages drops below the highWaterMark. Default is 60000 ms.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="pollFrequency" type="xs:int"
use="optional" default="1000">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The number of milliseconds to wait between checks on the High Water Mark, while
waiting for it to drop.
+ Default is 1000 ms.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+
+ <xs:simpleType name="acknowledgeMode">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The possible JMS acknowledge modes
+ </xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="AUTO_ACKNOWLEDGE">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ With this acknowledgement mode, the session automatically acknowledges a
client's receipt of a
+ message when it has either successfully returned from a call to receive or the
message listener
+ it has called to process the message successfully returns.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="CLIENT_ACKNOWLEDGE">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ With this acknowledgement mode, the client acknowledges a message by calling a
message's acknowledge method.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="DUPS_OK_ACKNOWLEDGE">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ This acknowledgement mode instructs the session to lazily acknowledge the delivery
of messages.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="messageType">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The possible JMS message types.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="TextMessage">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ A TextMessage is used to send a message containing a java.lang.String.
+ To retrieve the string the cartridge calls the 'toString()' method of the
target bean.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="ObjectMessage">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ An ObjectMessage is used to send a message that contains a serializable Java
object.
+ Only Serializable Java objects can be used.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="MapMessage">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ A MapMessage is used to send a set of name-value pairs where names are Strings and
values are Java primitive types or Strings.
+ Only Map Java objects can be used.
+ For the keys of the map the 'toString()' method is called to retrieve the
String representation.
+ Objects that aren't primitive types or Strings get the toString() method called
to return the String representation.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="deliveryMode">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The possible JMS delivery modes.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="persistent">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ This mode instructs the JMS provider to log the message to stable storage as part
of the client's send operation.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ <xs:enumeration value="non-persistent">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ This is the lowest overhead delivery mode because it does not require that the
message be logged to stable storage.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+</xs:schema>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,149 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/jms-rout...
+
+ <!--
+ JMS Router Resource
+ -->
+
+ <resource-config selector="router">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param
name="resource">org.milyn.routing.jms.JMSRouter</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">routeOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">routeOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">beanId</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">destination</param>
+ <param name="mapTo">destinationName</param>
+ </resource-config>
+
+ <resource-config selector="router">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">executeBefore</param>
+ </resource-config>
+
+ <!--
+ router/message
+ -->
+
+ <resource-config selector="router/message">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">type</param>
+ <param name="mapTo">messageType</param>
+ </resource-config>
+
+ <resource-config selector="router/message">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">deliveryMode</param>
+ </resource-config>
+
+ <resource-config selector="router/message">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">priority</param>
+ </resource-config>
+
+ <resource-config selector="router/message">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">timeToLive</param>
+ </resource-config>
+
+ <resource-config selector="router/message/correlationIdPattern">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">correlationIdPattern</param>
+ </resource-config>
+
+ <!--
+ router/connection
+ -->
+
+ <resource-config selector="router/connection">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">factory</param>
+ <param name="mapTo">connectionFactory</param>
+ </resource-config>
+
+ <resource-config selector="router/connection">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">securityPrincipal</param>
+ </resource-config>
+
+ <resource-config selector="router/connection">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">securityCredential</param>
+ </resource-config>
+
+ <!--
+ router/session
+ -->
+
+ <resource-config selector="router/session">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">transacted</param>
+ </resource-config>
+
+ <resource-config selector="router/session">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">acknowledgeMode</param>
+ </resource-config>
+
+ <!--
+ router/jndi
+ -->
+
+ <resource-config selector="router/jndi">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">contextFactory</param>
+ <param name="mapTo">jndiContextFactory</param>
+ </resource-config>
+
+ <resource-config selector="router/jndi">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">providerUrl</param>
+ <param name="mapTo">jndiProviderUrl</param>
+ </resource-config>
+
+ <resource-config selector="router/jndi">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">namingFactory</param>
+ <param name="mapTo">jndiNamingFactory</param>
+ </resource-config>
+
+ <!--
+ router/highWaterMark
+ -->
+
+ <resource-config selector="router/highWaterMark">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">mark</param>
+ <param name="mapTo">highWaterMark</param>
+ </resource-config>
+
+ <resource-config selector="router/highWaterMark">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">timeout</param>
+ <param name="mapTo">highWaterMarkTimeout</param>
+ </resource-config>
+
+ <resource-config selector="router/highWaterMark">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">pollFrequency</param>
+ <param name="mapTo">highWaterMarkPollFrequency</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/jms-routing-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd 2009-04-14 06:22:21
UTC (rev 14719)
@@ -0,0 +1,130 @@
+<?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-json="http://www.milyn.org/xsd/smooks/json-1.1.xsd"
+
targetNamespace="http://www.milyn.org/xsd/smooks/json-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 JSON Reader
Configuration</xs:documentation>
+ </xs:annotation>
+
+
+ <xs:element name="reader" type="smooks-json:reader"
substitutionGroup="smooks:abstract-reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ JSON Reader Configuration
+ The JSON reader reads a JSON stream and converts it to SAX events that Smooks
+ can process.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+
+ <xs:complexType name="reader">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">JSON
Reader</xs:documentation>
+ </xs:annotation>
+ <xs:complexContent>
+ <xs:extension base="smooks:abstract-reader">
+ <xs:sequence>
+ <xs:element name="keyMap" type="smooks-json:keyMap"
maxOccurs="1" minOccurs="0">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Defines a JSON element name mapping
+ The "from" key will be replaced with the "to" key or the
contents of the element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="rootName" type="xs:string"
use="optional" default="json">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element name of the document root. Default of 'json'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="arrayElementName" type="xs:string"
use="optional" default="element">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The element name of a array element. Default of 'element'.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="nullValueReplacement" type="xs:string"
use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The replacement string for JSON NULL values. Default is an empty string.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="keyWhitspaceReplacement"
type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The replacement character for whitespaces in a JSON map key.
+ By default this not defined, so that the reader doesn't search for
whitespaces.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="keyPrefixOnNumeric" type="xs:string"
use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The prefix character to add if the JSON node name starts with a number.
+ By default this is not defined, so that the reader doesn't search for
element names that start with a number.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="illegalElementNameCharReplacement"
type="xs:string" use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ If illegal characters are encountered in a JSON element name then they are
replaced with this value.
+ By default this is not defined, so that the reader doesn't doesn't
search for illegal characters.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="encoding" type="xs:string"
use="optional" default="UTF-8">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The encoding of the input stream. Default of 'UTF-8'
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="keyMap">
+ <xs:sequence>
+ <xs:element name="key" type="smooks-json:key"
maxOccurs="unbounded" minOccurs="1">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ Defines a JSON element name mapping
+ The "from" key will be replaced with the "to" key or the
contents of this element.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="key">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="from"
type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name of the key that will be replaced.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="to" type="xs:string"
use="optional">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+ The name the "from" key name is changed into.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Property changes on: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd-smooks.xml
(rev 0)
+++
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/json-1.1...
+
+ <!--
+ Bean Instance Creator Resource...
+ -->
+
+ <resource-config selector="reader">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ <param name="resource">org.milyn.json.JSONReader</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">selector</param>
+ <param name="value">org.xml.sax.driver</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">rootName</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">arrayElementName</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">nullValueReplacement</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">keyWhitspaceReplacement</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">keyPrefixOnNumeric</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param
name="attribute">illegalElementNameCharReplacement</param>
+ </resource-config>
+
+ <resource-config selector="reader">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ </resource-config>
+
+ <resource-config selector="reader keyMap">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">keyMap</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/json-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/smooks-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/smooks-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/smooks-1.1.xsd 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,259 @@
+<?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:attribute>
+ </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: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/smooks-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd 2009-04-14 06:22:21
UTC (rev 14719)
@@ -0,0 +1,151 @@
+<?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: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd-smooks.xml
===================================================================
--- trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd-smooks.xml
(rev 0)
+++ trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd-smooks.xml 2009-04-14
06:22:21 UTC (rev 14719)
@@ -0,0 +1,78 @@
+<?xml version="1.0"?>
+<smooks-resource-list
xmlns="http://www.milyn.org/xsd/smooks-1.1.xsd"
default-selector-namespace="http://www.milyn.org/xsd/smooks/xsl-1.1....
+
+ <resource-config selector="xsl">
+ <resource>org.milyn.cdr.extension.NewResourceConfig</resource>
+ </resource-config>
+
+ <resource-config selector="xsl">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">resourceType</param>
+ <param name="value">xsl</param>
+ </resource-config>
+
+ <resource-config selector="xsl">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">applyOnElement</param>
+ <param name="mapTo">selector</param>
+ </resource-config>
+
+ <resource-config selector="xsl">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">applyOnElementNS</param>
+ <param name="mapTo">selector-namespace</param>
+ </resource-config>
+
+ <resource-config selector="xsl">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">applyBefore</param>
+ <param name="mapTo">applyTemplateBefore</param>
+ </resource-config>
+
+ <resource-config selector="xsl">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">targetProfile</param>
+ <param name="mapTo">targetProfile</param>
+ </resource-config>
+
+ <resource-config selector="xsl/template">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapTo">resource</param>
+ </resource-config>
+
+ <resource-config selector="xsl/template">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">encoding</param>
+ <param name="mapTo">encoding</param>
+ </resource-config>
+
+ <resource-config selector="xsl/use/inline">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">directive</param>
+ <param name="mapTo">action</param>
+ </resource-config>
+
+ <resource-config selector="xsl/use/bindTo">
+ <resource>org.milyn.cdr.extension.SetOnResourceConfig</resource>
+ <param name="setOn">action</param>
+ <param name="value">bindto</param>
+ </resource-config>
+
+ <resource-config selector="xsl/use/bindTo">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">id</param>
+ <param name="mapTo">bindId</param>
+ </resource-config>
+
+ <resource-config selector="xsl/use/outputTo">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromAttribute</resource>
+ <param name="attribute">outputStreamResource</param>
+ <param name="mapTo">outputStreamResource</param>
+ </resource-config>
+
+ <resource-config selector="xsl/param"
selector-namespace="http://www.milyn.org/xsd/smooks-1.1.xsd">
+
<resource>org.milyn.cdr.extension.MapToResourceConfigFromText</resource>
+ <param name="mapToSpecifier">name</param>
+ </resource-config>
+
+</smooks-resource-list>
\ No newline at end of file
Property changes on:
trunk/smooks/plugins/org.jboss.tools.smooks.core/xsd/xsl-1.1.xsd-smooks.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain