Package org.apache.maven.settings.v4
Class SettingsXpp3WriterEx
java.lang.Object
org.apache.maven.settings.v4.SettingsXpp3WriterEx
-
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, Settings settings) Method write.voidMethod write.protected voidwriteDomToSerializer(XmlNode dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDomToSerializer.protected voidwriteLocationTracking(InputLocationTracker locationTracker, Object key, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeLocationTracking.
-
Field Details
-
stringFormatter
Field stringFormatter.
-
-
Constructor Details
-
SettingsXpp3WriterEx
public SettingsXpp3WriterEx()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
setStringFormatter
Method setStringFormatter.- Parameters:
stringFormatter-
-
write
Method write.- Parameters:
writer- a writer objectsettings- a Settings object- Throws:
IOException- java.io.IOException if any
-
write
Method write.- Parameters:
stream- a stream objectsettings- a Settings object- Throws:
IOException- java.io.IOException if any
-
writeDomToSerializer
protected void writeDomToSerializer(XmlNode dom, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeDomToSerializer.- Parameters:
dom- a dom object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeLocationTracking
protected void writeLocationTracking(InputLocationTracker locationTracker, Object key, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeLocationTracking.- Parameters:
locationTracker-serializer-key-- Throws:
IOException
-
toString
Method toString.- Parameters:
location-- Returns:
- String
-