Class XjcLogAdapter
- java.lang.Object
-
- com.sun.tools.xjc.XJCListener
-
- org.codehaus.mojo.jaxb2.javageneration.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 Summary
Constructors Constructor Description XjcLogAdapter(org.apache.maven.plugin.logging.Log log)
Creates an XjcLogAdapter which emits all XJC events onto the supplied Maven Log.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(SAXParseException exception)
void
fatalError(SAXParseException exception)
void
generatedFile(String fileName, int current, int total)
void
info(SAXParseException exception)
void
warning(SAXParseException exception)
-
-
-
Method Detail
-
generatedFile
public void generatedFile(String fileName, int current, int total)
- Overrides:
generatedFile
in classcom.sun.tools.xjc.XJCListener
-
error
public void error(SAXParseException exception)
-
fatalError
public void fatalError(SAXParseException exception)
-
warning
public void warning(SAXParseException exception)
-
info
public void info(SAXParseException exception)
-
-