Class DocumentXpp3Writer

java.lang.Object
org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Writer

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

    • NAMESPACE

      private static final String NAMESPACE
      Field NAMESPACE.
    • fileComment

      private String fileComment
      Field fileComment.
  • Constructor Details

    • DocumentXpp3Writer

      public DocumentXpp3Writer()
  • Method Details

    • setFileComment

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

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

      public void write(OutputStream stream, DocumentModel documentModel) throws IOException
      Method write.
      Parameters:
      stream - a stream object.
      documentModel - a documentModel object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentAuthor

      private void writeDocumentAuthor(DocumentAuthor documentAuthor, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentAuthor.
      Parameters:
      documentAuthor - a documentAuthor object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentCover

      private void writeDocumentCover(DocumentCover documentCover, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentCover.
      Parameters:
      documentCover - a documentCover object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentHyperlinkBehaviour

      private void writeDocumentHyperlinkBehaviour(DocumentHyperlinkBehaviour documentHyperlinkBehaviour, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentHyperlinkBehaviour.
      Parameters:
      documentHyperlinkBehaviour - a documentHyperlinkBehaviour object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentMeta

      private void writeDocumentMeta(DocumentMeta documentMeta, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentMeta.
      Parameters:
      documentMeta - a documentMeta object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentModel

      private void writeDocumentModel(DocumentModel documentModel, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentModel.
      Parameters:
      documentModel - a documentModel object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentStatistic

      private void writeDocumentStatistic(DocumentStatistic documentStatistic, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentStatistic.
      Parameters:
      documentStatistic - a documentStatistic object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentTOC

      private void writeDocumentTOC(DocumentTOC documentTOC, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentTOC.
      Parameters:
      documentTOC - a documentTOC object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentTOCItem

      private void writeDocumentTOCItem(DocumentTOCItem documentTOCItem, String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer) throws IOException
      Method writeDocumentTOCItem.
      Parameters:
      documentTOCItem - a documentTOCItem object.
      serializer - a serializer object.
      tagName - a tagName object.
      Throws:
      IOException - java.io.IOException if any.
    • writeDocumentTemplate

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