Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DomUtil (0.06 sec)

  1. src/main/java/org/codelibs/core/xml/DomUtil.java

    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Text;
    
    /**
     * Utility class for DOM operations.
     *
     * @author higa
     */
    public abstract class DomUtil {
    
        /**
         * Do not instantiate.
         */
        protected DomUtil() {
        }
    
        /**
         * Retrieves the XML content as an {@link InputStream} using the platform's default encoding.
         *
         * @param contents
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/xml/DomUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetContentsAsStream() throws Exception {
            final String contents = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo/>";
            assertNotNull("1", DomUtil.getContentsAsStream(contents, "UTF-8"));
        }
    
        /**
         * @throws Exception
         */
        public void testToString() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
Back to top