- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setNamespaceAware (0.09 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
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 return document ? document.importNode(parsed, true) : parsed
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java
*/ public void testSetXIncludeAware() throws Exception { final SAXParserFactory spf = SAXParserFactoryUtil.newInstance(); SAXParserFactoryUtil.setXIncludeAware(spf, true); spf.setNamespaceAware(true); final SAXParser parser = SAXParserFactoryUtil.newSAXParser(spf); final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/include.xml"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
factory.setIgnoringComments(ignoringComments); factory.setIgnoringElementContentWhitespace(ignoringElementContentWhitespace); factory.setNamespaceAware(namespaceAware); factory.setValidating(validating); factory.setXIncludeAware(includeAware); final DocumentBuilder builder = factory.newDocumentBuilder();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
xmlTransformer.init(); } { xmlNsTransformer = new XmlTransformer(); xmlNsTransformer.setName("xmlNsTransformer"); xmlNsTransformer.setNamespaceAware(true); Map<String, String> fieldRuleMap = newLinkedHashMap(); fieldRuleMap.put("name", "//hoge:address/hoge:item/hoge:name");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0)