checkstyle MutableException
checkstyle EmptyBlock checkstyle fixRightCurly Script checkstyle EmptyStatement checkstyle RightCurly checkstyle TailingWhite checkstyle NeedBraces Fix the line separator in the `fixRightCurly.gradle`
This commit is contained in:
committed by
Artem Bilan
parent
c0b19e61b5
commit
842aded9a4
@@ -24,7 +24,7 @@ import org.w3c.dom.Node;
|
||||
/**
|
||||
* Converter for creating XML {@link Document}, {@link Node} or {@link Source}
|
||||
* instances from other types (e.g. String).
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*/
|
||||
public interface XmlPayloadConverter {
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Parser for the <xpath-router/> element.
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
* @author Mark Fisher
|
||||
* @author Oleg Zhurakousky
|
||||
@@ -55,7 +55,7 @@ public class XPathRouterParser extends AbstractRouterParser {
|
||||
BeanDefinition beanDefinition = this.xpathParser.parse((Element) xPathExpressionNodes.item(0), parserContext);
|
||||
xpathRouterBuilder.addConstructorArgValue(beanDefinition);
|
||||
}
|
||||
else {
|
||||
else {
|
||||
xpathRouterBuilder.addConstructorArgReference(xPathExpressionRef);
|
||||
}
|
||||
IntegrationNamespaceUtils.setReferenceIfAttributeDefined(xpathRouterBuilder, element, "converter");
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.springframework.util.StringUtils;
|
||||
|
||||
/**
|
||||
* Parser for the 'xpath-transformer' element.
|
||||
*
|
||||
*
|
||||
* @author Mark Fisher
|
||||
* @since 2.0
|
||||
*/
|
||||
|
||||
@@ -21,7 +21,7 @@ import javax.xml.transform.Result;
|
||||
/**
|
||||
* Factory to create a {@link Result} possibly taking into account the
|
||||
* provided message payload instance.
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*/
|
||||
public interface ResultFactory {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Provides {@link org.springframework.integration.xml.result.ResultFactory} that
|
||||
* will return {@link javax.xml.transform.Result}, possibly taking into account
|
||||
* Provides {@link org.springframework.integration.xml.result.ResultFactory} that
|
||||
* will return {@link javax.xml.transform.Result}, possibly taking into account
|
||||
* payload instance.
|
||||
*/
|
||||
package org.springframework.integration.xml.result;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Provides XML message routers.
|
||||
* Provides XML message routers.
|
||||
*/
|
||||
package org.springframework.integration.xml.router;
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.xml.xpath.XPathExpression;
|
||||
* Boolean XPath testing {@link MessageSelector}. Requires an XPathExpression
|
||||
* which can be evaluated using {@link XPathExpression#evaluateAsBoolean(Node)}.
|
||||
* Supports payloads of type {@link Document} or {@link String}.
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*/
|
||||
public class BooleanTestXPathMessageSelector extends AbstractXPathMessageSelector {
|
||||
@@ -37,7 +37,7 @@ public class BooleanTestXPathMessageSelector extends AbstractXPathMessageSelecto
|
||||
/**
|
||||
* Create a boolean testing XPath {@link MessageSelector} supporting
|
||||
* multiple namespaces.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression as a String
|
||||
* @param namespaces Map of namespaces where the keys are namespace prefixes
|
||||
*/
|
||||
@@ -47,7 +47,7 @@ public class BooleanTestXPathMessageSelector extends AbstractXPathMessageSelecto
|
||||
|
||||
/**
|
||||
* Create a boolean testing XPath {@link MessageSelector} supporting a single namespace.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression as a String
|
||||
* @param prefix namespace prefix
|
||||
* @param namespace namespace URI
|
||||
@@ -58,7 +58,7 @@ public class BooleanTestXPathMessageSelector extends AbstractXPathMessageSelecto
|
||||
|
||||
/**
|
||||
* Create a boolean testing XPath {@link MessageSelector} with no namespace support.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression as a String
|
||||
*/
|
||||
public BooleanTestXPathMessageSelector(String expression) {
|
||||
@@ -68,7 +68,7 @@ public class BooleanTestXPathMessageSelector extends AbstractXPathMessageSelecto
|
||||
/**
|
||||
* Create a boolean testing XPath {@link MessageSelector} using the
|
||||
* provided {@link XPathExpression}.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression
|
||||
*/
|
||||
public BooleanTestXPathMessageSelector(XPathExpression expression) {
|
||||
|
||||
@@ -29,7 +29,7 @@ import org.springframework.xml.xpath.XPathExpression;
|
||||
/**
|
||||
* XPath {@link MessageSelector} that tests if a provided String value
|
||||
* matches a given Regular Expression.
|
||||
*
|
||||
*
|
||||
* @author Mark Fisher
|
||||
* @since 2.1
|
||||
*/
|
||||
@@ -40,7 +40,7 @@ public class RegexTestXPathMessageSelector extends AbstractXPathMessageSelector
|
||||
|
||||
/**
|
||||
* Creates a selector which attempts to match the given regex and supports multiple namespaces.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression as a String
|
||||
* @param namespaces Map of namespaces where the keys are namespace prefixes
|
||||
* @param regex regular expression to match
|
||||
@@ -53,7 +53,7 @@ public class RegexTestXPathMessageSelector extends AbstractXPathMessageSelector
|
||||
|
||||
/**
|
||||
* Creates a selector which attempts to match the given regex and supports a single namespace.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression as a String
|
||||
* @param prefix namespace prefix
|
||||
* @param namespace namespace URI
|
||||
@@ -66,8 +66,8 @@ public class RegexTestXPathMessageSelector extends AbstractXPathMessageSelector
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a non-namespaced selector which attempts to match the given regex.
|
||||
*
|
||||
* Creates a non-namespaced selector which attempts to match the given regex.
|
||||
*
|
||||
* @param expression XPath expression as a String
|
||||
* @param regex regular expression to match
|
||||
*/
|
||||
@@ -80,7 +80,7 @@ public class RegexTestXPathMessageSelector extends AbstractXPathMessageSelector
|
||||
/**
|
||||
* Creates a selector which attempts to match the given regex against the evaluation result
|
||||
* of the provided {@link XPathExpression}.
|
||||
*
|
||||
*
|
||||
* @param expression XPath expression
|
||||
* @param regex regular expression to match
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Provides XML-centric {@link org.springframework.integration.core.MessageSelector}
|
||||
* implementations.
|
||||
* Provides XML-centric {@link org.springframework.integration.core.MessageSelector}
|
||||
* implementations.
|
||||
*/
|
||||
package org.springframework.integration.xml.selector;
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.messaging.MessagingException;
|
||||
/**
|
||||
* {@link SourceFactory} implementation which supports creation of a {@link DOMSource}
|
||||
* from a {@link Document}, {@link File} or {@link String} payload.
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
|
||||
@@ -34,7 +34,7 @@ import org.springframework.xml.transform.StringSource;
|
||||
/**
|
||||
* {@link SourceFactory} implementation which supports creation of a {@link StringSource}
|
||||
* from a {@link Document}, {@link File} or {@link String} payload
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Provides various {@link org.springframework.integration.xml.source.SourceFactory}
|
||||
* implementations.
|
||||
* Provides various {@link org.springframework.integration.xml.source.SourceFactory}
|
||||
* implementations.
|
||||
*/
|
||||
package org.springframework.integration.xml.source;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Provides implementations of
|
||||
* Provides implementations of
|
||||
* {@link org.springframework.integration.splitter.AbstractMessageSplitter}.
|
||||
*/
|
||||
package org.springframework.integration.xml.splitter;
|
||||
|
||||
@@ -33,7 +33,7 @@ import org.springframework.xml.transform.StringResult;
|
||||
/**
|
||||
* Creates a {@link Document} from a {@link Result} payload. Supports
|
||||
* {@link DOMResult} and {@link StringResult} implementations.
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*/
|
||||
public class ResultToDocumentTransformer implements ResultTransformer {
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.xml.transform.StringResult;
|
||||
/**
|
||||
* Converts the passed {@link Result} to an instance of {@link String}.
|
||||
* Supports {@link StringResult} and {@link DOMResult}
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@ import org.springframework.integration.xml.source.SourceFactory;
|
||||
/**
|
||||
* Transforms the payload to a {@link Source} using a {@link SourceFactory}.
|
||||
* Defaults to using a {@link DomSourceFactory} if an alternative is not provided.
|
||||
*
|
||||
*
|
||||
* @author Jonas Partner
|
||||
*/
|
||||
public class SourceCreatingTransformer extends AbstractPayloadTransformer<Object, Source> {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
* Provides XPath supporting classes.
|
||||
* Provides XPath supporting classes.
|
||||
*/
|
||||
package org.springframework.integration.xml.xpath;
|
||||
|
||||
Reference in New Issue
Block a user