Class XjcLogAdapter

  • All Implemented Interfaces:
    com.sun.tools.xjc.api.ErrorListener, org.glassfish.jaxb.core.api.ErrorListener, ErrorHandler

    public class XjcLogAdapter
    extends com.sun.tools.xjc.XJCListener
    Adapter implementation emitting XJC events to a Maven Log.
    Since:
    2.0
    Author:
    Lennart Jörelid, jGuru Europe AB
    • Constructor Detail

      • XjcLogAdapter

        public XjcLogAdapter​(org.apache.maven.plugin.logging.Log log)
        Creates an XjcLogAdapter which emits all XJC events onto the supplied Maven Log.
        Parameters:
        log - A non-null Log logging all inbound XJC events.
    • Method Detail

      • generatedFile

        public void generatedFile​(String fileName,
                                  int current,
                                  int total)
        Overrides:
        generatedFile in class com.sun.tools.xjc.XJCListener