[FOray-commit] SF.net SVN: foray: [10232] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-10-02 23:01:14
|
Revision: 10232
http://foray.svn.sourceforge.net/foray/?rev=10232&view=rev
Author: victormote
Date: 2007-10-02 16:01:18 -0700 (Tue, 02 Oct 2007)
Log Message:
-----------
Clean up some javadoc problems.
Modified Paths:
--------------
trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnCeiling.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnFloor.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRgb.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRound.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnSystemColor.java
trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphicsDevice.java
trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFTextPainter.java
trunk/foray/foray-hyphen/src/java/org/foray/hyphen/util/WordList.java
trunk/foray/foray-hyphen/src/javatest/org/foray/hyphen/util/TestNaturalLanguage.java
Modified: trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java
===================================================================
--- trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-font/src/java/org/foray/font/SystemFont.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -50,7 +50,7 @@
/**
* Handles interface of system (AWT) fonts to the client application.
*/
-final class SystemFont extends org.foray.font.FOrayFont {
+public final class SystemFont extends org.foray.font.FOrayFont {
/** The logical font families used by AWT Fonts. */
public static final String[] LOGICAL_FONT_FAMILIES = {
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnCeiling.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnCeiling.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnCeiling.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -35,7 +35,7 @@
/**
* The "ceiling" function in XSL-FO.
*/
-class FnCeiling extends Function {
+public class FnCeiling extends Function {
/** The operand to this function. */
private Expr operand1;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnFloor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnFloor.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnFloor.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -35,7 +35,7 @@
/**
* The "floor" function in XSL-FO.
*/
-class FnFloor extends Function {
+public class FnFloor extends Function {
/** The operand to this function. */
private Expr operand1;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRgb.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRgb.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRgb.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -36,7 +36,7 @@
/**
* The "rgb" function in XSL-FO.
*/
-class FnRgb extends Function {
+public class FnRgb extends Function {
/** Constant indicating the number of channels in the RGB color space, that
* is, 3. */
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRound.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRound.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnRound.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -35,7 +35,7 @@
/**
* The "round" function in XSL-FO.
*/
-class FnRound extends Function {
+public class FnRound extends Function {
/** The arguments to this function. */
private Expr operand1;
Modified: trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnSystemColor.java
===================================================================
--- trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnSystemColor.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-fotree/src/java/org/foray/fotree/value/FnSystemColor.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -35,7 +35,7 @@
/**
* The "system-color" function in XSL-FO.
*/
-class FnSystemColor extends Function {
+public class FnSystemColor extends Function {
/** The name of this system color. */
private DtName colorName;
Modified: trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphicsDevice.java
===================================================================
--- trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphicsDevice.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFGraphicsDevice.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -84,7 +84,6 @@
/**
* {@inheritDoc}
- * This implementation simply uses {@link #toString()}.
*/
public String getIDstring() {
return toString();
Modified: trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFTextPainter.java
===================================================================
--- trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFTextPainter.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-graphic/src/java/org/foray/graphic/batik/PDFTextPainter.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -315,7 +315,7 @@
if (bold) {
weight = org.axsl.font.Font.Weight.BOLD;
}
- final List<?> gvtFonts = (List) aci.getAttribute(
+ final List<?> gvtFonts = (List<?>) aci.getAttribute(
GVTAttributedCharacterIterator.TextAttribute.GVT_FONT_FAMILIES);
final int fsize = (int) size.floatValue();
Modified: trunk/foray/foray-hyphen/src/java/org/foray/hyphen/util/WordList.java
===================================================================
--- trunk/foray/foray-hyphen/src/java/org/foray/hyphen/util/WordList.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-hyphen/src/java/org/foray/hyphen/util/WordList.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -244,7 +244,7 @@
* be removed.
* @return The cleaned-up word.
*/
- static String removeNonWordChars(final String token) {
+ public static String removeNonWordChars(final String token) {
String newString = token;
boolean anyChanges = true;
while (anyChanges) {
@@ -331,7 +331,7 @@
* @param input The input "word".
* @return True iff the word contains one or more non-word characters.
*/
- static boolean containsNonWord(final String input) {
+ public static boolean containsNonWord(final String input) {
for (int i = 0; i < input.length(); i++) {
final char c = input.charAt(i);
final int codePoint = input.codePointAt(i);
Modified: trunk/foray/foray-hyphen/src/javatest/org/foray/hyphen/util/TestNaturalLanguage.java
===================================================================
--- trunk/foray/foray-hyphen/src/javatest/org/foray/hyphen/util/TestNaturalLanguage.java 2007-10-02 22:53:56 UTC (rev 10231)
+++ trunk/foray/foray-hyphen/src/javatest/org/foray/hyphen/util/TestNaturalLanguage.java 2007-10-02 23:01:18 UTC (rev 10232)
@@ -44,7 +44,7 @@
/**
* Tests various Strings against the method
- * {@link NaturalLanguage#validateText(String)}.
+ * {@link NaturalLanguage#validateText(CharSequence)}.
* @throws IOException For errors creating the Hyphenation server.
*/
public void testValidateText() throws IOException {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|