public class DroolsUtils extends Object
| Modifier and Type | Method | Description |
|---|---|---|
static Set<String> |
elementsToSet(List<Element> elements) |
Transforms a list of element to a set of element values.
|
static Node |
evaluateFirst(Node contextNode,
XPathExpression... expressions) |
Evaluate several precompiled XPath expressions in order and return the first node found.
|
static String |
getDateForBrTr70038(eu.europa.ec.taxud.validation.ValidationContext context) |
Gets date for br tr 70038.
|
static String |
getDateForBrTr70039(eu.europa.ec.taxud.validation.ValidationContext context) |
Gets date for br tr 70039.
|
static boolean |
parseXmlBoolean(String value) |
Parse xml boolean boolean.
|
public static Set<String> elementsToSet(List<Element> elements)
elements - The elements list.public static String getDateForBrTr70039(eu.europa.ec.taxud.validation.ValidationContext context)
context - the contextpublic static String getDateForBrTr70038(eu.europa.ec.taxud.validation.ValidationContext context)
context - the contextpublic static boolean parseXmlBoolean(String value)
value - the valuepublic static Node evaluateFirst(Node contextNode, XPathExpression... expressions)
contextNode - the root or current DOM nodeexpressions - ordered list of compiled XPathExpression objectsCopyright © 2025. All rights reserved.