The IntlPartsIterator class

Introduction

Objects of this class can be obtained from IntlBreakIterator objects. While the break iterators provide a sequence of boundary positions when iterated, IntlPartsIterator objects provide, as a convenience, the text fragments comprehended between two successive boundaries.

The keys may represent the offset of the left boundary, right boundary, or they may just the sequence of non-negative integers. See IntlBreakIterator::getPartsIterator.

Class synopsis

IntlPartsIterator
extends IntlIterator
/* Constants */
public const int IntlPartsIterator::KEY_SEQUENTIAL;
public const int IntlPartsIterator::KEY_LEFT;
public const int IntlPartsIterator::KEY_RIGHT;
/* Methods */
public IntlBreakIterator IntlPartsIterator::getBreakIterator()
/* Inherited methods */
public mixed current()
public mixed key()
public void next()
public void rewind()
public bool valid()

Predefined Constants

IntlPartsIterator::KEY_SEQUENTIAL

IntlPartsIterator::KEY_LEFT

IntlPartsIterator::KEY_RIGHT

Table of Contents