[FOray-commit] SF.net SVN: foray:[12365] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2022-01-10 00:20:09
|
Revision: 12365
http://sourceforge.net/p/foray/code/12365
Author: victormote
Date: 2022-01-10 00:20:06 +0000 (Mon, 10 Jan 2022)
Log Message:
-----------
Conform to aXSL change: Remove no-longer-needed interface.
Modified Paths:
--------------
trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FoTextFlow4a.java
trunk/foray/foray-orthography/src/main/java/org/foray/orthography/TextFlow4a.java
Modified: trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FoTextFlow4a.java
===================================================================
--- trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FoTextFlow4a.java 2022-01-09 22:32:56 UTC (rev 12364)
+++ trunk/foray/foray-fotree/src/main/java/org/foray/fotree/fo/obj/FoTextFlow4a.java 2022-01-10 00:20:06 UTC (rev 12365)
@@ -35,7 +35,6 @@
import org.axsl.common.para.ParaNode;
import org.axsl.fotree.text.FoToken;
import org.axsl.fotree.text.FoTokenFlow;
-import org.axsl.orthography.TokenFlowFactory;
import java.util.ArrayList;
import java.util.List;
@@ -46,14 +45,6 @@
*/
public class FoTextFlow4a implements FoTokenFlow, ParaBranch {
- /** Singleton factory. */
- private static final TokenFlowFactory<FoTextFlow4a> FACTORY = new TokenFlowFactory<FoTextFlow4a>() {
- @Override
- public FoTextFlow4a makeTextFlow() {
- return new FoTextFlow4a();
- }
- };
-
/** The tokens (children) of this token flow. */
private List<FoToken> tokens = new ArrayList<FoToken>();
@@ -72,14 +63,6 @@
this.tokens.add(segment);
}
- /**
- * Returns the singleton factory that creates instances of this class.
- * @return The singleton factory that creates instances of this class.
- */
- public static TokenFlowFactory<FoTextFlow4a> getFactory() {
- return FACTORY;
- }
-
@Override
public Type getParaNodeType() {
return Type.BRANCH;
Modified: trunk/foray/foray-orthography/src/main/java/org/foray/orthography/TextFlow4a.java
===================================================================
--- trunk/foray/foray-orthography/src/main/java/org/foray/orthography/TextFlow4a.java 2022-01-09 22:32:56 UTC (rev 12364)
+++ trunk/foray/foray-orthography/src/main/java/org/foray/orthography/TextFlow4a.java 2022-01-10 00:20:06 UTC (rev 12365)
@@ -33,7 +33,6 @@
import org.axsl.common.para.ParaNode;
import org.axsl.fotree.text.FoToken;
import org.axsl.fotree.text.FoTokenFlow;
-import org.axsl.orthography.TokenFlowFactory;
import java.util.ArrayList;
import java.util.List;
@@ -44,14 +43,6 @@
*/
public class TextFlow4a implements FoTokenFlow {
- /** Singleton factory. */
- private static final TokenFlowFactory<TextFlow4a> FACTORY = new TokenFlowFactory<TextFlow4a>() {
- @Override
- public TextFlow4a makeTextFlow() {
- return new TextFlow4a();
- }
- };
-
/** The tokens (children) of this text flow. */
private List<FoToken> tokens = new ArrayList<FoToken>();
@@ -70,14 +61,6 @@
this.tokens.add(segment);
}
- /**
- * Returns the singleton factory that creates instances of this class.
- * @return The singleton factory that creates instances of this class.
- */
- public static TokenFlowFactory<TextFlow4a> getFactory() {
- return FACTORY;
- }
-
@Override
public ParaNode paraNodeAt(final int nodeIndex) {
return this.tokens.get(nodeIndex);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|