diff options
author | Glen Mazza <gmazza@apache.org> | 2004-07-27 23:23:24 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-07-27 23:23:24 +0000 |
commit | a65925f0dbb1c4fe68887fe9deb9f90ba159dfbd (patch) | |
tree | 36967a9a65b3c1b386490bd379993911eea0bcc3 /src/java/org/apache/fop/fo/flow/TableColumn.java | |
parent | 33e6293e88e33dfba73f66e7afee63323f884119 (diff) | |
download | xmlgraphics-fop-a65925f0dbb1c4fe68887fe9deb9f90ba159dfbd.tar.gz xmlgraphics-fop-a65925f0dbb1c4fe68887fe9deb9f90ba159dfbd.zip |
Provided validateChildFO() methods for the "easy" FO's--i.e., those
with an empty content model.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197844 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableColumn.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/TableColumn.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableColumn.java b/src/java/org/apache/fop/fo/flow/TableColumn.java index 7f7089783..c6659690e 100644 --- a/src/java/org/apache/fop/fo/flow/TableColumn.java +++ b/src/java/org/apache/fop/fo/flow/TableColumn.java @@ -20,6 +20,7 @@ package org.apache.fop.fo.flow; // XML import org.xml.sax.Attributes; +import org.xml.sax.Locator; import org.xml.sax.SAXParseException; // FOP @@ -56,6 +57,15 @@ public class TableColumn extends FObj { } /** + * @see org.apache.fop.fo.FONode#validateChildNode(Locator, String, String) + * XSL Content Model: empty + */ + protected void validateChildNode(Locator loc, String nsURI, String localName) + throws SAXParseException { + invalidChildError(loc, nsURI, localName); + } + + /** * @see org.apache.fop.fo.FObj#addProperties */ protected void addProperties(Attributes attlist) throws FOPException { |