Class FileSetXpp3Writer
- java.lang.Object
-
- org.apache.maven.shared.model.fileset.io.xpp3.FileSetXpp3Writer
-
public class FileSetXpp3Writer extends java.lang.Object
Class FileSetXpp3Writer.- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
fileComment
Field fileComment.private static java.lang.String
NAMESPACE
Field NAMESPACE.
-
Constructor Summary
Constructors Constructor Description FileSetXpp3Writer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setFileComment(java.lang.String fileComment)
Method setFileComment.void
write(java.io.OutputStream stream, FileSet fileSet)
Method write.void
write(java.io.Writer writer, FileSet fileSet)
Method write.private void
writeFileSet(FileSet fileSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeFileSet.private void
writeMapper(Mapper mapper, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeMapper.private void
writeSetBase(SetBase setBase, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
Method writeSetBase.
-
-
-
Method Detail
-
setFileComment
public void setFileComment(java.lang.String fileComment)
Method setFileComment.- Parameters:
fileComment
- a fileComment object.
-
write
public void write(java.io.Writer writer, FileSet fileSet) throws java.io.IOException
Method write.- Parameters:
writer
- a writer object.fileSet
- a fileSet object.- Throws:
java.io.IOException
- java.io.IOException if any.
-
write
public void write(java.io.OutputStream stream, FileSet fileSet) throws java.io.IOException
Method write.- Parameters:
stream
- a stream object.fileSet
- a fileSet object.- Throws:
java.io.IOException
- java.io.IOException if any.
-
writeFileSet
private void writeFileSet(FileSet fileSet, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeFileSet.- Parameters:
fileSet
- a fileSet object.serializer
- a serializer object.tagName
- a tagName object.- Throws:
java.io.IOException
- java.io.IOException if any.
-
writeMapper
private void writeMapper(Mapper mapper, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeMapper.- Parameters:
mapper
- a mapper object.serializer
- a serializer object.tagName
- a tagName object.- Throws:
java.io.IOException
- java.io.IOException if any.
-
writeSetBase
private void writeSetBase(SetBase setBase, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws java.io.IOException
Method writeSetBase.- Parameters:
setBase
- a setBase object.serializer
- a serializer object.tagName
- a tagName object.- Throws:
java.io.IOException
- java.io.IOException if any.
-
-