Class ConfigurationStaxWriter
- java.lang.Object
-
- org.fedoraproject.xmvn.config.io.stax.ConfigurationStaxWriter
-
public class ConfigurationStaxWriter extends java.lang.ObjectClass ConfigurationStaxWriter.- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ConfigurationStaxWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwrite(java.io.OutputStream stream, Configuration configuration)Method write.voidwrite(java.io.Writer writer, Configuration configuration)Method write.private voidwriteArtifact(Artifact artifact, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeArtifact.private voidwriteBuildSettings(BuildSettings buildSettings, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeBuildSettings.private voidwriteConfiguration(Configuration configuration, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeConfiguration.private voidwriteDom(org.w3c.dom.Element dom, javax.xml.stream.XMLStreamWriter serializer)Method writeDom.private voidwriteInstallerSettings(InstallerSettings installerSettings, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeInstallerSettings.private voidwritePackagingRule(PackagingRule packagingRule, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writePackagingRule.private voidwriteRepository(Repository repository, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeRepository.private voidwriteResolverSettings(ResolverSettings resolverSettings, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeResolverSettings.private voidwriteStereotype(Stereotype stereotype, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer)Method writeStereotype.
-
-
-
Method Detail
-
write
public void write(java.io.Writer writer, Configuration configuration) throws java.io.IOException, javax.xml.stream.XMLStreamExceptionMethod write.- Parameters:
writer-configuration-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
write
public void write(java.io.OutputStream stream, Configuration configuration) throws java.io.IOException, javax.xml.stream.XMLStreamExceptionMethod write.- Parameters:
stream-configuration-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeArtifact
private void writeArtifact(Artifact artifact, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeArtifact.- Parameters:
artifact-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeBuildSettings
private void writeBuildSettings(BuildSettings buildSettings, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeBuildSettings.- Parameters:
buildSettings-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeConfiguration
private void writeConfiguration(Configuration configuration, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeConfiguration.- Parameters:
configuration-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeDom
private void writeDom(org.w3c.dom.Element dom, javax.xml.stream.XMLStreamWriter serializer) throws javax.xml.stream.XMLStreamExceptionMethod writeDom.- Parameters:
dom-serializer-- Throws:
javax.xml.stream.XMLStreamException
-
writeInstallerSettings
private void writeInstallerSettings(InstallerSettings installerSettings, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeInstallerSettings.- Parameters:
installerSettings-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writePackagingRule
private void writePackagingRule(PackagingRule packagingRule, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writePackagingRule.- Parameters:
packagingRule-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeRepository
private void writeRepository(Repository repository, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeRepository.- Parameters:
repository-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeResolverSettings
private void writeResolverSettings(ResolverSettings resolverSettings, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeResolverSettings.- Parameters:
resolverSettings-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
writeStereotype
private void writeStereotype(Stereotype stereotype, java.lang.String tagName, javax.xml.stream.XMLStreamWriter serializer) throws java.io.IOException, javax.xml.stream.XMLStreamException
Method writeStereotype.- Parameters:
stereotype-serializer-tagName-- Throws:
java.io.IOExceptionjavax.xml.stream.XMLStreamException
-
-