Class SecurityConfigurationXpp3Writer

java.lang.Object
org.sonatype.plexus.components.sec.dispatcher.model.io.xpp3.SecurityConfigurationXpp3Writer

public class SecurityConfigurationXpp3Writer extends Object
Class SecurityConfigurationXpp3Writer.
Version:
$Revision$ $Date$
  • Field Details

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • SecurityConfigurationXpp3Writer

      public SecurityConfigurationXpp3Writer()
  • Method Details

    • setFileComment

      public void setFileComment(String fileComment)
      Method setFileComment.
      Parameters:
      fileComment - a fileComment object.
    • write

      public void write(Writer writer, SettingsSecurity settingsSecurity) throws IOException
      Method write.
      Parameters:
      writer - a writer object.
      settingsSecurity - a settingsSecurity object.
      Throws:
      IOException - java.io.IOException if any.
    • write

      public void write(OutputStream stream, SettingsSecurity settingsSecurity) throws IOException
      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.