diff options
author | Glen Mazza <gmazza@apache.org> | 2004-08-07 13:01:17 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-08-07 13:01:17 +0000 |
commit | c578ceae802518be510f14b2bc9023f1be0ad21a (patch) | |
tree | 205a4da0eddf897a091e0c57e3eaafe34f77d53c /src/java/org/apache/fop/fo/pagination/Declarations.java | |
parent | a8b6d28e90c897e76f817b3fcdda056d6182fc64 (diff) | |
download | xmlgraphics-fop-c578ceae802518be510f14b2bc9023f1be0ad21a.tar.gz xmlgraphics-fop-c578ceae802518be510f14b2bc9023f1be0ad21a.zip |
1. new FONode.invalidChildError method added that will takes a "ruleViolated" string for more detailed error messages.
2. FO_URI added to FONode to decrease the number of imports of FOElementMapping within the FONode subclasses.
3. Layout logic moved from fo.flow.BasicLink to a new BasicLinkLayoutManager class.
4. BidiLayoutManager constructor modified, now needs the flow.BidiOverride object.
5. ListItemLayoutManager setup moved from AddLMManager to flow.Listitem and layoutmgr.list.ListItemLayoutManager.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197859 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Declarations.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/Declarations.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Declarations.java b/src/java/org/apache/fop/fo/pagination/Declarations.java index f16b4fb82..7cc553385 100644 --- a/src/java/org/apache/fop/fo/pagination/Declarations.java +++ b/src/java/org/apache/fop/fo/pagination/Declarations.java @@ -29,7 +29,6 @@ import org.xml.sax.Locator; import org.xml.sax.SAXParseException; // FOP -import org.apache.fop.fo.FOElementMapping; import org.apache.fop.fo.FONode; import org.apache.fop.fo.FObj; import org.apache.fop.fo.XMLObj; @@ -62,7 +61,7 @@ public class Declarations extends FObj { */ protected void validateChildNode(Locator loc, String nsURI, String localName) throws SAXParseException { - if (nsURI == FOElementMapping.URI) { + if (nsURI == FO_URI) { if (!localName.equals("color-profile")) { invalidChildError(loc, nsURI, localName); } |