Class SecurityConfigurationStaxWriter
java.lang.Object
org.codehaus.plexus.components.secdispatcher.model.io.stax.SecurityConfigurationStaxWriter
Class SecurityConfigurationStaxWriter.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(OutputStream stream, SettingsSecurity settingsSecurity) Method write.void
write
(Writer writer, SettingsSecurity settingsSecurity) Method write.private void
writeConfig
(Config config, String tagName, XMLStreamWriter serializer) Method writeConfig.private void
writeConfigProperty
(ConfigProperty configProperty, String tagName, XMLStreamWriter serializer) Method writeConfigProperty.private void
writeSettingsSecurity
(SettingsSecurity settingsSecurity, String tagName, XMLStreamWriter serializer) Method writeSettingsSecurity.
-
Field Details
-
curId
private int curIdField curId. -
idMap
Field idMap.
-
-
Constructor Details
-
SecurityConfigurationStaxWriter
public SecurityConfigurationStaxWriter()
-
-
Method Details
-
write
public void write(Writer writer, SettingsSecurity settingsSecurity) throws IOException, XMLStreamException Method write.- Parameters:
writer
- a writer object.settingsSecurity
- a settingsSecurity object.- Throws:
IOException
- java.io.IOException if any.XMLStreamException
- XMLStreamException if any.
-
write
public void write(OutputStream stream, SettingsSecurity settingsSecurity) throws IOException, XMLStreamException Method write.- Parameters:
stream
- a stream object.settingsSecurity
- a settingsSecurity object.- Throws:
IOException
- java.io.IOException if any.XMLStreamException
- XMLStreamException if any.
-
writeConfig
private void writeConfig(Config config, String tagName, XMLStreamWriter serializer) throws IOException, XMLStreamException Method writeConfig.- Parameters:
config
- a config object.tagName
- a tagName object.serializer
- a serializer object.- Throws:
IOException
- java.io.IOException if any.XMLStreamException
- XMLStreamException if any.
-
writeConfigProperty
private void writeConfigProperty(ConfigProperty configProperty, String tagName, XMLStreamWriter serializer) throws IOException, XMLStreamException Method writeConfigProperty.- Parameters:
configProperty
- a configProperty object.tagName
- a tagName object.serializer
- a serializer object.- Throws:
IOException
- java.io.IOException if any.XMLStreamException
- XMLStreamException if any.
-
writeSettingsSecurity
private void writeSettingsSecurity(SettingsSecurity settingsSecurity, String tagName, XMLStreamWriter serializer) throws IOException, XMLStreamException Method writeSettingsSecurity.- Parameters:
settingsSecurity
- a settingsSecurity object.tagName
- a tagName object.serializer
- a serializer object.- Throws:
IOException
- java.io.IOException if any.XMLStreamException
- XMLStreamException if any.
-