@@ -91,7 +91,7 @@ public String encodeCharacter(char[] immune, Character c)
9191 * <li>&name;</li>
9292 * </ul>
9393 */
94- public Character decodeCharacter (PushbackString input )
94+ public Character decodeCharacter (PushbackSequence < Character > input )
9595 {
9696 Character ret = null ;
9797 Character first ;
@@ -137,7 +137,7 @@ else if(Character.isLetter(second.charValue()))
137137 * is positioned at the character after the &#
138138 * @return The character decoded or null on failure.
139139 */
140- private static Character getNumericEntity (PushbackString input )
140+ private static Character getNumericEntity (PushbackSequence < Character > input )
141141 {
142142 Character first = input .peek ();
143143
@@ -174,7 +174,7 @@ private static Character int2char(int i)
174174 * the next char is not a 'x' or 'X'.
175175 * @return The character decoded or null on failutre.
176176 */
177- private static Character parseNumber (PushbackString input )
177+ private static Character parseNumber (PushbackSequence < Character > input )
178178 {
179179 StringBuilder sb = new StringBuilder ();
180180 Character c ;
@@ -209,7 +209,7 @@ private static Character parseNumber(PushbackString input)
209209 * is positioned at the character after the &#[xX]
210210 * @return The character decoded or null on failutre.
211211 */
212- private static Character parseHex (PushbackString input )
212+ private static Character parseHex (PushbackSequence < Character > input )
213213 {
214214 Character c ;
215215 StringBuilder sb = new StringBuilder ();
@@ -268,7 +268,7 @@ private static Character parseHex(PushbackString input)
268268 * is positioned at the character after the &.
269269 * @return The character decoded or null on failutre.
270270 */
271- private Character getNamedEntity (PushbackString input )
271+ private Character getNamedEntity (PushbackSequence < Character > input )
272272 {
273273 StringBuilder possible = new StringBuilder ();
274274 Map .Entry <CharSequence ,Character > entry ;
0 commit comments