public class MailAddressesPattern extends Object implements Pattern
An expression representing the mail addresses, based on fixed String
or an XPathExpression
.
Constructor and Description |
---|
MailAddressesPattern(QName wsdlOperationName,
String fixedString)
Create a
MailAddressesPattern from a fixed String used as addresses. |
MailAddressesPattern(QName wsdlOperationName,
XPathExpression xpathExpr)
Create a
MailAddressesPattern from a XPathExpression . |
public MailAddressesPattern(QName wsdlOperationName, String fixedString)
MailAddressesPattern
from a fixed String
used as addresses.wsdlOperationName
- The operation name in WSDL where this StringXPathPattern
takes placefixedString
- The fixed String
used as addressespublic MailAddressesPattern(QName wsdlOperationName, XPathExpression xpathExpr)
MailAddressesPattern
from a XPathExpression
.wsdlOperationName
- The operation name in WSDL where this StringXPathPattern
takes placexpathExpr
- The XPathExpression
from which addresses are computedpublic String getValue(Document incomingPayload) throws NoMailAddressValueException, OperationProcessingException
getValue
in interface Pattern
NoMailAddressValueException
OperationProcessingException
Copyright © 2005-2018 Linagora. All Rights Reserved.