aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Inline.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2007-07-07 00:04:25 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2007-07-07 00:04:25 +0000
commit9263449d44a00d7f223d47a83630abb4bd5aaf84 (patch)
treead7f0b52262b7103d0d599437be046a8292f30cd /src/java/org/apache/fop/fo/flow/Inline.java
parent73f84d8a767a71b365f986f9af78661635445b0e (diff)
downloadxmlgraphics-fop-9263449d44a00d7f223d47a83630abb4bd5aaf84.tar.gz
xmlgraphics-fop-9263449d44a00d7f223d47a83630abb4bd5aaf84.zip
Bugzilla 42089: Cleanup and restructuring (suggested by Adrian Cumiskey)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554094 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/Inline.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/Inline.java15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/java/org/apache/fop/fo/flow/Inline.java b/src/java/org/apache/fop/fo/flow/Inline.java
index f4c29508a..d9ac5136b 100644
--- a/src/java/org/apache/fop/fo/flow/Inline.java
+++ b/src/java/org/apache/fop/fo/flow/Inline.java
@@ -42,7 +42,6 @@ public class Inline extends InlineLevel {
private int alignmentBaseline;
private Length baselineShift;
private int dominantBaseline;
- private String id;
// Unused but valid items, commented out for performance:
// private CommonRelativePosition commonRelativePosition;
// private LengthRangeProperty blockProgressionDimension;
@@ -74,13 +73,14 @@ public class Inline extends InlineLevel {
alignmentBaseline = pList.get(PR_ALIGNMENT_BASELINE).getEnum();
baselineShift = pList.get(PR_BASELINE_SHIFT).getLength();
dominantBaseline = pList.get(PR_DOMINANT_BASELINE).getEnum();
- id = pList.get(PR_ID).getString();
}
/**
* @see org.apache.fop.fo.FONode#startOfNode
*/
protected void startOfNode() throws FOPException {
+ super.startOfNode();
+
/* Check to see if this node can have block-level children.
* See validateChildNode() below.
*/
@@ -99,9 +99,7 @@ public class Inline extends InlineLevel {
}
}
- checkId(id);
-
- getFOEventHandler().startInline(this);
+ getFOEventHandler().startInline(this);
}
/**
@@ -141,13 +139,6 @@ public class Inline extends InlineLevel {
}
/**
- * Return the "id" property.
- */
- public String getId() {
- return id;
- }
-
- /**
* @return the "alignment-adjust" property
*/
public Length getAlignmentAdjust() {