public class Dom4jUtil extends Object
com.liferay.petra.xml.Dom4jUtil| Constructor and Description |
|---|
Dom4jUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toString(org.dom4j.Node node) |
static String |
toString(org.dom4j.Node node,
String indent) |
static String |
toString(org.dom4j.Node node,
String indent,
boolean expandEmptyElements) |
static String |
toString(org.dom4j.Node node,
String indent,
boolean expandEmptyElements,
boolean trimText) |
static String |
toString(String xml) |
static String |
toString(String xml,
String indent) |
public static String toString(org.dom4j.Node node) throws IOException
IOExceptionpublic static String toString(org.dom4j.Node node, String indent) throws IOException
IOExceptionpublic static String toString(org.dom4j.Node node, String indent, boolean expandEmptyElements) throws IOException
IOExceptionpublic static String toString(org.dom4j.Node node, String indent, boolean expandEmptyElements, boolean trimText) throws IOException
IOExceptionpublic static String toString(String xml) throws org.dom4j.DocumentException, IOException
org.dom4j.DocumentExceptionIOExceptionpublic static String toString(String xml, String indent) throws org.dom4j.DocumentException, IOException
org.dom4j.DocumentExceptionIOException