summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java')
-rw-r--r--qadevOOo/runner/basicrunner/basichelper/DocumentHandler.java20
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 '"+