Class DecorationXpp3Writer

java.lang.Object
org.apache.maven.doxia.site.decoration.io.xpp3.DecorationXpp3Writer

public class DecorationXpp3Writer extends Object
Class DecorationXpp3Writer.
Version:
$Revision$ $Date$
  • Field Details

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • DecorationXpp3Writer

      public DecorationXpp3Writer()
  • Method Details

    • setFileComment

      public void setFileComment(String fileComment)
      Method setFileComment.
      Parameters:
      fileComment - a fileComment object.
    • write

      public void write(Writer writer, DecorationModel decorationModel) throws IOException
      Method write.
      Parameters:
      writer - a writer object.
      decorationModel - a decorationModel object.
      Throws:
      IOException - java.io.IOException if any.
    • write

      public void write(OutputStream stream, DecorationModel decorationModel) throws IOException
      Method write.
      Parameters:
      stream - a stream object.
      decorationModel - a decorationModel object.
      Throws:
      IOException - java.io.IOException if any.
    • writeBanner

      private void writeBanner(Banner banner, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeBanner.
      Parameters:
      banner - a banner object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeBody

      private void writeBody(Body body, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeBody.
      Parameters:
      body - a body object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDecorationModel

      private void writeDecorationModel(DecorationModel decorationModel, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDecorationModel.
      Parameters:
      decorationModel - a decorationModel object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeLinkItem

      private void writeLinkItem(LinkItem linkItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeLinkItem.
      Parameters:
      linkItem - a linkItem object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeLogo

      private void writeLogo(Logo logo, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeLogo.
      Parameters:
      logo - a logo object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeMenu

      private void writeMenu(Menu menu, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeMenu.
      Parameters:
      menu - a menu object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeMenuItem

      private void writeMenuItem(MenuItem menuItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeMenuItem.
      Parameters:
      menuItem - a menuItem object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writePublishDate

      private void writePublishDate(PublishDate publishDate, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writePublishDate.
      Parameters:
      publishDate - a publishDate object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeSkin

      private void writeSkin(Skin skin, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeSkin.
      Parameters:
      skin - a skin object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.
    • writeVersion

      private void writeVersion(Version version, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeVersion.
      Parameters:
      version - a version object.
      tagName - a tagName object.
      serializer - a serializer object.
      Throws:
      IOException - java.io.IOException if any.