public class BasicXmlUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAMESPACE_DECL_SEPARATOR |
Constructor and Description |
---|
BasicXmlUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
declareXPathNamespaces(org.apache.xmlbeans.XmlObject xmlObject) |
static String |
getElementText(Element elm) |
static String |
getFragmentText(DocumentFragment elm) |
static String |
getNodeValue(Node node) |
static String |
getXPathValue(String value,
String xpath) |
static boolean |
seemsToBeXml(String str) |
static boolean |
seemsToBeXmlContentType(String contentType) |
static void |
setElementText(Element elm,
String text) |
static boolean |
setNodeValue(Node domNode,
String newValue) |
static String |
setXPathContent(String xmlText,
String xpath,
String value) |
public static final String NAMESPACE_DECL_SEPARATOR
public static String getFragmentText(DocumentFragment elm)
public static String declareXPathNamespaces(org.apache.xmlbeans.XmlObject xmlObject)
public static boolean seemsToBeXml(String str)
public static boolean seemsToBeXmlContentType(String contentType)
Copyright © 2019. All rights reserved.