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 TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, SettingsSecurity settingsSecurity) Method write.void
write
(Writer writer, SettingsSecurity settingsSecurity) Method write.private void
writeConfig
(Config config, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeConfig.private void
writeConfigProperty
(ConfigProperty configProperty, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeConfigProperty.private void
writeSettingsSecurity
(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.serializer
- a serializer object.tagName
- a tagName 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.serializer
- a serializer object.tagName
- a tagName 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.serializer
- a serializer object.tagName
- a tagName object.- Throws:
IOException
- java.io.IOException if any.
-