Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getNodeType (0.05 sec)

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals("TESTHOST", nbtAddress.getHostName());
            assertArrayEquals(new byte[] { (byte) 192, (byte) 168, (byte) 1, (byte) 1 }, nbtAddress.getAddress());
            // Don't test isGroupAddress and getNodeType here as they don't need context for known hosts
        }
    
        @Test
        void testConstructorWithAllParameters() throws UnknownHostException {
            // Test the constructor with all parameters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            byte[] nodeAddress = addrEntry[0].getAddress();
            assertNotNull(nodeAddress, "Node address should not be null");
            // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test
            // These methods require network operations and are integration test material
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/NetbiosAddress.java

         *         {@link jcifs.netbios.NbtAddress#H_NODE}
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        int getNodeType(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Determines if this address in the process of being deleted.
         *
         * @param tc
         *            context to use
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

        }
    
        @Override
        public boolean isGroupAddress(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.groupName;
        }
    
        @Override
        public int getNodeType(final CIFSContext tc) throws UnknownHostException {
            checkData(tc);
            return this.nodeType;
        }
    
        @Override
        public boolean isBeingDeleted(final CIFSContext tc) throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. 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);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

                return null;
            }
    
            @Override
            public void setNodeValue(String nodeValue) {
                this.nodeValue = nodeValue;
            }
    
            @Override
            public short getNodeType() {
                return 0;
            }
        }
    
        private static class MockNamedNodeMap implements NamedNodeMap {
            private final Map<String, Node> items = new HashMap<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         * {@link jcifs.smb1.netbios.NbtAddress#H_NODE}
         *
         * @throws UnknownHostException if the host cannot be resolved to find out.
         */
    
        public int getNodeType() throws UnknownHostException {
            checkData();
            return nodeType;
        }
    
        /**
         * Determines if this address in the process of being deleted.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top