Imported Upstream version 58.1
[platform/upstream/icu.git] / source / common / unicode / filteredbrk.h
index fff9bb5..2611511 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /*
 ********************************************************************************
 *   Copyright (C) 1997-2015, International Business Machines
@@ -13,8 +15,6 @@
 
 #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
 
-#ifndef U_HIDE_DRAFT_API
-
 U_NAMESPACE_BEGIN
 
 /**
@@ -31,13 +31,13 @@ U_NAMESPACE_BEGIN
  *  but with "Mr." as an exception, a filtered break iterator
  *  would consider the string "Mr. Smith" to be a single segment.
  *
- * @draft ICU 56
+ * @stable ICU 56
  */
 class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
  public:
   /**
    *  destructor.
-   * @draft ICU 56
+   * @stable ICU 56
    */
   virtual ~FilteredBreakIteratorBuilder();
 
@@ -51,7 +51,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
    * @param where the locale.
    * @param status The error code.
    * @return the new builder
-   * @draft ICU 56
+   * @stable ICU 56
    */
   static FilteredBreakIteratorBuilder *createInstance(const Locale& where, UErrorCode& status);
 
@@ -60,7 +60,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
    * In this state, it will not suppress any segment boundaries.
    * @param status The error code.
    * @return the new builder
-   * @draft ICU 56
+   * @stable ICU 56
    */
   static FilteredBreakIteratorBuilder *createInstance(UErrorCode &status);
 
@@ -72,7 +72,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
    * @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.
-   * @draft ICU 56
+   * @stable ICU 56
    */
   virtual UBool suppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
 
@@ -85,7 +85,7 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
    * @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.
-   * @draft ICU 56
+   * @stable ICU 56
    */
   virtual UBool unsuppressBreakAfter(const UnicodeString& string, UErrorCode& status) = 0;
 
@@ -99,14 +99,14 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
    * @param adoptBreakIterator the break iterator to adopt
    * @param status error code
    * @return the new BreakIterator, owned by the caller.
-   * @draft ICU 56
+   * @stable ICU 56
    */
   virtual BreakIterator *build(BreakIterator* adoptBreakIterator, UErrorCode& status) = 0;
 
  protected:
   /**
    * For subclass use
-   * @draft ICU 56
+   * @stable ICU 56
    */
   FilteredBreakIteratorBuilder();
 };
@@ -114,8 +114,6 @@ class U_COMMON_API FilteredBreakIteratorBuilder : public UObject {
 
 U_NAMESPACE_END
 
-#endif  /* U_HIDE_DRAFT_API */
-
 #endif // #if !UCONFIG_NO_BREAK_ITERATION && !UCONFIG_NO_FILTERED_BREAK_ITERATION
 
 #endif // #ifndef FILTEREDBRK_H