Package org.apache.maven.model.io.xpp3
Class MavenXpp3WriterEx
java.lang.Object
org.apache.maven.model.io.xpp3.MavenXpp3WriterEx
Class MavenXpp3WriterEx.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidsetStringFormatter(InputLocation.StringFormatter stringFormatter) Method setStringFormatter.protected StringtoString(InputLocation location) Method toString.voidwrite(OutputStream stream, Model model) Method write.voidMethod write.protected voidwriteXpp3DomToSerializer(org.codehaus.plexus.util.xml.Xpp3Dom dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeXpp3DomToSerializer.
-
Field Details
-
stringFormatter
Field stringFormatter.
-
-
Constructor Details
-
MavenXpp3WriterEx
public MavenXpp3WriterEx()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
setStringFormatter
Method setStringFormatter.- Parameters:
stringFormatter- a stringFormatter object.
-
toString
Method toString.- Parameters:
location- a location object.- Returns:
- String
-
write
Method write.- Parameters:
writer- a writer object.model- a model object.- Throws:
IOException- java.io.IOException if any.
-
write
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.
-