SourceForge.net Logo
aXSL API 0.2

org.axsl.text
Interface TextServer


public interface TextServer

This class encapsulates the various text processing functions.


Method Summary
 EagerLineBreaker provideEagerLineBreaker(LineBreakControl control, LineBreakHandler handler, FontConsumer fontConsumer)
          Returns a LineBreaker instance that can be used by the client to compute line-breaks.
 PatientLineBreaker providePatientLineBreaker(LineBreakControl control, LineBreakHandler handler, FontConsumer fontConsumer)
          Returns a LineBreaker instance that can be used by the client to compute line-breaks.
 

Method Detail

provideEagerLineBreaker

EagerLineBreaker provideEagerLineBreaker(LineBreakControl control,
                                         LineBreakHandler handler,
                                         FontConsumer fontConsumer)
Returns a LineBreaker instance that can be used by the client to compute line-breaks.

Parameters:
control - The LineBreakControl instance which will be responsible to provide the line-breaking system with new LineOutput instances as they are needed by the system.
handler - The LineBreakHandler instance which will be responsible to catch and handle the results of the line-breaking logic.
fontConsumer - The FontConsumer used to resolve font issues.
Returns:
An EagerLineBreaker instance.

providePatientLineBreaker

PatientLineBreaker providePatientLineBreaker(LineBreakControl control,
                                             LineBreakHandler handler,
                                             FontConsumer fontConsumer)
Returns a LineBreaker instance that can be used by the client to compute line-breaks.

Parameters:
control - The LineBreakControl instance which will be responsible to provide the line-breaking system with new LineOutput instances as they are needed by the system.
handler - The LineBreakHandler instance which will be responsible to catch and handle the results of the line-breaking logic.
fontConsumer - The FontConsumer used to resolve font issues.
Returns:
A PatientLineBreaker instance.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.