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 IStructuredTextExpert |
StructuredTextExpertFactory.getExpert()
Obtains a IStructuredTextExpert instance for processing structured text with
a default type handler segmenting the text according to default separators.
|
static IStructuredTextExpert |
StructuredTextExpertFactory.getExpert(String type)
Obtains a IStructuredTextExpert instance for processing structured text with
the specified type handler.
|
static IStructuredTextExpert |
StructuredTextExpertFactory.getExpert(String type,
StructuredTextEnvironment environment)
Obtains a IStructuredTextExpert instance for processing structured text with
the specified type handler and the specified environment.
|
static IStructuredTextExpert |
StructuredTextExpertFactory.getStatefulExpert(String type)
Obtains a IStructuredTextExpert instance for processing structured text with
the specified type handler.
|
static IStructuredTextExpert |
StructuredTextExpertFactory.getStatefulExpert(String type,
StructuredTextEnvironment environment)
Obtains a IStructuredTextExpert instance for processing structured text with
the specified type handler and the specified environment.
|
static IStructuredTextExpert |
StructuredTextExpertFactory.getStatefulExpert(StructuredTextTypeHandler handler,
StructuredTextEnvironment environment)
Obtains a IStructuredTextExpert instance for processing structured text with
the specified type handler and the specified environment.
|
Modifier and Type | Field and Description |
---|---|
protected IStructuredTextExpert |
StructuredTextCharTypes.expert
The IStructuredTextExpert instance which created this instance.
|
Modifier and Type | Method and Description |
---|---|
int |
StructuredTextTypeHandler.getDirection(IStructuredTextExpert expert,
String text)
Indicates the base text direction appropriate for an instance of
structured text.
|
int |
StructuredTextTypeHandler.getDirection(IStructuredTextExpert expert,
String text,
StructuredTextCharTypes charTypes)
Indicates the base text direction appropriate for an instance of
structured text.
|
String |
StructuredTextTypeHandler.getSeparators(IStructuredTextExpert expert)
Indicates the separators to use for the current handler.
|
int |
StructuredTextTypeHandler.getSpecialsCount(IStructuredTextExpert expert)
Indicates the number of special cases handled by the current handler.
|
int |
StructuredTextTypeHandler.indexOfSpecial(IStructuredTextExpert expert,
String text,
StructuredTextCharTypes charTypes,
StructuredTextOffsets 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 |
StructuredTextTypeHandler.processSpecial(IStructuredTextExpert expert,
String text,
StructuredTextCharTypes charTypes,
StructuredTextOffsets offsets,
int caseNumber,
int separLocation)
Handles special cases specific to this handler.
|
boolean |
StructuredTextTypeHandler.skipProcessing(IStructuredTextExpert expert,
String text,
StructuredTextCharTypes charTypes)
Checks if there is a need for processing structured text.
|
Constructor and Description |
---|
StructuredTextCharTypes(IStructuredTextExpert expert,
String text)
Constructor
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.