- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MavenStaxWriter (0.2 sec)
-
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java
import org.apache.maven.model.Model; import org.apache.maven.model.v4.MavenStaxWriter; /** * @deprecated Use MavenStaxWriter instead */ @Deprecated public class MavenXpp3Writer { // --------------------------/ // - Class/Member Variables -/ // --------------------------/ private final MavenStaxWriter delegate = new MavenStaxWriter(); // -----------/ // - Methods -/ // -----------/
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
assertFalse(config.isEmpty()); } String toXml(Model model) throws IOException, XMLStreamException { StringWriter sw = new StringWriter(); MavenStaxWriter writer = new MavenStaxWriter(); writer.setAddLocationInformation(false); writer.write(sw, model); return sw.toString(); } Model fromXml(String xml) 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) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
String version = model.getModelVersion(); Files.createDirectories(dest.getParent()); try (Writer w = Files.newBufferedWriter(dest)) { MavenStaxWriter writer = new MavenStaxWriter(); writer.setNamespace(String.format(NAMESPACE_FORMAT, version)); writer.setSchemaLocation(String.format(SCHEMA_LOCATION_FORMAT, version));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java
import java.io.OutputStreamWriter; import java.io.Writer; import java.nio.file.Files; import java.util.Map; import java.util.Objects; import org.apache.maven.api.model.Model; import org.apache.maven.model.v4.MavenStaxWriter; import org.codehaus.plexus.util.xml.XmlStreamWriter; /** * Handles serialization of a model into some kind of textual format like XML. * * @deprecated use {@link XmlStreamWriter} instead */ @Named
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
throws ModelInterpolationException { StringWriter sWriter = new StringWriter(1024); MavenStaxWriter writer = new MavenStaxWriter(); try { writer.write(sWriter, model.getDelegate()); } catch (IOException | XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3WriterEx.java
import java.io.IOException; import java.io.OutputStream; import java.io.Writer; import org.apache.maven.model.InputLocation; import org.apache.maven.model.Model; /** * @deprecated Use MavenStaxWriter instead */ @Deprecated public class MavenXpp3WriterEx extends MavenXpp3Writer { // -----------/ // - Methods -/ // -----------/ public MavenXpp3WriterEx() { super(true);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0)