Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for fromXml (0.04 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            props.put("junit.version", "4.12");
            Model model = Model.newBuilder(true).properties(props).build();
            String xml = toXml(model);
    
            for (int i = 0; i < 10; i++) {
                String newStr = toXml(fromXml(xml));
                assertEquals(newStr, xml);
            }
        }
    
        @Test
        void testNamespaceInXmlNode() throws XMLStreamException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultPluginXmlFactory().fromXmlString(xml);
        }
    
        /**
         * Simply converts the given content to an xml string.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top