From c7f3a944e60e2f09cbba129bd299996292c3ff98 Mon Sep 17 00:00:00 2001 From: Gunnar Hillert Date: Thu, 18 Aug 2011 15:07:35 -0400 Subject: [PATCH] Added Xml schema documentation for the attributes: id, channel, directory, scanner (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute charset (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute filename-generator (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute filter (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute delete-files (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute delete-files (2.0 and 2.1 Schema) Added Xml schema documentation for the elements: locker, nio-locker (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute: reply-channel (2.0 and 2.1 Schema) Added Xml schema documentation for the attribute: reply-channel (2.0 and 2.1 Schema) Fixed Xml schema documentation for the elements: locker, nio-locker (2.0 and 2.1 Schema) Fixed Xml schema documentation for the elements: outbound-channel-adapter, outbound-gateway (2.0 and 2.1 Schema) Documentation was missing for the "directory" attribute on complexType name="outboundFileBaseType" (2.0 and 2.1 Schema) Documentation was missing for the "request-channel" attribute on element "outbound-gateway" (2.0 and 2.1 Schema) Documentation was missing for the "request-channel" attribute on element "outbound-gateway" (2.0 and 2.1 Schema) Final round of fixes. Every attribute and element now has documentation in the 2.0 and 2.1 xml schema --- .../config/spring-integration-file-2.0.xsd | 181 ++++++++++++++---- .../config/spring-integration-file-2.1.xsd | 178 +++++++++++++---- 2 files changed, 284 insertions(+), 75 deletions(-) diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd index 2bd2c0c887..c478d3f8e1 100644 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd +++ b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.0.xsd @@ -44,17 +44,38 @@ - + + + + + - + element. Therefore, if the "channel" attribute + is not provided, then the "id" attribute is required. + ]]> + - + + + + + + @@ -90,14 +117,13 @@ Only files matching this regular expression will be picked up by this adapter. + + - - Reference to a custom DirectoryScanner implementation. - @@ -145,16 +171,17 @@ Only files matching this regular expression will be picked up by this adapter. + + + Configures an outbound Channel Adapter that writes Message payloads to a File. + + - - - Configures an outbound Channel Adapter that writes Message payloads to a File. - - + The channel through which outgoing messages will arrive. @@ -168,17 +195,18 @@ Only files matching this regular expression will be picked up by this adapter. + + + Configures an outbound Gateway that writes request Message payloads to a File and then generates a + reply Message containing the newly written File as its payload. + + - - - Configures an outbound Gateway that writes request Message payloads to a File and then generates a - reply Message containing the newly written File as its payload. - - + The channel through which outgoing messages will arrive. @@ -188,6 +216,10 @@ Only files matching this regular expression will be picked up by this adapter. + + + @@ -204,10 +236,24 @@ Only files matching this regular expression will be picked up by this adapter. - - + + + + + + + + + + + + + @@ -250,39 +296,61 @@ Only files matching this regular expression will be picked up by this adapter. - - Specify whether to automatically create the destination directory if it does not yet exist when this + - - + + + + + + + + + + + + + + + + + Creates a Transformer that converts a File payload to a String. + + - - - Creates a Transformer that converts a File payload to a String. - - - + + + + + + + + + + Creates a Transformer that converts a File payload to an array of bytes. + + - - - Creates a Transformer that converts a File payload to an array of bytes. - - @@ -290,9 +358,16 @@ Only files matching this regular expression will be picked up by this adapter. - + + + + + + + + @@ -302,6 +377,11 @@ Only files matching this regular expression will be picked up by this adapter. + + + @@ -309,13 +389,30 @@ Only files matching this regular expression will be picked up by this adapter. - + + + + + + + + + + + + + + + @@ -326,6 +423,14 @@ Only files matching this regular expression will be picked up by this adapter. - + + + + + + + diff --git a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd index 5defb93671..88030c8c81 100644 --- a/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd +++ b/spring-integration-file/src/main/resources/org/springframework/integration/file/config/spring-integration-file-2.1.xsd @@ -44,9 +44,25 @@ - + + + + + + element. Therefore, if the "channel" attribute + is not provided, then the "id" attribute is required. + ]]> @@ -54,7 +70,12 @@ - + + + + + + @@ -90,14 +117,12 @@ Only files matching this regular expression will be picked up by this adapter. + - - Reference to a custom DirectoryScanner implementation. - @@ -145,16 +170,17 @@ Only files matching this regular expression will be picked up by this adapter. + + + Configures an outbound Channel Adapter that writes Message payloads to a File. + + - - - Configures an outbound Channel Adapter that writes Message payloads to a File. - - + The channel through which outgoing messages will arrive. @@ -168,17 +194,18 @@ Only files matching this regular expression will be picked up by this adapter. + + + Configures an outbound Gateway that writes request Message payloads to a File and then generates a + reply Message containing the newly written File as its payload. + + - - - Configures an outbound Gateway that writes request Message payloads to a File and then generates a - reply Message containing the newly written File as its payload. - - + The channel through which outgoing messages will arrive. @@ -188,6 +215,10 @@ Only files matching this regular expression will be picked up by this adapter. + + + @@ -204,10 +235,24 @@ Only files matching this regular expression will be picked up by this adapter. - - + + + + + + + + + + + + + @@ -250,39 +295,61 @@ Only files matching this regular expression will be picked up by this adapter. - - Specify whether to automatically create the destination directory if it does not yet exist when this + - - + + + + + + + + + + + + + + + + + Creates a Transformer that converts a File payload to a String. + + - - - Creates a Transformer that converts a File payload to a String. - - - + + + + + + + + + + Creates a Transformer that converts a File payload to an array of bytes. + + - - - Creates a Transformer that converts a File payload to an array of bytes. - - @@ -290,9 +357,16 @@ Only files matching this regular expression will be picked up by this adapter. - + + + + + + + + @@ -302,6 +376,11 @@ Only files matching this regular expression will be picked up by this adapter. + + + @@ -309,13 +388,30 @@ Only files matching this regular expression will be picked up by this adapter. - + + + + + + + + + + + + + + + @@ -326,6 +422,14 @@ Only files matching this regular expression will be picked up by this adapter. - + + + + + + +