aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-05-28 12:49:15 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-05-28 12:49:15 +0000
commit78e587370e9f1013bc14027a7eaf932e8a400aaa (patch)
tree29052afdb593b985d5dbe7e18cb3d5f311868353
parent7c3df5221ff420d9b476921f9233a58a637f44b2 (diff)
downloadxmlgraphics-fop-78e587370e9f1013bc14027a7eaf932e8a400aaa.tar.gz
xmlgraphics-fop-78e587370e9f1013bc14027a7eaf932e8a400aaa.zip
hasExtensionAttachments() convenience method added
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@660926 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/fo/FObj.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/FObj.java b/src/java/org/apache/fop/fo/FObj.java
index 0bbec4d47..150abda24 100644
--- a/src/java/org/apache/fop/fo/FObj.java
+++ b/src/java/org/apache/fop/fo/FObj.java
@@ -573,6 +573,11 @@ public abstract class FObj extends FONode implements Constants {
}
}
+ /** @return true if this FObj has extension attachments */
+ public boolean hasExtensionAttachments() {
+ return extensionAttachments != null;
+ }
+
/**
* Adds a foreign attribute to this FObj.
* @param attributeName the attribute name as a QName instance