Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getNodeType (0.08 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                for (int i = 0; i < nodeList.getLength(); i++) {
                    final Node childNode = nodeList.item(i);
                    parseTextContent(childNode, buf);
                }
            } else if (node.getNodeType() == Node.TEXT_NODE) {
                final String value = node.getTextContent();
                if (value != null) {
                    final String content = value.trim();
                    if (content.length() > 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/xml/DomUtil.java

         */
        public static void appendNode(final Node node, final StringBuilder buf) {
            assertArgumentNotNull("node", node);
            assertArgumentNotNull("buf", buf);
    
            switch (node.getNodeType()) {
            case Node.ELEMENT_NODE:
                appendElement((Element) node, buf);
                break;
            case Node.TEXT_NODE:
                appendText((Text) node, buf);
                break;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top