Package org.apache.maven.model.io.xpp3
Class MavenXpp3Writernull
- java.lang.Object
-
- org.apache.maven.model.io.xpp3.MavenXpp3Writernull
-
public class MavenXpp3Writernull extends java.lang.ObjectClass MavenXpp3Writernull.- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description protected InputLocation.StringFormatterstringFormatterField stringFormatter.
-
Constructor Summary
Constructors Constructor Description MavenXpp3Writernull()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetFileComment(java.lang.String fileComment)Method setFileComment.voidsetStringFormatter(InputLocation.StringFormatter stringFormatter)Method setStringFormatter.protected java.lang.StringtoString(InputLocation location)Method toString.voidwrite(java.io.OutputStream stream, Model model)Method write.voidwrite(java.io.Writer writer, Model model)Method write.protected voidwriteXpp3DomToSerializer(org.codehaus.plexus.util.xml.Xpp3Dom dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)Method writeXpp3DomToSerializer.
-
-
-
Field Detail
-
stringFormatter
protected InputLocation.StringFormatter stringFormatter
Field stringFormatter.
-
-
Method Detail
-
setFileComment
public void setFileComment(java.lang.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 java.lang.String toString(InputLocation location)
Method toString.- Parameters:
location- a location object.- Returns:
- String
-
write
public void write(java.io.Writer writer, Model model) throws java.io.IOExceptionMethod write.- Parameters:
writer- a writer object.model- a model object.- Throws:
java.io.IOException- java.io.IOException if any.
-
write
public void write(java.io.OutputStream stream, Model model) throws java.io.IOExceptionMethod write.- Parameters:
stream- a stream object.model- a model object.- Throws:
java.io.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 java.io.IOExceptionMethod writeXpp3DomToSerializer.- Parameters:
dom- a dom object.serializer- a serializer object.- Throws:
java.io.IOException- java.io.IOException if any.
-
-