public class XmlUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SAXON_SF_NET_JAXP_XPATH_OM |
static String |
SAXON_XPATH_FACTORY |
Constructor and Description |
---|
XmlUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsElementByValue(NodeList elements,
String value) |
static NodeList |
getListOfElementsByXPath(Object searchContext,
String expression) |
static Node |
getSingleElementByXPath(Object searchContext,
String expression) |
static String |
getXPathResult(String expression,
InputSource source) |
static String |
getXPathResult(String expression,
Node contextItem) |
static String |
getXPathResult(String expression,
String sourceXml) |
public static final String SAXON_SF_NET_JAXP_XPATH_OM
public static final String SAXON_XPATH_FACTORY
public static String getXPathResult(String expression, InputSource source)
public static boolean containsElementByValue(NodeList elements, String value)
public static Node getSingleElementByXPath(Object searchContext, String expression)
Copyright © 2015. All rights reserved.