public class ArchetypeDescriptorXpp3Writer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fileComment
Field fileComment.
|
private static java.lang.String |
NAMESPACE
Field NAMESPACE.
|
Constructor and Description |
---|
ArchetypeDescriptorXpp3Writer() |
Modifier and Type | Method and Description |
---|---|
void |
setFileComment(java.lang.String fileComment)
Method setFileComment.
|
void |
write(java.io.OutputStream stream,
ArchetypeDescriptor archetypeDescriptor)
Method write.
|
void |
write(java.io.Writer writer,
ArchetypeDescriptor archetypeDescriptor)
Method write.
|
private void |
writeAbstractArchetypeDescriptor(AbstractArchetypeDescriptor abstractArchetypeDescriptor,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeAbstractArchetypeDescriptor.
|
private void |
writeArchetypeDescriptor(ArchetypeDescriptor archetypeDescriptor,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeArchetypeDescriptor.
|
private void |
writeFileSet(FileSet fileSet,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeFileSet.
|
private void |
writeModuleDescriptor(ModuleDescriptor moduleDescriptor,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeModuleDescriptor.
|
private void |
writeRequiredProperty(RequiredProperty requiredProperty,
java.lang.String tagName,
org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeRequiredProperty.
|
private static final java.lang.String NAMESPACE
private java.lang.String fileComment
public void setFileComment(java.lang.String fileComment)
fileComment
- public void write(java.io.Writer writer, ArchetypeDescriptor archetypeDescriptor) throws java.io.IOException
writer
- archetypeDescriptor
- java.io.IOException
public void write(java.io.OutputStream stream, ArchetypeDescriptor archetypeDescriptor) throws java.io.IOException
stream
- archetypeDescriptor
- java.io.IOException
private void writeAbstractArchetypeDescriptor(AbstractArchetypeDescriptor abstractArchetypeDescriptor, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
abstractArchetypeDescriptor
- serializer
- tagName
- java.io.IOException
private void writeArchetypeDescriptor(ArchetypeDescriptor archetypeDescriptor, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
archetypeDescriptor
- serializer
- tagName
- java.io.IOException
private void writeFileSet(FileSet fileSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
fileSet
- serializer
- tagName
- java.io.IOException
private void writeModuleDescriptor(ModuleDescriptor moduleDescriptor, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
moduleDescriptor
- serializer
- tagName
- java.io.IOException
private void writeRequiredProperty(RequiredProperty requiredProperty, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
requiredProperty
- serializer
- tagName
- java.io.IOException