Class DecorationXpp3Writer
java.lang.Object
org.apache.maven.doxia.site.decoration.io.xpp3.DecorationXpp3Writer
Class DecorationXpp3Writer.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setFileComment
(String fileComment) Method setFileComment.void
write
(OutputStream stream, DecorationModel decorationModel) Method write.void
write
(Writer writer, DecorationModel decorationModel) Method write.private void
writeBanner
(Banner banner, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeBanner.private void
Method writeBody.private void
writeDecorationModel
(DecorationModel decorationModel, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeDecorationModel.private void
writeLinkItem
(LinkItem linkItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeLinkItem.private void
Method writeLogo.private void
Method writeMenu.private void
writeMenuItem
(MenuItem menuItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeMenuItem.private void
writePublishDate
(PublishDate publishDate, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writePublishDate.private void
Method writeSkin.private void
writeVersion
(Version version, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) Method writeVersion.
-
Field Details
-
NAMESPACE
Field NAMESPACE. -
fileComment
Field fileComment.
-
-
Constructor Details
-
DecorationXpp3Writer
public DecorationXpp3Writer()
-
-
Method Details
-
setFileComment
Method setFileComment.- Parameters:
fileComment
-
-
write
Method write.- Parameters:
writer
-decorationModel
-- Throws:
IOException
-
write
Method write.- Parameters:
stream
-decorationModel
-- Throws:
IOException
-
writeBanner
private void writeBanner(Banner banner, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBanner.- Parameters:
banner
-serializer
-tagName
-- Throws:
IOException
-
writeBody
private void writeBody(Body body, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeBody.- Parameters:
body
-serializer
-tagName
-- Throws:
IOException
-
writeDecorationModel
private void writeDecorationModel(DecorationModel decorationModel, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeDecorationModel.- Parameters:
decorationModel
-serializer
-tagName
-- Throws:
IOException
-
writeLinkItem
private void writeLinkItem(LinkItem linkItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeLinkItem.- Parameters:
linkItem
-serializer
-tagName
-- Throws:
IOException
-
writeLogo
private void writeLogo(Logo logo, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeLogo.- Parameters:
logo
-serializer
-tagName
-- Throws:
IOException
-
writeMenu
private void writeMenu(Menu menu, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeMenu.- Parameters:
menu
-serializer
-tagName
-- Throws:
IOException
-
writeMenuItem
private void writeMenuItem(MenuItem menuItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeMenuItem.- Parameters:
menuItem
-serializer
-tagName
-- Throws:
IOException
-
writePublishDate
private void writePublishDate(PublishDate publishDate, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writePublishDate.- Parameters:
publishDate
-serializer
-tagName
-- Throws:
IOException
-
writeSkin
private void writeSkin(Skin skin, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeSkin.- Parameters:
skin
-serializer
-tagName
-- Throws:
IOException
-
writeVersion
private void writeVersion(Version version, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException Method writeVersion.- Parameters:
version
-serializer
-tagName
-- Throws:
IOException
-