- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getDocumentElement (0.09 sec)
-
src/test/java/org/codelibs/core/xml/DomUtilTest.java
final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml")); final Element root = doc.getDocumentElement(); final String contents = DomUtil.toString(root); System.out.println(contents); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
*/ public static String toString(final Document document) { assertArgumentNotNull("document", document); final StringBuilder buf = new StringBuilder(1000); appendElement(document.getDocumentElement(), buf); return new String(buf); } /** * Converts an {@link Element} to a string. * * @param element * The element. Must not be {@literal null}.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0)