Class MavenXpp3WriterEx


  • public class MavenXpp3WriterEx
    extends Object
    Class MavenXpp3WriterEx.
    Version:
    $Revision$ $Date$
    • Constructor Detail

      • MavenXpp3WriterEx

        public MavenXpp3WriterEx()
    • Method Detail

      • setFileComment

        public void setFileComment​(String fileComment)
        Method setFileComment.
        Parameters:
        fileComment - a fileComment object.
      • setStringFormatter

        public void setStringFormatter​(InputLocation.StringFormatter stringFormatter)
        Method setStringFormatter.
        Parameters:
        stringFormatter - a stringFormatter object.
      • toString

        protected String toString​(InputLocation location)
        Method toString.
        Parameters:
        location - a location object.
        Returns:
        String
      • write

        public void write​(Writer writer,
                          Model model)
                   throws IOException
        Method write.
        Parameters:
        writer - a writer object.
        model - a model object.
        Throws:
        IOException - java.io.IOException if any.
      • write

        public void write​(OutputStream stream,
                          Model model)
                   throws IOException
        Method write.
        Parameters:
        stream - a stream object.
        model - a model object.
        Throws:
        IOException - java.io.IOException if any.
      • writeXpp3DomToSerializer

        protected void writeXpp3DomToSerializer​(org.codehaus.plexus.util.xml.Xpp3Dom dom,
                                                org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                                         throws IOException
        Method writeXpp3DomToSerializer.
        Parameters:
        dom - a dom object.
        serializer - a serializer object.
        Throws:
        IOException - java.io.IOException if any.