- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for newDocumentBuilder (0.36 sec)
-
src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java
} /** * 新しい {@link DocumentBuilder}を作成します。 * * @return 新しい {@link DocumentBuilder} */ public static DocumentBuilder newDocumentBuilder() { try { return newInstance().newDocumentBuilder(); } catch (final ParserConfigurationException e) { throw new ParserConfigurationRuntimeException(e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
final Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument() def parse(String str, Document document = null) { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance() factory.setNamespaceAware(true) DocumentBuilder builder = factory.newDocumentBuilder() def parsed = builder.parse(new InputSource(new StringReader(str))).documentElement
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XIncludeAwareXmlProvider.groovy
Document root Element parse(File sourceFile) { root = parseSourceFile(sourceFile) root.documentElement } Node emptyDoc() { root = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument() } void write(File destFile, boolean indent = false) { destFile.withOutputStream { OutputStream stream -> TransformerFactory factory = TransformerFactory.newInstance()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
} /** * @throws Exception */ public void testToString() throws Exception { final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder(); final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml")); final Element root = doc.getDocumentElement();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
} } private void build(ClassExtensionDoc extensionDoc) { Document doc; try { doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); } catch (ParserConfigurationException e) { throw UncheckedException.throwAsUncheckedException(e); } LinkRenderer linkRenderer = new LinkRenderer(doc, model);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
factory.setFeature(Constants.XERCES_FEATURE_PREFIX + Constants.LOAD_EXTERNAL_DTD_FEATURE, false); final DocumentBuilder builder = factory.newDocumentBuilder(); final Document doc = builder.parse(is); final NodeList nodeList = doc.getElementsByTagName("component"); for (int i = 0; i < nodeList.getLength(); i++) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt
fetchVersionsFromMavenMetadata(mavenMetadataUrl) .single() } internal fun DocumentBuilderFactory.fetchVersionsFromMavenMetadata(url: String): List<String> = newDocumentBuilder() .parse(url) .getElementsByTagName("version").let { versions -> (0 until versions.length) .map { idx -> (versions.item(idx) as Element).textContent }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 02 09:17:07 UTC 2023 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY); final DocumentBuilder builder = factory.newDocumentBuilder(); final Document document = builder.parse(is); final NodeList nodeList = document.getElementsByTagName("version"); for (int i = 0; i < nodeList.getLength(); i++) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 01:47:10 UTC 2024 - 17.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
factory.setNamespaceAware(namespaceAware); factory.setValidating(validating); factory.setXIncludeAware(includeAware); final DocumentBuilder builder = factory.newDocumentBuilder(); final Document doc = builder.parse(is); final StringBuilder buf = new StringBuilder(1000); buf.append(getResultDataHeader());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0)