diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (diff) |
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue May 31 17:39:08 2011 +0200
Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
Notes:
split repo tag: testing_libreoffice-3.3.3.1
split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java')
-rw-r--r-- | qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java b/qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java index 62909f16dd4f..677a8588bf55 100644 --- a/qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java +++ b/qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -55,7 +55,7 @@ public class DocumentHandler implements XServiceInfo, XSingleServiceFactory { /** The log writer (just a wrapper around <code>writer</code>) **/ private PrintWriter log; - /** + /** * Create an instance of the document handler. * @param args A boolean value as <codde>args[0]</code> determines, * if checked XML data is printed to the log. @@ -72,7 +72,7 @@ public class DocumentHandler implements XServiceInfo, XSingleServiceFactory { return oDocumentHandler; } - /** + /** * Create an instance of the document handler. * @return The document handler */ @@ -131,19 +131,19 @@ public class DocumentHandler implements XServiceInfo, XSingleServiceFactory { * @see com.sun.star.container.XNameAccess * @see com.sun.star.lang.XTypeProvider */ -class DocumentHandlerImpl extends XMLTools.XMLChecker - implements XInitialization, XDocumentHandler, +class DocumentHandlerImpl extends XMLTools.XMLChecker + implements XInitialization, XDocumentHandler, XNameAccess, XTypeProvider { /** A string writer **/ private StringWriter writer; - /** + /** * Constructor * @param log_ A log writer. * @param printXML Should XML data be printed to the log? * @param logWriter A wrapper around <code>log_</code> for convenience. */ - public DocumentHandlerImpl(PrintWriter log_, + public DocumentHandlerImpl(PrintWriter log_, boolean printXML, StringWriter logWriter) { super(log_, printXML); writer = logWriter; @@ -151,7 +151,7 @@ class DocumentHandlerImpl extends XMLTools.XMLChecker /** * Initialize this class with rules. - * @param parm1 An array of filter rules: + * @param parm1 An array of filter rules: * <code>processAction()</code> is called for every rule. * @throws com.sun.star.uno.Exception for an incorrect rule. */ @@ -168,7 +168,7 @@ class DocumentHandlerImpl extends XMLTools.XMLChecker * @param filterRule An array building one filter rule. * @throws com.sun.star.uno.Exception for an incorrect rule. */ - private void processActionForXMLChecker(Object[] filterRule) + private void processActionForXMLChecker(Object[] filterRule) throws com.sun.star.uno.Exception { int arrLen = filterRule.length; String oTagName; @@ -221,7 +221,7 @@ class DocumentHandlerImpl extends XMLTools.XMLChecker // Action for constructor Tag(TagName, attrName, attrValue) if (oTag.length == 3) { if ((oTag[1] instanceof String)&&(oTag[2] instanceof String)) { - allTags.add(new Tag(oTagName, + allTags.add(new Tag(oTagName, (String) oTag[1], (String) oTag[2])); } else { throw new com.sun.star.uno.Exception("Error: invalid tag '"+ |