diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-05-28 12:49:15 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-05-28 12:49:15 +0000 |
commit | 78e587370e9f1013bc14027a7eaf932e8a400aaa (patch) | |
tree | 29052afdb593b985d5dbe7e18cb3d5f311868353 | |
parent | 7c3df5221ff420d9b476921f9233a58a637f44b2 (diff) | |
download | xmlgraphics-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.java | 5 |
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 |