Class WsimportListener

    • Constructor Detail

      • WsimportListener

        public WsimportListener()
    • Method Detail

      • generatedFile

        public void generatedFile​(String fileName)
        Called for each file generated by wsimport or wsgen.

        The file name includes the path portions that correspond with the package name.

        When generating files into a directory, file names will be relative to the output directory.

        Parameters:
        fileName - file names like "org/acme/foo/Foo.java"
      • message

        public void message​(String msg)
        Other miscellenous messages that do not have structures will be reported through this method. This method is used like PrintStream.println(String). The callee is expected to add '\n'.
      • info

        public void info​(SAXParseException exception)
        Description copied from interface: ErrorListener
        Used to report possibly verbose information that can be safely ignored.
        Specified by:
        info in interface ErrorListener
        Specified by:
        info in interface com.sun.xml.bind.api.ErrorListener
      • isCanceled

        public boolean isCanceled()
        wsimport will periodically invoke this method to see if it should cancel a compilation.
        Returns:
        true if the WsimportListener wants to abort the processing.
        Since:
        2.1