Class XmlDataExporter.PrettyPrintHandler

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler
    Enclosing class:
    XmlDataExporter

    public static class XmlDataExporter.PrettyPrintHandler
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Proxy to handle indenting the XML since javax.xml.stream.XMLStreamWriter doesn't support that.
    • Constructor Summary

      Constructors 
      Constructor Description
      PrettyPrintHandler​(javax.xml.stream.XMLStreamWriter target)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)  
      • Methods inherited from class java.lang.Object

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

      • PrettyPrintHandler

        public PrettyPrintHandler​(javax.xml.stream.XMLStreamWriter target)
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable