Class SecurityConfigurationXpp3Writer
java.lang.Object
org.sonatype.plexus.components.sec.dispatcher.model.io.xpp3.SecurityConfigurationXpp3Writer
Class SecurityConfigurationXpp3Writer.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetFileComment(String fileComment) Method setFileComment.voidwrite(OutputStream stream, SettingsSecurity settingsSecurity) Method write.voidwrite(Writer writer, SettingsSecurity settingsSecurity) Method write.private voidwriteConfig(Config config, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeConfig.private voidwriteConfigProperty(ConfigProperty configProperty, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeConfigProperty.private voidwriteSettingsSecurity(SettingsSecurity settingsSecurity, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeSettingsSecurity.
-
Field Details
-
NAMESPACE
Field NAMESPACE. -
fileComment
Field fileComment.
-
-
Constructor Details
-
SecurityConfigurationXpp3Writer
public SecurityConfigurationXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment- a fileComment object.
-
write
Method write.- Parameters:
writer- a writer object.settingsSecurity- a settingsSecurity object.- Throws:
IOException- java.io.IOException if any.
-
write
Method write.- Parameters:
stream- a stream object.settingsSecurity- a settingsSecurity object.- Throws:
IOException- java.io.IOException if any.
-
writeConfig
private void writeConfig(Config config, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeConfig.- Parameters:
config- a config object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeConfigProperty
private void writeConfigProperty(ConfigProperty configProperty, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeConfigProperty.- Parameters:
configProperty- a configProperty object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-
writeSettingsSecurity
private void writeSettingsSecurity(SettingsSecurity settingsSecurity, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSettingsSecurity.- Parameters:
settingsSecurity- a settingsSecurity object.tagName- a tagName object.serializer- a serializer object.- Throws:
IOException- java.io.IOException if any.
-