aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Character.java
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-10-19 13:45:38 +0000
committerFinn Bock <bckfnn@apache.org>2004-10-19 13:45:38 +0000
commitc34e500124d950dac4d5deb7fe435b6e4c2c4613 (patch)
treeaf79d410e72159248722c056ecc695fb3abf4caa /src/java/org/apache/fop/fo/flow/Character.java
parent732269867ee965ab81e1f56c86b9cc0c6586e31c (diff)
downloadxmlgraphics-fop-c34e500124d950dac4d5deb7fe435b6e4c2c4613.tar.gz
xmlgraphics-fop-c34e500124d950dac4d5deb7fe435b6e4c2c4613.zip
Second phase of performance improvement.
- Removed addProperties() method and misc old property fields. PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198065 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Character.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/Character.java15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Character.java b/src/java/org/apache/fop/fo/flow/Character.java
index 2a84a6dcf..464ae434a 100644
--- a/src/java/org/apache/fop/fo/flow/Character.java
+++ b/src/java/org/apache/fop/fo/flow/Character.java
@@ -22,7 +22,6 @@ package org.apache.fop.fo.flow;
import java.util.List;
// XML
-import org.xml.sax.Attributes;
import org.xml.sax.Locator;
import org.xml.sax.SAXParseException;
@@ -95,8 +94,6 @@ public class Character extends FObj {
/** constant indicating that the character does not fit */
public static final int DOESNOT_FIT = 1;
- private char characterValue;
-
/**
* @param parent FONode that is the parent of this object
*/
@@ -157,21 +154,11 @@ public class Character extends FObj {
invalidChildError(loc, nsURI, localName);
}
-
- /**
- * @see org.apache.fop.fo.FObj#addProperties
- */
- protected void addProperties(Attributes attlist) throws SAXParseException {
- super.addProperties(attlist);
- characterValue = propertyList.get(PR_CHARACTER).getCharacter();
- getFOEventHandler().character(this);
- }
-
/**
* @see org.apache.fop.fo.FObj#charIterator
*/
public CharIterator charIterator() {
- return new OneCharIterator(characterValue);
+ return new OneCharIterator(character);
// But what if the character is ignored due to white space handling?
}