Package com.axelor.meta.loader
Class AbstractXmlProcessor
java.lang.Object
com.axelor.meta.loader.AbstractXmlProcessor
- Direct Known Subclasses:
ComputedViewXmlProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.github.benmanes.caffeine.cache.LoadingCache<String, XPathExpression> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilterElements(List<Element> elements, String nodeName) findElements(NodeList nodeList) findViewNode(Document document) getNodeAttributeValue(NamedNodeMap attributes, String name) nodeListToList(NodeList nodeList) nodeListToStream(NodeList nodeList)
-
Field Details
-
XPATH_EXPRESSION_CACHE
public static final com.github.benmanes.caffeine.cache.LoadingCache<String,XPathExpression> XPATH_EXPRESSION_CACHE
-
-
Constructor Details
-
AbstractXmlProcessor
public AbstractXmlProcessor()
-
-
Method Details
-
evaluateXPath
public Object evaluateXPath(String subExpression, String name, String type, Object item, QName returnType) throws XPathExpressionException - Throws:
XPathExpressionException
-
findElements
-
filterElements
-
findViewNode
-
nodeListToStream
-
nodeListToList
-
getNodeAttributeValue
-