aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/extensions/ExtensionObj.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-11-09 11:32:42 +0000
committerKeiron Liddle <keiron@apache.org>2001-11-09 11:32:42 +0000
commitd4fcf5b78def6bbc2a310621848f110c0611e7f4 (patch)
tree564f1b623a3ce1333fc35ed21600d53274a0a6d8 /src/org/apache/fop/extensions/ExtensionObj.java
parent31965968c68717055bbd096b709df3e72ceb8b40 (diff)
downloadxmlgraphics-fop-d4fcf5b78def6bbc2a310621848f110c0611e7f4.tar.gz
xmlgraphics-fop-d4fcf5b78def6bbc2a310621848f110c0611e7f4.zip
changed the parent to FONode
changed a few more vector and hashtable change master-name to master-reference for page-sequence, single-page-master-reference, repeatable-page-masterreference,conditional-page-master-reference added pdf text element bridge for simple text some other changes that will hopefully make things simpler to handle in the future git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/extensions/ExtensionObj.java')
-rw-r--r--src/org/apache/fop/extensions/ExtensionObj.java21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/org/apache/fop/extensions/ExtensionObj.java b/src/org/apache/fop/extensions/ExtensionObj.java
index 170e198be..3ae492d18 100644
--- a/src/org/apache/fop/extensions/ExtensionObj.java
+++ b/src/org/apache/fop/extensions/ExtensionObj.java
@@ -10,9 +10,6 @@ package org.apache.fop.extensions;
import org.apache.fop.fo.*;
import org.apache.fop.layout.*;
import org.apache.fop.apps.FOPException;
-import org.apache.fop.fo.properties.ExtensionPropertyMapping;
-
-import org.xml.sax.Attributes;
/**
* base class for extension objects
@@ -24,7 +21,7 @@ public abstract class ExtensionObj extends FObj {
* @param parent the parent formatting object
* @param propertyList the explicit properties of this object
*/
- public ExtensionObj(FObj parent) {
+ public ExtensionObj(FONode parent) {
super(parent);
}
@@ -32,7 +29,6 @@ public abstract class ExtensionObj extends FObj {
* Called for extensions within a page sequence or flow. These extensions
* are allowed to generate visible areas within the layout.
*
- *
* @param area
*/
public Status layout(Area area) throws FOPException {
@@ -52,18 +48,5 @@ public abstract class ExtensionObj extends FObj {
ExtensionArea extArea = new ExtensionArea(this);
areaTree.addExtension(this);
}
-
- protected PropertyListBuilder getListBuilder() {
- PropertyListBuilder plb = new PropertyListBuilder();
- plb.addList(ExtensionPropertyMapping.getGenericMappings());
- return plb;
- }
-
- public void handleAttrs(Attributes attlist) throws FOPException {
- String uri = ExtensionElementMapping.URI;
- properties =
- getListBuilder().makeList(uri, name, attlist,
- (parent == null) ? null
- : parent.properties, parent);
- }
}
+