public class XMLUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MORE_THAN_ONE_ELEMENT_FOUND_WITH_GIVEN_VALIDATION_EXPRESSION |
static String |
MORE_THAN_ONE_SIGNATURE_FOUND |
static String |
NOT_FOUND_ELEMENT_WITH_GIVEN_VALIDATION_EXPRESSION |
| Constructor and Description |
|---|
XMLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
createXmlUsing(Document doc) |
static Document |
documentBasedOnThe(byte[] xml) |
static NodeList |
getElements(String xpathExpr,
Document document) |
static String |
getIDAttributeName(Element element) |
static void |
setAttributeAsIdCreatingIfNotFound(Element element,
String attributeName) |
static Element |
validateXpathInDocument(Document document,
String expression) |
public static final String NOT_FOUND_ELEMENT_WITH_GIVEN_VALIDATION_EXPRESSION
public static final String MORE_THAN_ONE_ELEMENT_FOUND_WITH_GIVEN_VALIDATION_EXPRESSION
public static final String MORE_THAN_ONE_SIGNATURE_FOUND
Copyright © 2024 MuleSoft, Inc.. All rights reserved.