public class DefaultComponentDescriptorWriter extends java.lang.Object implements ComponentDescriptorWriter
ComponentSetDescriptor.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
LS |
| Constructor and Description |
|---|
DefaultComponentDescriptorWriter() |
| Modifier and Type | Method and Description |
|---|---|
private void |
element(org.codehaus.plexus.util.xml.XMLWriter w,
java.lang.String name,
java.lang.String value) |
private void |
writeComponents(org.codehaus.plexus.util.xml.XMLWriter w,
java.util.List<ComponentDescriptor<?>> componentDescriptors) |
private void |
writeConfiguration(org.codehaus.plexus.util.xml.XMLWriter w,
PlexusConfiguration configuration) |
void |
writeDependencies(org.codehaus.plexus.util.xml.XMLWriter w,
java.util.List<ComponentDependency> deps) |
private void |
writeDependencyElement(ComponentDependency dependency,
org.codehaus.plexus.util.xml.XMLWriter w) |
void |
writeDescriptorSet(java.io.Writer writer,
ComponentSetDescriptor componentSetDescriptor,
boolean containerDescriptor) |
private void |
writePlexusConfiguration(org.codehaus.plexus.util.xml.XMLWriter xmlWriter,
PlexusConfiguration c) |
private void |
writeRequirements(org.codehaus.plexus.util.xml.XMLWriter w,
java.util.List<ComponentRequirement> requirements) |
public void writeDescriptorSet(java.io.Writer writer,
ComponentSetDescriptor componentSetDescriptor,
boolean containerDescriptor)
throws ComponentDescriptorWriteException,
java.io.IOException
writeDescriptorSet in interface ComponentDescriptorWriterComponentDescriptorWriteExceptionjava.io.IOExceptionprivate void writeComponents(org.codehaus.plexus.util.xml.XMLWriter w,
java.util.List<ComponentDescriptor<?>> componentDescriptors)
throws ComponentDescriptorWriteException,
PlexusConfigurationException
public void writeDependencies(org.codehaus.plexus.util.xml.XMLWriter w,
java.util.List<ComponentDependency> deps)
private void writeDependencyElement(ComponentDependency dependency, org.codehaus.plexus.util.xml.XMLWriter w)
private void writeRequirements(org.codehaus.plexus.util.xml.XMLWriter w,
java.util.List<ComponentRequirement> requirements)
private void writeConfiguration(org.codehaus.plexus.util.xml.XMLWriter w,
PlexusConfiguration configuration)
throws ComponentDescriptorWriteException,
PlexusConfigurationException
private void writePlexusConfiguration(org.codehaus.plexus.util.xml.XMLWriter xmlWriter,
PlexusConfiguration c)
throws PlexusConfigurationException
PlexusConfigurationExceptionprivate void element(org.codehaus.plexus.util.xml.XMLWriter w,
java.lang.String name,
java.lang.String value)