| Package | Description |
|---|---|
| org.eclipse.equinox.bidi.advanced |
This package provides classes for users who need finer control
on structured text handling.
|
| org.eclipse.equinox.bidi.custom |
This package provides APIs for plug-in developers to contribute
handlers for specific types of bidirectional expressions not
supported in the standard distribution.
|
| Modifier and Type | Method and Description |
|---|---|
static ISTextExpert |
STextExpertFactory.getExpert()
Obtains a ISTextExpert instance for processing structured text with
a default type handler segmenting the text according to default separators.
|
static ISTextExpert |
STextExpertFactory.getExpert(String type)
Obtains a ISTextExpert instance for processing structured text with
the specified type handler.
|
static ISTextExpert |
STextExpertFactory.getExpert(String type,
STextEnvironment environment)
Obtains a ISTextExpert instance for processing structured text with
the specified type handler and the specified environment.
|
static ISTextExpert |
STextExpertFactory.getStatefulExpert(STextTypeHandler handler,
STextEnvironment environment)
Obtains a ISTextExpert instance for processing structured text with
the specified type handler and the specified environment.
|
static ISTextExpert |
STextExpertFactory.getStatefulExpert(String type)
Obtains a ISTextExpert instance for processing structured text with
the specified type handler.
|
static ISTextExpert |
STextExpertFactory.getStatefulExpert(String type,
STextEnvironment environment)
Obtains a ISTextExpert instance for processing structured text with
the specified type handler and the specified environment.
|
| Modifier and Type | Field and Description |
|---|---|
protected ISTextExpert |
STextCharTypes.expert
The ISTextExpert instance which created this instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
STextTypeHandler.getDirection(ISTextExpert expert,
String text)
Indicates the base text direction appropriate for an instance of
structured text.
|
int |
STextTypeHandler.getDirection(ISTextExpert expert,
String text,
STextCharTypes charTypes)
Indicates the base text direction appropriate for an instance of
structured text.
|
String |
STextTypeHandler.getSeparators(ISTextExpert expert)
Indicates the separators to use for the current handler.
|
int |
STextTypeHandler.getSpecialsCount(ISTextExpert expert)
Indicates the number of special cases handled by the current handler.
|
int |
STextTypeHandler.indexOfSpecial(ISTextExpert expert,
String text,
STextCharTypes charTypes,
STextOffsets offsets,
int caseNumber,
int fromIndex)
Locates occurrences of special strings within a structured text
and returns their indexes one after the other in successive calls.
|
int |
STextTypeHandler.processSpecial(ISTextExpert expert,
String text,
STextCharTypes charTypes,
STextOffsets offsets,
int caseNumber,
int separLocation)
Handles special cases specific to this handler.
|
boolean |
STextTypeHandler.skipProcessing(ISTextExpert expert,
String text,
STextCharTypes charTypes)
Checks if there is a need for processing structured text.
|
| Constructor and Description |
|---|
STextCharTypes(ISTextExpert expert,
String text)
Constructor
|
Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.