@ThreadSafe public class XMLContentFilter extends Object
removeMatchingElements(Message)
.
As even Java 7 only supports XPath 1.0, this is what this class supports.Constructor and Description |
---|
XMLContentFilter(String xPath) |
Modifier and Type | Method and Description |
---|---|
void |
removeMatchingElements(Message message)
Removes parts of an XML document based on an XPath expression.
|
public XMLContentFilter(String xPath) throws XPathExpressionException
xPath
- XPath 1.0 expressionXPathExpressionException
public void removeMatchingElements(Message message)
Copyright © 2012. All Rights Reserved.