#include "unicode/brkiter.h"
#if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
-#ifndef U_HIDE_INTERNAL_API
U_NAMESPACE_BEGIN
* but with "Mr." as an exception, a filtered break iterator
* would consider the string "Mr. Smith" to be a single segment.
*
- * @internal technology preview
+ * @draft ICU 56
*/
class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
public:
/**
* destructor.
- * @internal technology preview
+ * @draft ICU 56
*/
virtual ~FilteredBreakIteratorBuilder();
* @param where the locale.
* @param status The error code.
* @return the new builder
- * @internal technology preview
+ * @draft ICU 56
*/
static FilteredBreakIteratorBuilder *createInstance(const Locale& where, UErrorCode& status);
* In this state, it will not suppress any segment boundaries.
* @param status The error code.
* @return the new builder
- * @internal technology preview
+ * @draft ICU 56
*/
static FilteredBreakIteratorBuilder *createInstance(UErrorCode &status);
* @param status error code
* @return returns TRUE if the string was not present and now added,
* FALSE if the call was a no-op because the string was already being suppressed.
- * @internal technology preview
+ * @draft ICU 56
*/
virtual UBool suppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
* @param status error code
* @return returns TRUE if the string was present and now removed,
* FALSE if the call was a no-op because the string was not being suppressed.
- * @internal technology preview
+ * @draft ICU 56
*/
virtual UBool unsuppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
* @param adoptBreakIterator the break iterator to adopt
* @param status error code
* @return the new BreakIterator, owned by the caller.
- * @internal technology preview
+ * @draft ICU 56
*/
virtual BreakIterator *build(BreakIterator* adoptBreakIterator, UErrorCode& status) = 0;
protected:
/**
* For subclass use
- * @internal technology preview
+ * @draft ICU 56
*/
FilteredBreakIteratorBuilder();
};
U_NAMESPACE_END
-#endif /* U_HIDE_INTERNAL_API */
#endif // #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
#endif // #ifndef FILTEREDBRK_H