You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2016/11/13 16:08:26 UTC
svn commit: r1769510 [1/8] - in /uima/uimaj/branches/experiment-v3-jcas:
uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/
uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/
uimaj-component-test-util/src/main/java/org/ap...
Author: schor
Date: Sun Nov 13 16:08:24 2016
New Revision: 1769510
URL: http://svn.apache.org/viewvc?rev=1769510&view=rev
Log:
[UIMA-5172] javadoc improvements so they pass lint checking on Java 8. Also added some @Overrides
Removed:
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcas/
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/DecompiledFilter.java
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineServiceStub.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineService_impl.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceManager.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceStub.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializerFactory.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializerFactory.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/SoapAnalysisEngineServiceAdapter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializerFactory.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializerFactory.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinaryDeserializer_Axis11.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinarySerializer_Axis11.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlDeserializer_Axis11.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlSerializer_Axis11.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotationWriter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorPerformanceTester.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorTester.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/PerformanceTestResult.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/PerformanceTestResultImpl.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/AnnotationFeaturesViewer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/AnnotationViewerMain.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/RunAE.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/ValidateDescriptor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/annot_view/Gladis.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/AnalysisEnginePanel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/ConfigField.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/ConsumerPanel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/CpmFrame.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/CpmPanel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/ElapsedTimeFormatter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/JTabbedPaneWithCloseIcons.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/MetaDataPanel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/PerformanceReportDialog.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cpm/TabClosedListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/AnnotationDisplayCustomizationFrame.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/AnnotationExtent.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/ArrayNode.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/AutoFoldingMenu.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/CVD.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/ColorIcon.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSTreeModel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSTreeNode.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/IndexTreeNode.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/LogFileViewer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MainFrame.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MarkupExtent.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MultiAnnotViewerFrame.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/MultiMarkup.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/RecentFilesList.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/StringFsPopupEventAdapter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/TypeTreeNode.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AboutHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AboutUimaHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AddLanguageHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AnnotatorOpenEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AnnotatorRerunEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AnnotatorRunCPCEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/AnnotatorRunOnCasEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/CaretChangeHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/CloseAnnotationViewHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/CloseLogViewHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/CloseTypeSystemHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/ColorPrefsOpenHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/ColorPrefsSaveHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FSTreeSelectionListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FileOpenEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FileSaveAsEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FileSaveEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FocusFSAction.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FocusIRAction.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/FocusTextAction.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/HelpHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/IndexPopupListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/IndexTreeSelectionListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/LoadRecentDescFileEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/LoadRecentTextFileEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/MainFrameClosing.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/ManualHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/NewTextEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/PopupHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/PopupListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/RemoveLanguageHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/RestoreLangDefaultsHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/SetCodePageHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/SetDataPathHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/SetLanguageHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/SetLogConfigHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/ShowAnnotatedTextHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/ShowAnnotationCustomizerHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/ShowTypesystemHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/SofaSelectionListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/SystemExitHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/TextChangedListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/TextContextMenuAction.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/TextFocusHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/TreeFocusHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/TypeSystemFileOpenEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/UndoMgr.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/XCASFileOpenEventHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/XCASSaveHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/XCASSaveTSHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/XmiCasFileOpenHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/control/XmiCasSaveHandler.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/tsview/FeatureTableModel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/tsview/MainFrame.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/AnnotationViewerDialog.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/DocumentAnalyzer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/FileSelector.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/FileSelectorListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/PrefsMediator.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/TfDocumentListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/TfFileSelectorListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/docanalyzer/TfFocusListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/GUI.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/GuiErrorImpl.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/GuiProgressMonitor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/IError.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/IMerge.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/IProgressMonitor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/JCasTypeTemplate.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/Jg.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/LogThrowErrorImpl.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/Prefs.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/TypeInfo.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/UimaLoggerProgressMonitor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/jcasgen/Waiter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/pear/install/InstallPear.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/pear/install/InstallPearCli.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/AnTreeListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/AnnotationFeaturesViewer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/ColorEditor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/ColorParser.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/ColorRenderer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/LabelCellEditor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/MyCellRenderer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/StyleConstants.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/StyleMapEditor.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/StyleMapEntry.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/StyleMapTable.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/StyleMapTableModel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/StyleMapXmlParser.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/TableDropAdapter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/TableGUIMediator.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/stylemap/TableSelectionListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/AboutDialog.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/Caption.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/FileChooserBugWorkarounds.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/FileSelector.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/FileSelectorListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/FormPanel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/ImageButton.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/IntegerField.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/ListSelector.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/SliderField.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/SpringUtilities.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/TransportControlListener.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/TransportControlPanel.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/gui/XMLFileFilter.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/util/htmlview/AnnotationViewGenerator.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/viewer/CasAnnotationViewer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/viewer/CasAnnotationViewerApplet.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/viewer/CasTreeViewer.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/viewer/CasTreeViewerApplet.java
uima/uimaj/branches/experiment-v3-jcas/uimaj-tools/src/main/java/org/apache/uima/tools/viewer/EntityResolver.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineServiceStub.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineServiceStub.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineServiceStub.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineServiceStub.java Sun Nov 13 16:08:24 2016
@@ -34,15 +34,14 @@ import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.uima.analysis_engine.AnalysisEngineServiceStub;
import org.apache.uima.analysis_engine.ResultSpecification;
-import org.apache.uima.analysis_engine.metadata.AnalysisEngineMetaData;
import org.apache.uima.analysis_engine.service.impl.AnalysisEngineService_impl;
import org.apache.uima.analysis_engine.service.impl.ServiceDataCargo;
import org.apache.uima.cas.CAS;
import org.apache.uima.cas.CASException;
import org.apache.uima.resource.ResourceServiceException;
import org.apache.uima.resource.ResourceServiceStub;
-import org.apache.uima.resource.metadata.ResourceMetaData;
+// TODO: Auto-generated Javadoc
/**
* Proxy to an {@link AnalysisEngineService_impl} that makes use of Axis SOAP to communicate with the
* service.
@@ -52,9 +51,7 @@ import org.apache.uima.resource.metadata
public class AxisAnalysisEngineServiceStub extends AxisResourceServiceStub implements
AnalysisEngineServiceStub {
- /**
- * Whether attachments should be used to send binary-serialized data
- */
+ /** Whether attachments should be used to send binary-serialized data. */
private boolean mUseAttachments;
/**
@@ -93,8 +90,13 @@ public class AxisAnalysisEngineServiceSt
}
/**
+ * Call process.
+ *
+ * @param aCAS the a CAS
+ * @throws ResourceServiceException the resource service exception
* @see AnalysisEngineServiceStub#callProcess(CAS)
*/
+ @Override
public void callProcess(CAS aCAS) throws ResourceServiceException {
final QName operationQName = new QName("http://uima.apache.org/analysis_engine", "process");
final QName resultSpecTypeQName = new QName("http://uima.apache.org/analysis_engine",
@@ -169,16 +171,27 @@ public class AxisAnalysisEngineServiceSt
}
/**
+ * Destroy.
+ *
* @see ResourceServiceStub#destroy()
*/
+ @Override
public void destroy() {
// no resources to clean up
}
+ /* (non-Javadoc)
+ * @see org.apache.uima.analysis_engine.AnalysisEngineServiceStub#callBatchProcessComplete()
+ */
+ @Override
public void callBatchProcessComplete() throws ResourceServiceException {
// currently not implemented for SOAP services
}
+ /* (non-Javadoc)
+ * @see org.apache.uima.analysis_engine.AnalysisEngineServiceStub#callCollectionProcessComplete()
+ */
+ @Override
public void callCollectionProcessComplete() throws ResourceServiceException {
// currently not implemented for SOAP services
}
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineService_impl.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineService_impl.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineService_impl.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisAnalysisEngineService_impl.java Sun Nov 13 16:08:24 2016
@@ -28,6 +28,7 @@ import org.apache.uima.resource.Resource
import org.apache.uima.resource.metadata.ResourceMetaData;
import org.apache.uima.util.Level;
+// TODO: Auto-generated Javadoc
/**
* A class used to deploy a {@link AnalysisEngineService_impl} as an Axis (SOAP) service.
*/
@@ -39,6 +40,8 @@ public class AxisAnalysisEngineService_i
/**
* Constructor, responsible for initializing the service.
+ *
+ * @throws AxisFault the axis fault
*/
public AxisAnalysisEngineService_impl() throws AxisFault {
mServiceImpl = (AnalysisEngineService_impl) AxisResourceServiceManager
@@ -47,8 +50,9 @@ public class AxisAnalysisEngineService_i
/**
* Gets metadata for this Resource service.
- *
+ *
* @return metadata
+ * @throws ResourceServiceException the resource service exception
*/
public ResourceMetaData getMetaData() throws ResourceServiceException {
try {
@@ -64,13 +68,11 @@ public class AxisAnalysisEngineService_i
/**
* Processes an entity.
- *
- * @param aData
- * data to be processed
- * @param aResultSpec
- * specifies which results the Analysis Engine should produce
- *
+ *
+ * @param aData data to be processed
+ * @param aResultSpec specifies which results the Analysis Engine should produce
* @return the results of analysis
+ * @throws ResourceServiceException the resource service exception
*/
public ServiceDataCargo process(ServiceDataCargo aData, ResultSpecification aResultSpec)
throws ResourceServiceException {
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceManager.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceManager.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceManager.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceManager.java Sun Nov 13 16:08:24 2016
@@ -34,6 +34,7 @@ import org.apache.uima.util.Level;
import org.apache.uima.util.Logger;
import org.apache.uima.util.XMLInputSource;
+// TODO: Auto-generated Javadoc
/**
* Utility class for deploying Resources as Axis (SOAP) services. This class mantains a map between
* Axis service names and the {@link ResourceService_impl} classes that provide the implementation
@@ -82,12 +83,11 @@ public class AxisResourceServiceManager
* {@link ResourceService_impl} object already exists for that service name, that object will be
* returned. Otherwise, a new <code>ResourceService_impl</code> object will be created from the
* information in the MessageContext.
- *
- * @param aServiceImplClass
- * the class that will be instantiated when a new <code>ResourceService_impl</code> is
+ *
+ * @param aServiceImplClass the class that will be instantiated when a new <code>ResourceService_impl</code> is
* to be created. This must be a subclass of ResourceService_impl.
- * @throws AxisFault
- * if the configuration information could not be read
+ * @return the service impl
+ * @throws AxisFault if the configuration information could not be read
*/
public static ResourceService_impl getServiceImpl(Class aServiceImplClass) throws AxisFault {
try {
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceStub.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceStub.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceStub.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/AxisResourceServiceStub.java Sun Nov 13 16:08:24 2016
@@ -32,6 +32,7 @@ import org.apache.uima.resource.Resource
import org.apache.uima.resource.metadata.ResourceMetaData;
import org.apache.uima.resource.service.impl.ResourceService_impl;
+// TODO: Auto-generated Javadoc
/**
* Proxy to a {@link ResourceService_impl} that uses Axis SOAP to communicate with the service.
*
@@ -66,8 +67,13 @@ public abstract class AxisResourceServic
}
/**
+ * Call get meta data.
+ *
+ * @return the resource meta data
+ * @throws ResourceServiceException the resource service exception
* @see ResourceService_impl#getMetaData()
*/
+ @Override
public ResourceMetaData callGetMetaData() throws ResourceServiceException {
final QName operationQName = new QName("http://uima.apache.org/resource", "getMetaData");
final QName resourceMetaDataTypeQName = new QName("http://uima.apache.org/resourceSpecifier",
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializer.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializer.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializer.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializer.java Sun Nov 13 16:08:24 2016
@@ -38,6 +38,7 @@ import org.apache.uima.internal.util.Ser
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
+// TODO: Auto-generated Javadoc
/**
* An Axis deserializer for {@link Serializable} objects. The serialized bytes are Base-64 encoded
* for transport via SOAP.
@@ -46,10 +47,16 @@ import org.xml.sax.SAXException;
*/
public class BinaryDeserializer extends DeserializerImpl {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = 1351090281481173811L;
+ /** The buf. */
private StringBuffer buf = new StringBuffer();
+ /* (non-Javadoc)
+ * @see org.apache.axis.encoding.DeserializerImpl#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, org.apache.axis.encoding.DeserializationContext)
+ */
+ @Override
public void startElement(String namespace, String localName, String prefix,
Attributes attributes, DeserializationContext context) throws SAXException {
@@ -116,17 +123,33 @@ public class BinaryDeserializer extends
}
/**
+ * On start element.
+ *
+ * @param namespace the namespace
+ * @param localName the local name
+ * @param prefix the prefix
+ * @param attributes the attributes
+ * @param context the context
+ * @throws SAXException the SAX exception
* @see org.apache.axis.message.SOAPHandler#onStartChild(String, String, String, Attributes, DeserializationContext)
*/
+ @Override
public void onStartElement(String namespace, String localName, String prefix,
Attributes attributes, DeserializationContext context) throws SAXException {
buf.setLength(0);
}
/**
+ * On end element.
+ *
+ * @param arg0 the arg 0
+ * @param arg1 the arg 1
+ * @param arg2 the arg 2
+ * @throws SAXException the SAX exception
* @see org.apache.axis.encoding.Deserializer#onEndElement(java.lang.String, java.lang.String,
* org.apache.axis.encoding.DeserializationContext)
*/
+ @Override
public void onEndElement(String arg0, String arg1, DeserializationContext arg2)
throws SAXException {
try {
@@ -149,8 +172,15 @@ public class BinaryDeserializer extends
}
/**
+ * Characters.
+ *
+ * @param ch the ch
+ * @param start the start
+ * @param length the length
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
+ @Override
public void characters(char[] ch, int start, int length) throws SAXException {
// System.out.println("characters(" + new String(ch,start,length) + ")");
buf.append(ch, start, length);
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializerFactory.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializerFactory.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializerFactory.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinaryDeserializerFactory.java Sun Nov 13 16:08:24 2016
@@ -27,6 +27,7 @@ import org.apache.axis.Version;
import org.apache.axis.encoding.DeserializerFactory;
import org.apache.uima.adapter.soap.axis11.BinaryDeserializer_Axis11;
+// TODO: Auto-generated Javadoc
/**
* An Axis deserializer factory that constructs instances of {@link BinaryDeserializer}.
*
@@ -34,10 +35,16 @@ import org.apache.uima.adapter.soap.axis
*/
public class BinaryDeserializerFactory implements DeserializerFactory {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = 9029965561439924991L;
+ /** The mechanisms. */
private Vector mechanisms;
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.DeserializerFactory#getDeserializerAs(java.lang.String)
+ */
+ @Override
public javax.xml.rpc.encoding.Deserializer getDeserializerAs(String mechanismType) {
// There is a binary incompatibility between Axis v1.1 and
// Axis v1.2 in the serializer/deserializer libraries.
@@ -52,6 +59,10 @@ public class BinaryDeserializerFactory i
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.DeserializerFactory#getSupportedMechanismTypes()
+ */
+ @Override
public Iterator getSupportedMechanismTypes() {
if (mechanisms == null) {
mechanisms = new Vector();
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializer.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializer.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializer.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializer.java Sun Nov 13 16:08:24 2016
@@ -41,6 +41,7 @@ import org.w3c.dom.Element;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.AttributesImpl;
+// TODO: Auto-generated Javadoc
/**
* An Axis serializer for {@link Serializable} objects. The serialized bytes are Base-64 encoded for
* transport via SOAP.
@@ -49,33 +50,38 @@ import org.xml.sax.helpers.AttributesImp
*/
public class BinarySerializer implements Serializer {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = 939554603678974912L;
- /**
- * Whether attachments should be used to send binary-serialized data
- */
+ /** Whether attachments should be used to send binary-serialized data. */
private boolean mUseAttachments;
+ /**
+ * Instantiates a new binary serializer.
+ */
public BinarySerializer() {
this(true);
}
+ /**
+ * Instantiates a new binary serializer.
+ *
+ * @param aUseAttachments the a use attachments
+ */
public BinarySerializer(boolean aUseAttachments) {
mUseAttachments = aUseAttachments;
}
/**
* Serialize an element named name, with the indicated attributes and value.
- *
- * @param name
- * is the element name
- * @param attributes
- * are the attributes...serializer is free to add more.
- * @param value
- * is the value
- * @param context
- * is the SerializationContext
+ *
+ * @param name is the element name
+ * @param attributes are the attributes...serializer is free to add more.
+ * @param value is the value
+ * @param context is the SerializationContext
+ * @throws IOException Signals that an I/O exception has occurred.
*/
+ @Override
public void serialize(QName name, Attributes attributes, Object value,
SerializationContext context) throws IOException {
if (value instanceof Serializable) {
@@ -129,14 +135,25 @@ public class BinarySerializer implements
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.Serializer#getMechanismType()
+ */
+ @Override
public String getMechanismType() {
return Constants.AXIS_SAX;
}
/**
+ * Write schema.
+ *
+ * @param javaType the java type
+ * @param types the types
+ * @return the element
+ * @throws Exception the exception
* @see org.apache.axis.encoding.Serializer#writeSchema(java.lang.Class,
* org.apache.axis.wsdl.fromJava.Types)
*/
+ @Override
public Element writeSchema(Class javaType, Types types) throws Exception {
return null;
}
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializerFactory.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializerFactory.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializerFactory.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/BinarySerializerFactory.java Sun Nov 13 16:08:24 2016
@@ -29,6 +29,7 @@ import org.apache.axis.Version;
import org.apache.axis.encoding.SerializerFactory;
import org.apache.uima.adapter.soap.axis11.BinarySerializer_Axis11;
+// TODO: Auto-generated Javadoc
/**
* An Axis serializer factory that constructs instances of {@link BinarySerializer}.
*
@@ -36,18 +37,32 @@ import org.apache.uima.adapter.soap.axis
*/
public class BinarySerializerFactory implements SerializerFactory {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = 2914831356701203129L;
+ /** The mechanisms. */
private Vector mechanisms;
+ /**
+ * Instantiates a new binary serializer factory.
+ */
public BinarySerializerFactory() {
this(true);
}
+ /**
+ * Instantiates a new binary serializer factory.
+ *
+ * @param aUseAttachments the a use attachments
+ */
public BinarySerializerFactory(boolean aUseAttachments) {
// TODO: attachments never used?
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.SerializerFactory#getSerializerAs(java.lang.String)
+ */
+ @Override
public Serializer getSerializerAs(String mechanismType) {
// There is a binary incompatibility between Axis v1.1 and
// Axis v1.2 in the serializer/deserializer libraries.
@@ -62,6 +77,10 @@ public class BinarySerializerFactory imp
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.SerializerFactory#getSupportedMechanismTypes()
+ */
+ @Override
public Iterator getSupportedMechanismTypes() {
if (mechanisms == null) {
mechanisms = new Vector();
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/SoapAnalysisEngineServiceAdapter.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/SoapAnalysisEngineServiceAdapter.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/SoapAnalysisEngineServiceAdapter.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/SoapAnalysisEngineServiceAdapter.java Sun Nov 13 16:08:24 2016
@@ -29,6 +29,7 @@ import org.apache.uima.resource.Resource
import org.apache.uima.resource.ResourceSpecifier;
import org.apache.uima.resource.URISpecifier;
+// TODO: Auto-generated Javadoc
/**
* Reference implementation of {@link AnalysisEngineServiceAdapter} for SOAP.
*
@@ -37,8 +38,15 @@ import org.apache.uima.resource.URISpeci
public class SoapAnalysisEngineServiceAdapter extends AnalysisEngineServiceAdapter {
/**
+ * Initialize.
+ *
+ * @param aSpecifier the a specifier
+ * @param aAdditionalParams the a additional params
+ * @return true, if successful
+ * @throws ResourceInitializationException the resource initialization exception
* @see org.apache.uima.resource.Resource#initialize(ResourceSpecifier, Map)
*/
+ @Override
public boolean initialize(ResourceSpecifier aSpecifier, Map aAdditionalParams)
throws ResourceInitializationException {
// aSpecifier must be a URISpecifier using the SOAP protocol
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializer.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializer.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializer.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializer.java Sun Nov 13 16:08:24 2016
@@ -33,6 +33,7 @@ import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.LocatorImpl;
+// TODO: Auto-generated Javadoc
/**
* An Axis deserializer for any {@link XMLizable} object.
*
@@ -40,12 +41,18 @@ import org.xml.sax.helpers.LocatorImpl;
*/
public class XmlDeserializer extends DeserializerImpl {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = -2178663551643071383L;
+ /** The m deser. */
private SaxDeserializer_impl mDeser;
+ /** The m nesting. */
private int mNesting;
+ /**
+ * Instantiates a new xml deserializer.
+ */
public XmlDeserializer() {
try {
mNesting = 0;
@@ -62,26 +69,33 @@ public class XmlDeserializer extends Des
/**
* This method is invoked when an element start tag is encountered.
- *
- * @param namespace
- * is the namespace of the element
- * @param localName
- * is the name of the element
- * @param prefix
- * is the element's prefix
- * @param attributes
- * are the attributes on the element...used to get the type
- * @param context
- * is the DeserializationContext
+ *
+ * @param namespace is the namespace of the element
+ * @param localName is the name of the element
+ * @param prefix is the element's prefix
+ * @param attributes are the attributes on the element...used to get the type
+ * @param context is the DeserializationContext
+ * @return the SOAP handler
+ * @throws SAXException the SAX exception
*/
+ @Override
public SOAPHandler onStartChild(String namespace, String localName, String prefix,
Attributes attributes, DeserializationContext context) throws SAXException {
return this;
}
/**
+ * On start element.
+ *
+ * @param arg0 the arg 0
+ * @param arg1 the arg 1
+ * @param arg2 the arg 2
+ * @param arg3 the arg 3
+ * @param arg4 the arg 4
+ * @throws SAXException the SAX exception
* @see org.apache.axis.message.SOAPHandler#onStartChild(String, String, String, Attributes, DeserializationContext)
*/
+ @Override
public void onStartElement(String arg0, String arg1, String arg2, Attributes arg3,
DeserializationContext arg4) throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::onStartElement(" + arg0 + "," + arg1 +
@@ -96,8 +110,15 @@ public class XmlDeserializer extends Des
}
/**
+ * Characters.
+ *
+ * @param ch the ch
+ * @param start the start
+ * @param length the length
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
+ @Override
public void characters(char[] ch, int start, int length) throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::characters(" + new
// String(ch,start,length) + ")");
@@ -105,9 +126,16 @@ public class XmlDeserializer extends Des
}
/**
+ * On end element.
+ *
+ * @param arg0 the arg 0
+ * @param arg1 the arg 1
+ * @param arg2 the arg 2
+ * @throws SAXException the SAX exception
* @see org.apache.axis.encoding.Deserializer#onEndElement(java.lang.String, java.lang.String,
* org.apache.axis.encoding.DeserializationContext)
*/
+ @Override
public void onEndElement(String arg0, String arg1, DeserializationContext arg2)
throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::onEndElement(" + arg0 + "," + arg1);
@@ -119,8 +147,12 @@ public class XmlDeserializer extends Des
}
/**
+ * Value complete.
+ *
+ * @throws SAXException the SAX exception
* @see org.apache.axis.encoding.Deserializer#valueComplete()
*/
+ @Override
public void valueComplete() throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::valueComplete");
if (mNesting == 0) {
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializerFactory.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializerFactory.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializerFactory.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlDeserializerFactory.java Sun Nov 13 16:08:24 2016
@@ -27,6 +27,7 @@ import org.apache.axis.Version;
import org.apache.axis.encoding.DeserializerFactory;
import org.apache.uima.adapter.soap.axis11.XmlDeserializer_Axis11;
+// TODO: Auto-generated Javadoc
/**
* An Axis deserializer factory that constructs instances of {@link XmlDeserializer}.
*
@@ -34,10 +35,16 @@ import org.apache.uima.adapter.soap.axis
*/
public class XmlDeserializerFactory implements DeserializerFactory {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = -414711394032045305L;
+ /** The mechanisms. */
private Vector mechanisms;
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.DeserializerFactory#getDeserializerAs(java.lang.String)
+ */
+ @Override
public javax.xml.rpc.encoding.Deserializer getDeserializerAs(String mechanismType) {
// There is a binary incompatibility between Axis v1.1 and
// Axis v1.2 in the serializer/deserializer libraries.
@@ -52,6 +59,10 @@ public class XmlDeserializerFactory impl
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.DeserializerFactory#getSupportedMechanismTypes()
+ */
+ @Override
public Iterator getSupportedMechanismTypes() {
if (mechanisms == null) {
mechanisms = new Vector();
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializer.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializer.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializer.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializer.java Sun Nov 13 16:08:24 2016
@@ -33,6 +33,7 @@ import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
+// TODO: Auto-generated Javadoc
/**
* An Axis serializer for any {@link XMLizable} object.
*
@@ -40,20 +41,19 @@ import org.xml.sax.helpers.DefaultHandle
*/
public class XmlSerializer implements Serializer {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = 1674801848276745835L;
/**
* Serialize an element named name, with the indicated attributes and value.
- *
- * @param name
- * is the element name
- * @param attributes
- * are the attributes...serializer is free to add more.
- * @param value
- * is the value
- * @param context
- * is the SerializationContext
+ *
+ * @param name is the element name
+ * @param attributes are the attributes...serializer is free to add more.
+ * @param value is the value
+ * @param context is the SerializationContext
+ * @throws IOException Signals that an I/O exception has occurred.
*/
+ @Override
public void serialize(QName name, Attributes attributes, Object value,
SerializationContext context) throws IOException {
if (value instanceof XMLizable) {
@@ -73,14 +73,25 @@ public class XmlSerializer implements Se
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.Serializer#getMechanismType()
+ */
+ @Override
public String getMechanismType() {
return Constants.AXIS_SAX;
}
/**
+ * Write schema.
+ *
+ * @param javaType the java type
+ * @param types the types
+ * @return the element
+ * @throws Exception the exception
* @see org.apache.axis.encoding.Serializer#writeSchema(java.lang.Class,
* org.apache.axis.wsdl.fromJava.Types)
*/
+ @Override
public Element writeSchema(Class javaType, Types types) throws Exception {
return null;
}
@@ -92,15 +103,29 @@ public class XmlSerializer implements Se
*
*/
static class SerializerContentHandler extends DefaultHandler {
+
+ /** The m context. */
private SerializationContext mContext;
+ /**
+ * Instantiates a new serializer content handler.
+ *
+ * @param aContext the a context
+ */
SerializerContentHandler(SerializationContext aContext) {
mContext = aContext;
}
/**
+ * Characters.
+ *
+ * @param ch the ch
+ * @param start the start
+ * @param length the length
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
+ @Override
public void characters(char[] ch, int start, int length) throws SAXException {
try {
// System.out.println("Calling SerializationContext.writeChars");
@@ -111,9 +136,16 @@ public class XmlSerializer implements Se
}
/**
+ * End element.
+ *
+ * @param uri the uri
+ * @param localName the local name
+ * @param qName the q name
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String,
* java.lang.String)
*/
+ @Override
public void endElement(String uri, String localName, String qName) throws SAXException {
try {
// System.out.println("Calling SerializationContext.endElement(" + qName + ")");
@@ -124,9 +156,17 @@ public class XmlSerializer implements Se
}
/**
+ * Start element.
+ *
+ * @param uri the uri
+ * @param localName the local name
+ * @param qName the q name
+ * @param attributes the attributes
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String,
* java.lang.String, org.xml.sax.Attributes)
*/
+ @Override
public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {
try {
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializerFactory.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializerFactory.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializerFactory.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/XmlSerializerFactory.java Sun Nov 13 16:08:24 2016
@@ -29,6 +29,7 @@ import org.apache.axis.Version;
import org.apache.axis.encoding.SerializerFactory;
import org.apache.uima.adapter.soap.axis11.XmlSerializer_Axis11;
+// TODO: Auto-generated Javadoc
/**
* An AxisSerializer factory that constructs instances of {@link XmlSerializer}.
*
@@ -36,10 +37,16 @@ import org.apache.uima.adapter.soap.axis
*/
public class XmlSerializerFactory implements SerializerFactory {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = -6341240975976459158L;
+ /** The mechanisms. */
private Vector mechanisms;
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.SerializerFactory#getSerializerAs(java.lang.String)
+ */
+ @Override
public Serializer getSerializerAs(String mechanismType) {
// There is a binary incompatibility between Axis v1.1 and
// Axis v1.2 in the serializer/deserializer libraries.
@@ -54,6 +61,10 @@ public class XmlSerializerFactory implem
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.SerializerFactory#getSupportedMechanismTypes()
+ */
+ @Override
public Iterator getSupportedMechanismTypes() {
if (mechanisms == null) {
mechanisms = new Vector();
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinaryDeserializer_Axis11.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinaryDeserializer_Axis11.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinaryDeserializer_Axis11.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinaryDeserializer_Axis11.java Sun Nov 13 16:08:24 2016
@@ -38,6 +38,7 @@ import org.apache.uima.internal.util.Ser
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
+// TODO: Auto-generated Javadoc
/**
* An Axis deserializer for {@link Serializable} objects. The serialized bytes are Base-64 encoded
* for transport via SOAP.
@@ -46,10 +47,16 @@ import org.xml.sax.SAXException;
*/
public class BinaryDeserializer_Axis11 extends DeserializerImpl {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = -591743087907058514L;
+ /** The buf. */
private StringBuffer buf = new StringBuffer();
+ /* (non-Javadoc)
+ * @see org.apache.axis.encoding.DeserializerImpl#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes, org.apache.axis.encoding.DeserializationContext)
+ */
+ @Override
public void startElement(String namespace, String localName, String prefix,
Attributes attributes, DeserializationContext context) throws SAXException {
@@ -116,17 +123,33 @@ public class BinaryDeserializer_Axis11 e
}
/**
+ * On start element.
+ *
+ * @param namespace the namespace
+ * @param localName the local name
+ * @param prefix the prefix
+ * @param attributes the attributes
+ * @param context the context
+ * @throws SAXException the SAX exception
* @see org.apache.axis.message.SOAPHandler#onStartChild(String, String, String, Attributes, DeserializationContext)
*/
+ @Override
public void onStartElement(String namespace, String localName, String prefix,
Attributes attributes, DeserializationContext context) throws SAXException {
buf.setLength(0);
}
/**
+ * On end element.
+ *
+ * @param arg0 the arg 0
+ * @param arg1 the arg 1
+ * @param arg2 the arg 2
+ * @throws SAXException the SAX exception
* @see org.apache.axis.encoding.Deserializer#onEndElement(java.lang.String, java.lang.String,
* org.apache.axis.encoding.DeserializationContext)
*/
+ @Override
public void onEndElement(String arg0, String arg1, DeserializationContext arg2)
throws SAXException {
try {
@@ -149,8 +172,15 @@ public class BinaryDeserializer_Axis11 e
}
/**
+ * Characters.
+ *
+ * @param ch the ch
+ * @param start the start
+ * @param length the length
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
+ @Override
public void characters(char[] ch, int start, int length) throws SAXException {
// System.out.println("characters(" + new String(ch,start,length) + ")");
buf.append(ch, start, length);
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinarySerializer_Axis11.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinarySerializer_Axis11.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinarySerializer_Axis11.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/BinarySerializer_Axis11.java Sun Nov 13 16:08:24 2016
@@ -41,6 +41,7 @@ import org.w3c.dom.Element;
import org.xml.sax.Attributes;
import org.xml.sax.helpers.AttributesImpl;
+// TODO: Auto-generated Javadoc
/**
* An Axis serializer for {@link Serializable} objects. The serialized bytes are Base-64 encoded for
* transport via SOAP.
@@ -49,34 +50,38 @@ import org.xml.sax.helpers.AttributesImp
*/
public class BinarySerializer_Axis11 implements Serializer {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = -1968145589342023832L;
- /**
- *
- * Whether attachments should be used to send binary-serialized data
- */
+ /** Whether attachments should be used to send binary-serialized data. */
private boolean mUseAttachments;
+ /**
+ * Instantiates a new binary serializer axis 11.
+ */
public BinarySerializer_Axis11() {
this(true);
}
+ /**
+ * Instantiates a new binary serializer axis 11.
+ *
+ * @param aUseAttachments the a use attachments
+ */
public BinarySerializer_Axis11(boolean aUseAttachments) {
mUseAttachments = aUseAttachments;
}
/**
* Serialize an element named name, with the indicated attributes and value.
- *
- * @param name
- * is the element name
- * @param attributes
- * are the attributes...serializer is free to add more.
- * @param value
- * is the value
- * @param context
- * is the SerializationContext
+ *
+ * @param name is the element name
+ * @param attributes are the attributes...serializer is free to add more.
+ * @param value is the value
+ * @param context is the SerializationContext
+ * @throws IOException Signals that an I/O exception has occurred.
*/
+ @Override
public void serialize(QName name, Attributes attributes, Object value,
SerializationContext context) throws IOException {
if (value instanceof Serializable) {
@@ -130,14 +135,25 @@ public class BinarySerializer_Axis11 imp
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.Serializer#getMechanismType()
+ */
+ @Override
public String getMechanismType() {
return Constants.AXIS_SAX;
}
/**
+ * Write schema.
+ *
+ * @param javaType the java type
+ * @param types the types
+ * @return the element
+ * @throws Exception the exception
* @see org.apache.axis.encoding.Serializer#writeSchema(java.lang.Class,
* org.apache.axis.wsdl.fromJava.Types)
*/
+ @Override
public Element writeSchema(Class javaType, Types types) throws Exception {
return null;
}
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlDeserializer_Axis11.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlDeserializer_Axis11.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlDeserializer_Axis11.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlDeserializer_Axis11.java Sun Nov 13 16:08:24 2016
@@ -33,6 +33,7 @@ import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.LocatorImpl;
+// TODO: Auto-generated Javadoc
/**
* An Axis deserializer for any {@link XMLizable} object.
* <p>
@@ -40,12 +41,18 @@ import org.xml.sax.helpers.LocatorImpl;
*/
public class XmlDeserializer_Axis11 extends DeserializerImpl {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = 6687245569965318456L;
+ /** The m deser. */
private SaxDeserializer_impl mDeser;
+ /** The m nesting. */
private int mNesting;
+ /**
+ * Instantiates a new xml deserializer axis 11.
+ */
public XmlDeserializer_Axis11() {
try {
mNesting = 0;
@@ -61,8 +68,15 @@ public class XmlDeserializer_Axis11 exte
}
/**
+ * Characters.
+ *
+ * @param ch the ch
+ * @param start the start
+ * @param length the length
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
+ @Override
public void characters(char[] ch, int start, int length) throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::characters(" + new
// String(ch,start,length) + ")");
@@ -70,9 +84,16 @@ public class XmlDeserializer_Axis11 exte
}
/**
+ * On end element.
+ *
+ * @param arg0 the arg 0
+ * @param arg1 the arg 1
+ * @param arg2 the arg 2
+ * @throws SAXException the SAX exception
* @see org.apache.axis.encoding.Deserializer#onEndElement(java.lang.String, java.lang.String,
* org.apache.axis.encoding.DeserializationContext)
*/
+ @Override
public void onEndElement(String arg0, String arg1, DeserializationContext arg2)
throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::onEndElement(" + arg0 + "," + arg1);
@@ -85,26 +106,33 @@ public class XmlDeserializer_Axis11 exte
/**
* This method is invoked when an element start tag is encountered.
- *
- * @param namespace
- * is the namespace of the element
- * @param localName
- * is the name of the element
- * @param prefix
- * is the element's prefix
- * @param attributes
- * are the attributes on the element...used to get the type
- * @param context
- * is the DeserializationContext
+ *
+ * @param namespace is the namespace of the element
+ * @param localName is the name of the element
+ * @param prefix is the element's prefix
+ * @param attributes are the attributes on the element...used to get the type
+ * @param context is the DeserializationContext
+ * @return the SOAP handler
+ * @throws SAXException the SAX exception
*/
+ @Override
public SOAPHandler onStartChild(String namespace, String localName, String prefix,
Attributes attributes, DeserializationContext context) throws SAXException {
return this;
}
/**
+ * On start element.
+ *
+ * @param arg0 the arg 0
+ * @param arg1 the arg 1
+ * @param arg2 the arg 2
+ * @param arg3 the arg 3
+ * @param arg4 the arg 4
+ * @throws SAXException the SAX exception
* @see org.apache.axis.message.SOAPHandler#onStartChild(String, String, String, Attributes, DeserializationContext)
*/
+ @Override
public void onStartElement(String arg0, String arg1, String arg2, Attributes arg3,
DeserializationContext arg4) throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::onStartElement(" + arg0 + "," + arg1 +
@@ -119,8 +147,12 @@ public class XmlDeserializer_Axis11 exte
}
/**
+ * Value complete.
+ *
+ * @throws SAXException the SAX exception
* @see org.apache.axis.encoding.Deserializer#valueComplete()
*/
+ @Override
public void valueComplete() throws SAXException {
// System.out.println("AxisResourceServiceDeserializer::valueComplete");
if (mNesting == 0) {
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlSerializer_Axis11.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlSerializer_Axis11.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlSerializer_Axis11.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-adapter-soap/src/main/java/org/apache/uima/adapter/soap/axis11/XmlSerializer_Axis11.java Sun Nov 13 16:08:24 2016
@@ -33,6 +33,7 @@ import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
+// TODO: Auto-generated Javadoc
/**
* An Axis serializer for any {@link XMLizable} object.
* <p>
@@ -40,20 +41,19 @@ import org.xml.sax.helpers.DefaultHandle
*/
public class XmlSerializer_Axis11 implements Serializer {
+ /** The Constant serialVersionUID. */
private static final long serialVersionUID = -1528534494294634599L;
/**
* Serialize an element named name, with the indicated attributes and value.
- *
- * @param name
- * is the element name
- * @param attributes
- * are the attributes...serializer is free to add more.
- * @param value
- * is the value
- * @param context
- * is the SerializationContext
+ *
+ * @param name is the element name
+ * @param attributes are the attributes...serializer is free to add more.
+ * @param value is the value
+ * @param context is the SerializationContext
+ * @throws IOException Signals that an I/O exception has occurred.
*/
+ @Override
public void serialize(QName name, Attributes attributes, Object value,
SerializationContext context) throws IOException {
if (value instanceof XMLizable) {
@@ -73,14 +73,25 @@ public class XmlSerializer_Axis11 implem
}
}
+ /* (non-Javadoc)
+ * @see javax.xml.rpc.encoding.Serializer#getMechanismType()
+ */
+ @Override
public String getMechanismType() {
return Constants.AXIS_SAX;
}
/**
+ * Write schema.
+ *
+ * @param javaType the java type
+ * @param types the types
+ * @return the element
+ * @throws Exception the exception
* @see org.apache.axis.encoding.Serializer#writeSchema(java.lang.Class,
* org.apache.axis.wsdl.fromJava.Types)
*/
+ @Override
public Element writeSchema(Class javaType, Types types) throws Exception {
return null;
}
@@ -92,15 +103,29 @@ public class XmlSerializer_Axis11 implem
*
*/
static class SerializerContentHandler extends DefaultHandler {
+
+ /** The m context. */
private SerializationContext mContext;
+ /**
+ * Instantiates a new serializer content handler.
+ *
+ * @param aContext the a context
+ */
SerializerContentHandler(SerializationContext aContext) {
mContext = aContext;
}
/**
+ * Characters.
+ *
+ * @param ch the ch
+ * @param start the start
+ * @param length the length
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#characters(char[], int, int)
*/
+ @Override
public void characters(char[] ch, int start, int length) throws SAXException {
try {
// System.out.println("Calling SerializationContext.writeChars");
@@ -111,9 +136,16 @@ public class XmlSerializer_Axis11 implem
}
/**
+ * End element.
+ *
+ * @param uri the uri
+ * @param localName the local name
+ * @param qName the q name
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String,
* java.lang.String)
*/
+ @Override
public void endElement(String uri, String localName, String qName) throws SAXException {
try {
// System.out.println("Calling SerializationContext.endElement(" + qName + ")");
@@ -124,9 +156,17 @@ public class XmlSerializer_Axis11 implem
}
/**
+ * Start element.
+ *
+ * @param uri the uri
+ * @param localName the local name
+ * @param qName the q name
+ * @param attributes the attributes
+ * @throws SAXException the SAX exception
* @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String,
* java.lang.String, org.xml.sax.Attributes)
*/
+ @Override
public void startElement(String uri, String localName, String qName, Attributes attributes)
throws SAXException {
try {
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotationWriter.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotationWriter.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotationWriter.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotationWriter.java Sun Nov 13 16:08:24 2016
@@ -42,6 +42,7 @@ import org.apache.uima.resource.Resource
import org.apache.uima.resource.ResourceProcessException;
import org.apache.uima.util.ProcessTrace;
+// TODO: Auto-generated Javadoc
/**
* The AnnotationWriter class writes specified annotations to an output file.
* The encoding of the output file is UTF-8
@@ -49,15 +50,24 @@ import org.apache.uima.util.ProcessTrace
public class AnnotationWriter extends CasConsumer_ImplBase implements CasConsumer
{
+
+ /** The out file. */
//output file
private File outFile;
+
+ /** The file writer. */
//output file writer
private OutputStreamWriter fileWriter;
+
+ /** The tofs. */
//respected annotations
private String[] tofs;
+
+ /** The reconfig. */
//check if reconfigure must be called
private boolean reconfig = false;
+ /** The Constant featureOnlyKey. */
private final static String featureOnlyKey = "feature";
/**
@@ -67,7 +77,8 @@ public class AnnotationWriter extends Ca
* @throws ResourceInitializationException if there is error in
* initializing the resources
*/
- public void initialize() throws ResourceInitializationException
+ @Override
+ public void initialize() throws ResourceInitializationException
{
// extract configuration parameter settings
@@ -110,9 +121,9 @@ public class AnnotationWriter extends Ca
/**
* processTofs() writes als specified types an features to a HashMap.
- *
+ *
* @param aCAS a CAS with a TypeSystem
- * @param tofs respected tofs
+ * @param someTofs the some tofs
* @return HashMap - Map with all types an features.
*/
private HashMap processTofs(CAS aCAS, String[] someTofs)
@@ -172,7 +183,11 @@ public class AnnotationWriter extends Ca
return types;
}
- public synchronized void processCas(CAS aCAS) throws ResourceProcessException
+ /* (non-Javadoc)
+ * @see org.apache.uima.collection.base_cpm.CasObjectProcessor#processCas(org.apache.uima.cas.CAS)
+ */
+ @Override
+ public synchronized void processCas(CAS aCAS) throws ResourceProcessException
{
if (this.reconfig == true)
{
@@ -298,12 +313,20 @@ public class AnnotationWriter extends Ca
}
- public void batchProcessComplete(ProcessTrace aTrace) throws ResourceProcessException, IOException
+ /* (non-Javadoc)
+ * @see org.apache.uima.collection.CasConsumer_ImplBase#batchProcessComplete(org.apache.uima.util.ProcessTrace)
+ */
+ @Override
+ public void batchProcessComplete(ProcessTrace aTrace) throws ResourceProcessException, IOException
{
// nothing to do here
}
- public void collectionProcessComplete(ProcessTrace aTrace) throws ResourceProcessException, IOException
+ /* (non-Javadoc)
+ * @see org.apache.uima.collection.CasConsumer_ImplBase#collectionProcessComplete(org.apache.uima.util.ProcessTrace)
+ */
+ @Override
+ public void collectionProcessComplete(ProcessTrace aTrace) throws ResourceProcessException, IOException
{
if (this.fileWriter != null)
{
@@ -311,7 +334,11 @@ public class AnnotationWriter extends Ca
}
}
- public void reconfigure() throws ResourceConfigurationException
+ /* (non-Javadoc)
+ * @see org.apache.uima.collection.CasConsumer_ImplBase#reconfigure()
+ */
+ @Override
+ public void reconfigure() throws ResourceConfigurationException
{
//reset reconfiguration - is done
this.reconfig = false;
@@ -354,7 +381,11 @@ public class AnnotationWriter extends Ca
}
- public void destroy()
+ /* (non-Javadoc)
+ * @see org.apache.uima.collection.CasConsumer_ImplBase#destroy()
+ */
+ @Override
+ public void destroy()
{
if (this.fileWriter != null)
{
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorPerformanceTester.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorPerformanceTester.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorPerformanceTester.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorPerformanceTester.java Sun Nov 13 16:08:24 2016
@@ -37,6 +37,7 @@ import org.apache.uima.util.Level;
import org.apache.uima.util.Logger;
import org.apache.uima.util.XMLInputSource;
+// TODO: Auto-generated Javadoc
/**
* AnnotatorPerfTester is a helper class to execute annotator performance tests. The performance
* test results are returned as {@link PerformanceTestResultImpl} object.
@@ -44,18 +45,29 @@ import org.apache.uima.util.XMLInputSour
*/
public class AnnotatorPerformanceTester {
+ /**
+ * The Class FileFileFilter.
+ */
private static class FileFileFilter implements FileFilter {
+ /**
+ * Instantiates a new file file filter.
+ */
private FileFileFilter() {
super();
}
+ /* (non-Javadoc)
+ * @see java.io.FileFilter#accept(java.io.File)
+ */
+ @Override
public boolean accept(File arg0) {
return arg0.isFile();
}
}
+ /** The log levels. */
private static HashMap logLevels = new HashMap(9);
static {
logLevels.put("OFF", Level.OFF);
@@ -70,25 +82,17 @@ public class AnnotatorPerformanceTester
}
/**
- * runs an annotator performance test
- *
- * @param repeatSingle
- * if true, every document is process "numsToRun" times before the next document is
+ * runs an annotator performance test.
+ *
+ * @param repeatSingle if true, every document is process "numsToRun" times before the next document is
* processed. If false, all documents are processed and this is repeated "numsToRun"
* times.
- *
- * @param numsToRun
- * repeat count for the input documents
- * @param taeDescFilePath
- * ae descriptor - absolute file path
- * @param testFileDir
- * test file directory
- * @param dataPath
- * ae datapath
- * @param doWarmup
- * do warum for analysis engine - runs an short english sample document
+ * @param numsToRun repeat count for the input documents
+ * @param taeDescFilePath ae descriptor - absolute file path
+ * @param testFileDir test file directory
+ * @param dataPath ae datapath
+ * @param doWarmup do warum for analysis engine - runs an short english sample document
* @return PerformanceTestResult - returns the performance test results
- *
* @throws Exception passthru
*/
public static PerformanceTestResult runPerformanceTest(boolean repeatSingle, int numsToRun,
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorTester.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorTester.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorTester.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/AnnotatorTester.java Sun Nov 13 16:08:24 2016
@@ -46,16 +46,21 @@ import org.apache.uima.util.FileUtils;
import org.apache.uima.util.InvalidXMLException;
import org.apache.uima.util.XMLInputSource;
+// TODO: Auto-generated Javadoc
/**
* AnnotatorTester is the helper class to test annotators.
*/
public class AnnotatorTester {
+
+ /** The desc file. */
// annotator descriptor
private File descFile;
+ /** The ae. */
// analysis engine instance
private AnalysisEngine ae;
+ /** The mgr. */
// Resource Manager
private ResourceManager mgr;
@@ -129,15 +134,11 @@ public class AnnotatorTester {
}
/**
- * change the parameter name for the given analysis engine
- *
- * @param groupName
- * group name, if no group is available, pass null
- * @param paramName
- * parameter name
- * @param paramValue
- * parameter value
- *
+ * change the parameter name for the given analysis engine.
+ *
+ * @param groupName group name, if no group is available, pass null
+ * @param paramName parameter name
+ * @param paramValue parameter value
* @throws ResourceConfigurationException passthru
*/
public void changeParameterSetting(String groupName, String paramName,
@@ -152,17 +153,12 @@ public class AnnotatorTester {
}
/**
- * change the parameter name for the given delegate analysis engine key
- *
- * @param delegeteKey
- * analysis engine key
- * @param groupName
- * group name
- * @param paramName
- * parameter name
- * @param paramValue
- * parameter value
- *
+ * change the parameter name for the given delegate analysis engine key.
+ *
+ * @param delegeteKey analysis engine key
+ * @param groupName group name
+ * @param paramName parameter name
+ * @param paramValue parameter value
* @throws InvalidXMLException passthru
* @throws ResourceInitializationException passthru
* @throws IOException passthru
@@ -200,11 +196,10 @@ public class AnnotatorTester {
}
/**
- * does configuration parameter test
- *
- * @param configDescFilePath
+ * does configuration parameter test.
+ *
+ * @param configDescFilePath the config desc file path
* @return AnalysisEngine
- *
* @throws Exception passthru
*/
public static AnalysisEngine doConfigurationTest(String configDescFilePath)
@@ -348,13 +343,12 @@ public class AnnotatorTester {
}
/**
- * create a CAS object from the given XCAS and typesystem files
- *
+ * create a CAS object from the given XCAS and typesystem files.
+ *
* @param tsFile -
* a typesystem file
* @param xcasFile -
* a xcas file
- *
* @return CAS - CAS object created from the given input data
* @throws Exception passthru
*/
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/PerformanceTestResult.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/PerformanceTestResult.java?rev=1769510&r1=1769509&r2=1769510&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/PerformanceTestResult.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-component-test-util/src/main/java/org/apache/uima/test/junit_extension/PerformanceTestResult.java Sun Nov 13 16:08:24 2016
@@ -23,6 +23,7 @@ import java.io.File;
import org.apache.uima.internal.util.TimeSpan;
+// TODO: Auto-generated Javadoc
/**
* PerformanceTestResult interfance contains all the methods to access the performance test results.
*
@@ -30,71 +31,99 @@ import org.apache.uima.internal.util.Tim
public interface PerformanceTestResult {
/**
- * @return Returns the number of processed characters.
- */
+ * Gets the number of processed characters.
+ *
+ * @return Returns the number of processed characters.
+ */
public int getNumberOfProcessedCharacters();
/**
+ * Gets the number of processed files.
+ *
* @return Returns the number of processed files.
*/
public int getNumberOfProcessedFiles();
/**
+ * Gets the UIMA datapath.
+ *
* @return Returns the UIMA datapath setting used for the performance test.
*/
public String getUIMADatapath();
/**
+ * Gets the ae init time.
+ *
* @return Returns the analysis engine initialization time.
*/
public TimeSpan getAeInitTime();
/**
+ * Gets the file io time.
+ *
* @return Returns the file I/O time.
*/
public TimeSpan getFileIoTime();
/**
+ * Gets the number of created annotations.
+ *
* @return Returns the number of created annotations.
*/
public int getNumberOfCreatedAnnotations();
/**
+ * Gets the number of repeated runs.
+ *
* @return Returns the setting for the number of repeated runs.
*/
public int getNumberOfRepeatedRuns();
/**
+ * Gets the overall time.
+ *
* @return Returns the overall time of the performance run
*/
public TimeSpan getOverallTime();
/**
+ * Gets the ae processing time.
+ *
* @return Returns the analysis engine processing time.
*/
public TimeSpan getAeProcessingTime();
/**
+ * Checks if is repeat single mode.
+ *
* @return Returns the setting of the repeat mode mode.
*/
public boolean isRepeatSingleMode();
/**
+ * Gets the ae desc file path.
+ *
* @return Returns the analysis engine descriptor file path.
*/
public String getAeDescFilePath();
/**
+ * Gets the test file directory path.
+ *
* @return Returns the test file directory used for the performance run.
*/
public String getTestFileDirectoryPath();
/**
+ * Gets the ae warmup time.
+ *
* @return Returns the analysis engine warmup time.
*/
public TimeSpan getAeWarmupTime();
/**
+ * Checks if is do ae warmup.
+ *
* @return Returns the setting the the analysis engine warmup.
*/
public boolean isDoAeWarmup();
@@ -112,16 +141,22 @@ public interface PerformanceTestResult {
public void writePerfResultsAsColumn(String level, File file) throws Exception;
/**
+ * Gets the ae cleanup time.
+ *
* @return Returns the analysis engine cleanup time.
*/
public TimeSpan getAeCleanupTime();
/**
+ * Gets the document preparation time.
+ *
* @return Returns the document preparation time.
*/
public TimeSpan getDocumentPreparationTime();
/**
+ * Gets the processed file size.
+ *
* @return Returns the processed file collection size.
*/
public long getProcessedFileSize();