From f61ea0e560c5573021f3003e61f8c4d11ebc2cdc Mon Sep 17 00:00:00 2001 From: Alan Liu Date: Fri, 14 Apr 2000 01:37:27 +0000 Subject: [PATCH] Fix javadoc errors X-SVN-Rev: 1129 --- .../src/com/ibm/icu/text/Transliterator.java | 52 +++++++------------ icu4j/src/com/ibm/text/Transliterator.java | 52 +++++++------------ 2 files changed, 40 insertions(+), 64 deletions(-) diff --git a/icu4j/src/com/ibm/icu/text/Transliterator.java b/icu4j/src/com/ibm/icu/text/Transliterator.java index 7e25b80b5af..11ba0eb92e6 100755 --- a/icu4j/src/com/ibm/icu/text/Transliterator.java +++ b/icu4j/src/com/ibm/icu/text/Transliterator.java @@ -5,8 +5,8 @@ ******************************************************************************* * * $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/Transliterator.java,v $ - * $Date: 2000/03/10 04:07:24 $ - * $Revision: 1.14 $ + * $Date: 2000/04/14 01:37:27 $ + * $Revision: 1.15 $ * ***************************************************************************************** */ @@ -210,7 +210,7 @@ import java.text.MessageFormat; *

Copyright © IBM Corporation 1999. All rights reserved. * * @author Alan Liu - * @version $RCSfile: Transliterator.java,v $ $Revision: 1.14 $ $Date: 2000/03/10 04:07:24 $ + * @version $RCSfile: Transliterator.java,v $ $Revision: 1.15 $ $Date: 2000/04/14 01:37:27 $ */ public abstract class Transliterator { /** @@ -494,22 +494,8 @@ public abstract class Transliterator { * method has been made. * * @param text the buffer holding transliterated and untransliterated text - * @param index an array of three integers. - * - *

- * + * @param index the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. * @param insertion text to be inserted and possibly * transliterated into the translation buffer at * index.limit. If null then no text @@ -543,16 +529,16 @@ public abstract class Transliterator { * Transliterates the portion of the text buffer that can be * transliterated unambiguosly after a new character has been * inserted, typically as a result of a keyboard event. This is a - * convenience method; see {@link - * #transliterate(Replaceable, Position, String)} for details. + * convenience method; see {@link #transliterate(Replaceable, + * Transliterator.Position, String)} for details. * @param text the buffer holding transliterated and * untransliterated text - * @param index an array of three integers. See {@link - * #transliterate(Replaceable, Position, String)}. + * @param index the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. * @param insertion text to be inserted and possibly * transliterated into the translation buffer at * index.limit. - * @see #transliterate(Replaceable, Position, String) + * @see #transliterate(Replaceable, Transliterator.Position, String) */ public final void transliterate(Replaceable text, Position index, char insertion) { @@ -562,13 +548,13 @@ public abstract class Transliterator { /** * Transliterates the portion of the text buffer that can be * transliterated unambiguosly. This is a convenience method; see - * {@link #transliterate(Replaceable, Position, String)} for - * details. + * {@link #transliterate(Replaceable, Transliterator.Position, + * String)} for details. * @param text the buffer holding transliterated and * untransliterated text - * @param index an array of three integers. See {@link - * #transliterate(Replaceable, Position, String)}. - * @see #transliterate(Replaceable, Position, String) + * @param index the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. + * @see #transliterate(Replaceable, Transliterator.Position, String) */ public final void transliterate(Replaceable text, Position index) { transliterate(text, index, null); @@ -620,8 +606,10 @@ public abstract class Transliterator { * * @param text the buffer holding transliterated and * untransliterated text - * @param index an array of three integers. See {@link - * #transliterate(Replaceable, Position, String)}. + * @param pos the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. + * @param incremental if true, assume more text may be coming after + * pos.limit. Otherwise, assume the text is complete. * @see #transliterate */ protected abstract void handleTransliterate(Replaceable text, @@ -638,7 +626,7 @@ public abstract class Transliterator { * @return The maximum number of preceding context characters this * transliterator needs to examine */ - final int getMaximumContextLength() { + protected final int getMaximumContextLength() { return maximumContextLength; } diff --git a/icu4j/src/com/ibm/text/Transliterator.java b/icu4j/src/com/ibm/text/Transliterator.java index 500fd574127..a4a5c20b09c 100755 --- a/icu4j/src/com/ibm/text/Transliterator.java +++ b/icu4j/src/com/ibm/text/Transliterator.java @@ -5,8 +5,8 @@ ******************************************************************************* * * $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/Transliterator.java,v $ - * $Date: 2000/03/10 04:07:24 $ - * $Revision: 1.14 $ + * $Date: 2000/04/14 01:37:27 $ + * $Revision: 1.15 $ * ***************************************************************************************** */ @@ -210,7 +210,7 @@ import java.text.MessageFormat; *

Copyright © IBM Corporation 1999. All rights reserved. * * @author Alan Liu - * @version $RCSfile: Transliterator.java,v $ $Revision: 1.14 $ $Date: 2000/03/10 04:07:24 $ + * @version $RCSfile: Transliterator.java,v $ $Revision: 1.15 $ $Date: 2000/04/14 01:37:27 $ */ public abstract class Transliterator { /** @@ -494,22 +494,8 @@ public abstract class Transliterator { * method has been made. * * @param text the buffer holding transliterated and untransliterated text - * @param index an array of three integers. - * - *

- * + * @param index the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. * @param insertion text to be inserted and possibly * transliterated into the translation buffer at * index.limit. If null then no text @@ -543,16 +529,16 @@ public abstract class Transliterator { * Transliterates the portion of the text buffer that can be * transliterated unambiguosly after a new character has been * inserted, typically as a result of a keyboard event. This is a - * convenience method; see {@link - * #transliterate(Replaceable, Position, String)} for details. + * convenience method; see {@link #transliterate(Replaceable, + * Transliterator.Position, String)} for details. * @param text the buffer holding transliterated and * untransliterated text - * @param index an array of three integers. See {@link - * #transliterate(Replaceable, Position, String)}. + * @param index the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. * @param insertion text to be inserted and possibly * transliterated into the translation buffer at * index.limit. - * @see #transliterate(Replaceable, Position, String) + * @see #transliterate(Replaceable, Transliterator.Position, String) */ public final void transliterate(Replaceable text, Position index, char insertion) { @@ -562,13 +548,13 @@ public abstract class Transliterator { /** * Transliterates the portion of the text buffer that can be * transliterated unambiguosly. This is a convenience method; see - * {@link #transliterate(Replaceable, Position, String)} for - * details. + * {@link #transliterate(Replaceable, Transliterator.Position, + * String)} for details. * @param text the buffer holding transliterated and * untransliterated text - * @param index an array of three integers. See {@link - * #transliterate(Replaceable, Position, String)}. - * @see #transliterate(Replaceable, Position, String) + * @param index the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. + * @see #transliterate(Replaceable, Transliterator.Position, String) */ public final void transliterate(Replaceable text, Position index) { transliterate(text, index, null); @@ -620,8 +606,10 @@ public abstract class Transliterator { * * @param text the buffer holding transliterated and * untransliterated text - * @param index an array of three integers. See {@link - * #transliterate(Replaceable, Position, String)}. + * @param pos the start and limit of the text, the position + * of the cursor, and the start and limit of transliteration. + * @param incremental if true, assume more text may be coming after + * pos.limit. Otherwise, assume the text is complete. * @see #transliterate */ protected abstract void handleTransliterate(Replaceable text, @@ -638,7 +626,7 @@ public abstract class Transliterator { * @return The maximum number of preceding context characters this * transliterator needs to examine */ - final int getMaximumContextLength() { + protected final int getMaximumContextLength() { return maximumContextLength; }