- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getDocumentElement (0.14 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 Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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); } /** * {@link Element}を文字列に変換します。 * * @param element * 要素。{@literal null}であってはいけません * @return 変換された文字列
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
final XPath xPathApi = getXPathAPI().createXPath(f -> {}); xPathApi.setNamespaceContext(new DefaultNamespaceContext(doc.getNodeType() == Node.DOCUMENT_NODE ? doc.getDocumentElement() : doc)); return xPathApi.evaluateExpression(xpath, doc, XPathNodes.class); } protected XPathAPI getXPathAPI() { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0)