summaryrefslogtreecommitdiff
path: root/reportbuilder/java/com/sun/star/report/pentaho/parser
diff options
context:
space:
mode:
Diffstat (limited to 'reportbuilder/java/com/sun/star/report/pentaho/parser')
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStyleReadHandler.java10
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStylesReadHandler.java40
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/style/PageLayoutReadHandler.java10
-rw-r--r--reportbuilder/java/com/sun/star/report/pentaho/parser/style/StyleDefinitionReadHandler.java12
4 files changed, 36 insertions, 36 deletions
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStyleReadHandler.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStyleReadHandler.java
index 2433a7dfa2c1..5c91c93e67eb 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStyleReadHandler.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStyleReadHandler.java
@@ -48,12 +48,12 @@ public class OfficeStyleReadHandler extends ElementReadHandler
{
private final OfficeStyle officeStyle;
- private final List childs;
+ private final List children;
public OfficeStyleReadHandler()
{
this.officeStyle = new OfficeStyle();
- this.childs = new ArrayList();
+ this.children = new ArrayList();
}
/**
@@ -75,7 +75,7 @@ public class OfficeStyleReadHandler extends ElementReadHandler
// }
final StyleDefinitionReadHandler readHandler =
new StyleDefinitionReadHandler();
- childs.add(readHandler);
+ children.add(readHandler);
return readHandler;
}
@@ -86,9 +86,9 @@ public class OfficeStyleReadHandler extends ElementReadHandler
*/
protected void doneParsing() throws SAXException
{
- for (int i = 0; i < childs.size(); i++)
+ for (int i = 0; i < children.size(); i++)
{
- final ElementReadHandler handler = (ElementReadHandler) childs.get(i);
+ final ElementReadHandler handler = (ElementReadHandler) children.get(i);
officeStyle.addNode(handler.getElement());
}
}
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStylesReadHandler.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStylesReadHandler.java
index d679c1c0f412..b453bd116e38 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStylesReadHandler.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStylesReadHandler.java
@@ -45,19 +45,19 @@ import org.xml.sax.SAXException;
public class OfficeStylesReadHandler extends ElementReadHandler
{
- private final List textStyleChilds;
- private final List dataStyleChilds;
- private final List otherStyleChilds;
- private final List pageLayoutChilds;
+ private final List textStyleChildren;
+ private final List dataStyleChildren;
+ private final List otherStyleChildren;
+ private final List pageLayoutChildren;
private final OfficeStyles officeStyles;
public OfficeStylesReadHandler(final OfficeStyles officeStyles)
{
this.officeStyles = officeStyles;
- this.pageLayoutChilds = new ArrayList();
- this.dataStyleChilds = new ArrayList();
- this.textStyleChilds = new ArrayList();
- this.otherStyleChilds = new ArrayList();
+ this.pageLayoutChildren = new ArrayList();
+ this.dataStyleChildren = new ArrayList();
+ this.textStyleChildren = new ArrayList();
+ this.otherStyleChildren = new ArrayList();
}
/**
@@ -78,25 +78,25 @@ public class OfficeStylesReadHandler extends ElementReadHandler
if ("style".equals(tagName))
{
final OfficeStyleReadHandler xrh = new OfficeStyleReadHandler();
- textStyleChilds.add(xrh);
+ textStyleChildren.add(xrh);
return xrh;
}
else if ("page-layout".equals(tagName))
{
final PageLayoutReadHandler prh = new PageLayoutReadHandler();
- pageLayoutChilds.add(prh);
+ pageLayoutChildren.add(prh);
return prh;
}
}
else if (OfficeNamespaces.DATASTYLE_NS.equals(uri))
{
final DataStyleReadHandler xrh = new DataStyleReadHandler(false);
- dataStyleChilds.add(xrh);
+ dataStyleChildren.add(xrh);
return xrh;
}
final SectionReadHandler genericReadHander = new SectionReadHandler();
- otherStyleChilds.add(genericReadHander);
+ otherStyleChildren.add(genericReadHander);
return genericReadHander;
}
@@ -107,31 +107,31 @@ public class OfficeStylesReadHandler extends ElementReadHandler
*/
protected void doneParsing() throws SAXException
{
- for (int i = 0; i < textStyleChilds.size(); i++)
+ for (int i = 0; i < textStyleChildren.size(); i++)
{
final OfficeStyleReadHandler handler =
- (OfficeStyleReadHandler) textStyleChilds.get(i);
+ (OfficeStyleReadHandler) textStyleChildren.get(i);
officeStyles.addStyle(handler.getOfficeStyle());
}
- for (int i = 0; i < pageLayoutChilds.size(); i++)
+ for (int i = 0; i < pageLayoutChildren.size(); i++)
{
final PageLayoutReadHandler handler =
- (PageLayoutReadHandler) pageLayoutChilds.get(i);
+ (PageLayoutReadHandler) pageLayoutChildren.get(i);
officeStyles.addPageStyle(handler.getPageLayout());
}
- for (int i = 0; i < dataStyleChilds.size(); i++)
+ for (int i = 0; i < dataStyleChildren.size(); i++)
{
final DataStyleReadHandler handler =
- (DataStyleReadHandler) dataStyleChilds.get(i);
+ (DataStyleReadHandler) dataStyleChildren.get(i);
officeStyles.addDataStyle(handler.getDataStyle());
}
- for (int i = 0; i < otherStyleChilds.size(); i++)
+ for (int i = 0; i < otherStyleChildren.size(); i++)
{
final SectionReadHandler handler =
- (SectionReadHandler) otherStyleChilds.get(i);
+ (SectionReadHandler) otherStyleChildren.get(i);
officeStyles.addOtherNode((Element) handler.getNode());
}
}
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/PageLayoutReadHandler.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/PageLayoutReadHandler.java
index d781a05305f7..a973236466dd 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/PageLayoutReadHandler.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/PageLayoutReadHandler.java
@@ -50,12 +50,12 @@ public class PageLayoutReadHandler extends ElementReadHandler
{
private final PageLayout pageLayout;
- private final List childs;
+ private final List children;
public PageLayoutReadHandler()
{
this.pageLayout = new PageLayout();
- this.childs = new ArrayList();
+ this.children = new ArrayList();
}
/**
@@ -74,7 +74,7 @@ public class PageLayoutReadHandler extends ElementReadHandler
{
final StyleDefinitionReadHandler readHandler =
new StyleDefinitionReadHandler();
- childs.add(readHandler);
+ children.add(readHandler);
return readHandler;
}
@@ -85,9 +85,9 @@ public class PageLayoutReadHandler extends ElementReadHandler
*/
protected void doneParsing() throws SAXException
{
- for (int i = 0; i < childs.size(); i++)
+ for (int i = 0; i < children.size(); i++)
{
- final ElementReadHandler handler = (ElementReadHandler) childs.get(i);
+ final ElementReadHandler handler = (ElementReadHandler) children.get(i);
pageLayout.addNode(handler.getElement());
}
}
diff --git a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/StyleDefinitionReadHandler.java b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/StyleDefinitionReadHandler.java
index 5dcd52d04782..0c94e6c70fe6 100644
--- a/reportbuilder/java/com/sun/star/report/pentaho/parser/style/StyleDefinitionReadHandler.java
+++ b/reportbuilder/java/com/sun/star/report/pentaho/parser/style/StyleDefinitionReadHandler.java
@@ -41,7 +41,7 @@ import org.xml.sax.SAXException;
/**
- * Reads all childs of a style-definition. This simply copies everything that
+ * Reads all children of a style-definition. This simply copies everything that
* is contained in the source-file into a generic structure that can be
* written out later.
*/
@@ -49,12 +49,12 @@ public class StyleDefinitionReadHandler extends ElementReadHandler
{
private final Section rawSection;
- private final List childs;
+ private final List children;
public StyleDefinitionReadHandler()
{
this.rawSection = new Section();
- this.childs = new ArrayList();
+ this.children = new ArrayList();
}
/**
@@ -73,7 +73,7 @@ public class StyleDefinitionReadHandler extends ElementReadHandler
{
final StyleDefinitionReadHandler readHandler =
new StyleDefinitionReadHandler();
- childs.add(readHandler);
+ children.add(readHandler);
return readHandler;
}
@@ -85,9 +85,9 @@ public class StyleDefinitionReadHandler extends ElementReadHandler
protected void doneParsing()
throws SAXException
{
- for (int i = 0; i < childs.size(); i++)
+ for (int i = 0; i < children.size(); i++)
{
- final ElementReadHandler handler = (ElementReadHandler) childs.get(i);
+ final ElementReadHandler handler = (ElementReadHandler) children.get(i);
rawSection.addNode(handler.getElement());
}
}