Revision: 12920
http://sourceforge.net/p/foray/code/12920
Author: victormote
Date: 2022-12-23 14:27:49 +0000 (Fri, 23 Dec 2022)
Log Message:
-----------
Minor doc change.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/InstreamForeignObject4a.java
Modified: trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/InstreamForeignObject4a.java
===================================================================
--- trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/InstreamForeignObject4a.java 2022-12-22 17:22:25 UTC (rev 12919)
+++ trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/InstreamForeignObject4a.java 2022-12-23 14:27:49 UTC (rev 12920)
@@ -45,6 +45,9 @@
/**
* An "instream-foreign-object" object in XSL-FO.
+ * Instances of this class have one "child," the root node of an XML document from a foreign namespace.
+ * We do not treat that child as being part of the FO tree, but more like a single black box that is attached laterally
+ * to the parent instance of this class, kind of like a property.
*/
public class InstreamForeignObject4a extends FoScalable4a implements InstreamForeignObject {
@@ -86,8 +89,6 @@
@Override
protected void validateDescendants() throws FoTreeException {
- /* This object has descendants, but always from a foreign namespace. From the standpoint of the FO Tree, that
- * descendant document is not part of the FO Tree, but more like a property of this. */
this.validateEmptyContent();
}
@@ -112,7 +113,7 @@
}
@Override
- public List<ForeignXml<Document>> getChildren() {
+ public List<FoObj> getChildren() {
return Collections.emptyList();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|