Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Sacchi2014-02-21 08:16:57 +0000
committerJudith Gull2014-02-21 09:06:13 +0000
commita73d60c0f54239ea22e0f0172166bd30ae684f23 (patch)
treebc8c32630d10bc8da37c257ab249475513f60240
parent8011a9af3347b15740bc9becd9602be3c6318bd5 (diff)
downloadorg.eclipse.scout.rt-a73d60c0f54239ea22e0f0172166bd30ae684f23.tar.gz
org.eclipse.scout.rt-a73d60c0f54239ea22e0f0172166bd30ae684f23.tar.xz
org.eclipse.scout.rt-a73d60c0f54239ea22e0f0172166bd30ae684f23.zip
bug 427899: Deprecating ScoutXmlParser
https://bugs.eclipse.org/bugs/show_bug.cgi?id=427899 Change-Id: Ic6b5dfb58cf0054cadd2a6cf2a0d82e4a2af0866 Signed-off-by: Adrian Sacchi <adrian.sacchi@bsiag.com> Reviewed-on: https://git.eclipse.org/r/22343 Tested-by: Hudson CI Reviewed-by: Judith Gull <jgu@bsiag.com> IP-Clean: Judith Gull <jgu@bsiag.com>
-rw-r--r--org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlDocument.java3
-rw-r--r--org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlException.java6
-rw-r--r--org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlParser.java5
-rw-r--r--org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlQName.java8
-rw-r--r--org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/SimpleXmlElement.java3
5 files changed, 19 insertions, 6 deletions
diff --git a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlDocument.java b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlDocument.java
index 1efaf85ee1..34947a6b5c 100644
--- a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlDocument.java
+++ b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlDocument.java
@@ -39,7 +39,10 @@ import org.xml.sax.Attributes;
* Title : Scout XML Document
*
* @version 2.0
+ * @deprecated Will be removed with the M-Release (scout 5).
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public class ScoutXmlDocument implements Serializable {
private static final long serialVersionUID = 1L;
diff --git a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlException.java b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlException.java
index 777c17a638..b2360e7c0b 100644
--- a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlException.java
+++ b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlException.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
@@ -13,9 +13,11 @@ package org.eclipse.scout.commons.xmlparser;
/**
* Title : Scout XML Exception Description: Copyright : Copyright (c) 2006 BSI
* AG, ETH Zürich, Stefan Vogt Company : BSI AG www.bsiag.com
- *
+ *
* @version 1.0
+ * @deprecated Will be removed with the M-Release (scout 5).
*/
+@Deprecated
public class ScoutXmlException extends RuntimeException {
private static final long serialVersionUID = 1L;
diff --git a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlParser.java b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlParser.java
index e0a72dde1f..c98992b8e3 100644
--- a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlParser.java
+++ b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlParser.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
@@ -42,7 +42,10 @@ import org.xml.sax.helpers.XMLReaderFactory;
* ETH Zürich, Stefan Vogt Company : BSI AG www.bsiag.com
*
* @version 1.0
+ * @deprecated Will be removed with the M-Release (scout 5).
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public class ScoutXmlParser {
private static final IScoutLogger LOG = ScoutLogManager.getLogger(ScoutXmlParser.class);
private static boolean warnedDefaultParserNotFound;
diff --git a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlQName.java b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlQName.java
index 0dd259d95b..44ec57934c 100644
--- a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlQName.java
+++ b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/ScoutXmlQName.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* BSI Business Systems Integration AG - initial API and implementation
******************************************************************************/
@@ -14,9 +14,11 @@ package org.eclipse.scout.commons.xmlparser;
* Title : Scout XML QName Description: QName (qualified name) support for
* ScoutXml elements and attributes Copyright : Copyright (c) 2006 BSI AG, ETH
* Zürich, Stefan Vogt Company : BSI AG www.bsiag.com
- *
+ *
* @version 1.0
+ * @deprecated Will be removed with the M-Release (scout 5).
*/
+@Deprecated
public class ScoutXmlQName implements Comparable {
private String m_namespaceURI;
private String m_localName;
@@ -215,7 +217,7 @@ public class ScoutXmlQName implements Comparable {
/**
* Returns the expanded form, e.g. {namespace}localpart, of this QName.
- *
+ *
* @since 1.0
*/
@Override
diff --git a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/SimpleXmlElement.java b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/SimpleXmlElement.java
index 8f1140dba8..02d03a26ac 100644
--- a/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/SimpleXmlElement.java
+++ b/org.eclipse.scout.commons/src/org/eclipse/scout/commons/xmlparser/SimpleXmlElement.java
@@ -34,7 +34,10 @@ import org.eclipse.scout.commons.serialization.SerializationUtility;
/**
* Simple xml parser/writer. Very efficient and performant when handling xml
* content without care of namespaces.
+ *
+ * @deprecated Will be removed with the M-Release (scout 5).
*/
+@Deprecated
public class SimpleXmlElement {
private static final HashMap<String, String> ENTITIES;
private static final HashMap<String, String> INVERSE_ENTITIES;

Back to the top