Class SupplementalDataModelXpp3Writer


  • public class SupplementalDataModelXpp3Writer
    extends java.lang.Object
    Class SupplementalDataModelXpp3Writer.
    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.
    • 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, SupplementalDataModel supplementalDataModel)
      Method write.
      void write​(java.io.Writer writer, SupplementalDataModel supplementalDataModel)
      Method write.
      private void writeSupplement​(Supplement supplement, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writeSupplement.
      private void writeSupplementalDataModel​(SupplementalDataModel supplementalDataModel, java.lang.String tagName, org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
      Method writeSupplementalDataModel.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • NAMESPACE

        private static final java.lang.String NAMESPACE
        Field NAMESPACE.
      • fileComment

        private java.lang.String fileComment
        Field fileComment.
    • Constructor Detail

      • SupplementalDataModelXpp3Writer

        public SupplementalDataModelXpp3Writer()
    • 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,
                          SupplementalDataModel supplementalDataModel)
                   throws java.io.IOException
        Method write.
        Parameters:
        writer - a writer object.
        supplementalDataModel - a supplementalDataModel object.
        Throws:
        java.io.IOException - java.io.IOException if any.
      • write

        public void write​(java.io.OutputStream stream,
                          SupplementalDataModel supplementalDataModel)
                   throws java.io.IOException
        Method write.
        Parameters:
        stream - a stream object.
        supplementalDataModel - a supplementalDataModel object.
        Throws:
        java.io.IOException - java.io.IOException if any.
      • writeSupplement

        private void writeSupplement​(Supplement supplement,
                                     java.lang.String tagName,
                                     org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                              throws java.io.IOException
        Method writeSupplement.
        Parameters:
        supplement - a supplement object.
        serializer - a serializer object.
        tagName - a tagName object.
        Throws:
        java.io.IOException - java.io.IOException if any.
      • writeSupplementalDataModel

        private void writeSupplementalDataModel​(SupplementalDataModel supplementalDataModel,
                                                java.lang.String tagName,
                                                org.codehaus.plexus.util.xml.pull.XmlSerializer serializer)
                                         throws java.io.IOException
        Method writeSupplementalDataModel.
        Parameters:
        supplementalDataModel - a supplementalDataModel object.
        serializer - a serializer object.
        tagName - a tagName object.
        Throws:
        java.io.IOException - java.io.IOException if any.