54 |
* characters or which is undefined over a range of characters. |
* characters or which is undefined over a range of characters. |
55 |
* |
* |
56 |
* @author Aaron M. Renn (arenn@urbanophile.com) |
* @author Aaron M. Renn (arenn@urbanophile.com) |
57 |
|
* @since 1.2 |
58 |
*/ |
*/ |
59 |
public interface AttributedCharacterIterator extends CharacterIterator |
public interface AttributedCharacterIterator extends CharacterIterator |
60 |
{ |
{ |
193 |
* |
* |
194 |
* @return A list of keys |
* @return A list of keys |
195 |
*/ |
*/ |
196 |
Set getAllAttributeKeys(); |
Set<Attribute> getAllAttributeKeys(); |
197 |
|
|
198 |
/** |
/** |
199 |
* Returns a <code>Map</code> of the attributes defined for the current |
* Returns a <code>Map</code> of the attributes defined for the current |
201 |
* |
* |
202 |
* @return A <code>Map</code> of the attributes for the current character. |
* @return A <code>Map</code> of the attributes for the current character. |
203 |
*/ |
*/ |
204 |
Map getAttributes(); |
Map<Attribute, Object> getAttributes(); |
205 |
|
|
206 |
/** |
/** |
207 |
* Returns the value of the specified attribute for the |
* Returns the value of the specified attribute for the |
231 |
* |
* |
232 |
* @return The start index of the run. |
* @return The start index of the run. |
233 |
*/ |
*/ |
234 |
int getRunStart (Set attribs); |
int getRunStart (Set<? extends Attribute> attribs); |
235 |
|
|
236 |
/** |
/** |
237 |
* Returns the index of the first character in the run that |
* Returns the index of the first character in the run that |
260 |
* |
* |
261 |
* @return The end index of the run. |
* @return The end index of the run. |
262 |
*/ |
*/ |
263 |
int getRunLimit (Set attribs); |
int getRunLimit (Set<? extends Attribute> attribs); |
264 |
|
|
265 |
/** |
/** |
266 |
* Returns the index of the character after the end of the run |
* Returns the index of the character after the end of the run |