From 4e89f502c93d90df557cea370776c70cc649f988 Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Wed, 16 Jun 2004 23:40:58 +0000 Subject: 1. Valid node checking for LayoutMasterSet done. 2. Additional error message provided for missing required child elements of a node. 3. Removal of elementName from property list; redundant (retrievable via getFObj.getName()). Adding getName() to FObj so the element so fObj.getName() works. (Vielen Dank, Simon!) 4. Moving locator information from FObj to FONode so non-XSL NS elements will also have this information. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197720 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/PropertyList.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/java/org/apache/fop/fo/PropertyList.java') diff --git a/src/java/org/apache/fop/fo/PropertyList.java b/src/java/org/apache/fop/fo/PropertyList.java index d5421c085..e03a4cacd 100644 --- a/src/java/org/apache/fop/fo/PropertyList.java +++ b/src/java/org/apache/fop/fo/PropertyList.java @@ -95,7 +95,6 @@ public class PropertyList extends HashMap { private PropertyList parentPropertyList = null; private String namespace = ""; - private String elementName = ""; private FObj fobj = null; /** @@ -103,14 +102,12 @@ public class PropertyList extends HashMap { * @param parentPropertyList the PropertyList belonging to the new objects * parent * @param space name of namespace - * @param elementName name of element */ public PropertyList(FObj fObjToAttach, PropertyList parentPropertyList, - String space, String elementName) { + String space) { this.fobj = fObjToAttach; this.parentPropertyList = parentPropertyList; this.namespace = space; - this.elementName = elementName; } /** @@ -145,13 +142,6 @@ public class PropertyList extends HashMap { return namespace; } - /** - * @return element name for this - */ - public String getElement() { - return elementName; - } - /** * Return the value explicitly specified on this FO. * @param propertyName The name of the property whose value is desired. -- cgit v1.2.3