Class ColorWriteHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      ColorWriteHandler()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.lang.String encodeColor​(java.awt.Color color)  
      private java.lang.String encodeInt​(int i)  
      void write​(java.lang.String tagName, java.lang.Object object, XMLWriter writer, java.lang.String mPlexAttribute, java.lang.String mPlexValue)
      Performs the writing of a Color object.
      • Methods inherited from class java.lang.Object

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

      • ColorWriteHandler

        public ColorWriteHandler()
        Default constructor.
    • Method Detail

      • write

        public void write​(java.lang.String tagName,
                          java.lang.Object object,
                          XMLWriter writer,
                          java.lang.String mPlexAttribute,
                          java.lang.String mPlexValue)
                   throws java.io.IOException,
                          XMLWriterException
        Performs the writing of a Color object.
        Parameters:
        tagName - the tag name.
        object - the Color object.
        writer - the writer.
        mPlexAttribute - ??.
        mPlexValue - ??.
        Throws:
        java.io.IOException - if there is an I/O error.
        XMLWriterException - if there is a writer error.
      • encodeColor

        private java.lang.String encodeColor​(java.awt.Color color)
      • encodeInt

        private java.lang.String encodeInt​(int i)