Top Description Constructors Methods
liquibase.util

public abstract Class XMLUtil

extends Object
Class Inheritance
Imports
org.w3c.dom.Node, .NodeList, .Text

Various utility methods for working with XML.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
getTextContent(Node element)

Extracts the text from the given element.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

XMLUtilback to summary
public XMLUtil()

Method Detail

getTextContentback to summary
public static String getTextContent(Node element)

Extracts the text from the given element. Node#getTextContent() returns the text from ALL children, this returns the text only for this element.