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