Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for NodeList (0.06 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
            // Parallel edges are allowed, so this should always succeed.
            assertThat(
                    network.addEdge(
                        getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), new Object()))
                .isTrue();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                        final Document doc = builder.parse(is);
                        final NodeList nodeList = doc.getElementsByTagName("component");
                        for (int i = 0; i < nodeList.getLength(); i++) {
                            final Node node = nodeList.item(i);
                            final NamedNodeMap attributes = node.getAttributes();
                            if (attributes != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        protected void parseTextContent(final Node node, final StringBuilder buf) {
            if (node.hasChildNodes()) {
                final NodeList nodeList = node.getChildNodes();
                for (int i = 0; i < nodeList.getLength(); i++) {
                    final Node childNode = nodeList.item(i);
                    parseTextContent(childNode, buf);
                }
            } else if (node.getNodeType() == Node.TEXT_NODE) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
            // Parallel edges are allowed, so this should always succeed.
            assertThat(
                    network.addEdge(
                        getRandomElement(nodeList, gen), getRandomElement(nodeList, gen), new Object()))
                .isTrue();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

            } catch (final Exception e) {
                throw new CrawlerSystemException("Failed to create XPath instance.", e);
            }
        }
    
        /**
         *  Use an XPath string to select a nodelist.
         *  XPath namespace prefixes are resolved from the contextNode.
         *
         *  @param contextNode The node to start searching from.
         *  @param expression A valid XPath string.
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                final Document doc = builder.parse(is);
                final NodeList snapshotNodeList = doc.getElementsByTagName("snapshot");
                if (snapshotNodeList.getLength() > 0) {
                    final NodeList nodeList = snapshotNodeList.item(0).getChildNodes();
                    for (int i = 0; i < nodeList.getLength(); i++) {
                        final Node node = nodeList.item(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)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                    return new String[] { str.trim() };
                case NODESET:
                    final XPathNodes nodeList = (XPathNodes) xObj.value();
                    final List<String> strList = new ArrayList<>();
                    for (int i = 0; i < nodeList.size(); i++) {
                        final Node node = nodeList.get(i);
                        strList.add(node.getTextContent());
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                final StringBuilder buf = new StringBuilder(255);
                final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath);
                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/xml/DomUtil.java

            buf.append(tag);
            buf.append('>');
        }
    
        /**
         * {@link NodeList}の文字列表現を追加します。
         *
         * @param children
         *            子要素。{@literal null}であってはいけません
         * @param buf
         *            文字列バッファ。{@literal null}であってはいけません
         */
        public static void appendChildren(final NodeList children, final StringBuilder buf) {
            assertArgumentNotNull("children", children);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

                        break;
                    case NODESET:
                        final XPathNodes nodeList = (XPathNodes) xObj.value();
                        final List<String> strList = new ArrayList<>();
                        for (int i = 0; i < nodeList.size(); i++) {
                            final Node node = nodeList.get(i);
                            strList.add(node.getTextContent());
                        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top