Class XMLUtil
java.lang.Object
org.apache.activemq.artemis.utils.XMLUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertEquivalent(Node node, Node node2) static Stringstatic URLfindResource(String resourceName) static StringNote: if the content is another element or set of elements, it returns a string representation of the hierarchy.static booleanparseBoolean(Node elem) static doubleparseDouble(Node elem) static intstatic intstatic longstatic Elementstatic Stringstatic Stringstatic Documentstatic ElementstreamToElement(InputStream inputStream) static Elementstatic StringstripCDATA(String s) static ElementurlToElement(URL url) static void
-
Field Details
-
CONSIDER_OS_ENV_PROP
-
-
Method Details
-
streamToElement
- Throws:
Exception
-
stringToElement
- Throws:
Exception
-
urlToElement
- Throws:
Exception
-
readerToString
- Throws:
Exception
-
readerToElement
- Throws:
Exception
-
elementToString
-
getTextContent
Note: if the content is another element or set of elements, it returns a string representation of the hierarchy. -
assertEquivalent
-
stripCDATA
-
replaceSystemPropsInString
-
replaceSystemPropsInXml
-
parseLong
-
parseInt
-
parseInt
-
parseBoolean
-
parseDouble
-
validate
- Throws:
Exception
-
findResource
-