Class DateSerializer

    • Constructor Summary

      Constructors 
      Constructor Description
      DateSerializer​(java.text.Format pFormat)
      Creates a new instance with the given formatter.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(org.xml.sax.ContentHandler pHandler, java.lang.Object pObject)
      Writes the object pObject to the SAX handler pHandler.
      • Methods inherited from class java.lang.Object

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

      • DATE_TAG

        public static final java.lang.String DATE_TAG
        Tag name of a date value.
        See Also:
        Constant Field Values
      • format

        private final java.text.Format format
    • Constructor Detail

      • DateSerializer

        public DateSerializer​(java.text.Format pFormat)
        Creates a new instance with the given formatter.
    • Method Detail

      • write

        public void write​(org.xml.sax.ContentHandler pHandler,
                          java.lang.Object pObject)
                   throws org.xml.sax.SAXException
        Description copied from interface: TypeSerializer
        Writes the object pObject to the SAX handler pHandler.
        Parameters:
        pHandler - The destination handler.
        pObject - The object being written.
        Throws:
        org.xml.sax.SAXException - Writing the object failed.