private final UnicodeSet numerics = new UnicodeSet();
private final UnicodeSet identifierProfile = new UnicodeSet(0, 0x10FFFF);
+ /**
+ * Create an identifier info object. Subsequently, call {@link #setIdentifier(String)}, etc.
+ * {@link #setIdentifierProfile(UnicodeSet)}
+ * @internal
+ */
+ public IdentifierInfo() {
+ super();
+ }
+
private IdentifierInfo clear() {
requiredScripts.clear();
scriptSetSet.clear();
* Find out which scripts are in common among the alternates.
*
* @return the set of scripts that are in common among the alternates.
+ * @internal
*/
public BitSet getCommonAmongAlternates() {
return (BitSet) commonAmongAlternates.clone();
return RestrictionLevel.MINIMALLY_RESTRICTIVE;
}
+ /**
+ * See Object.toString()
+ * @internal
+ */
@Override
public String toString() {
return identifier + ", " + identifierProfile.toPattern(false) + ", " + getRestrictionLevel() + ", "
}
return bitset;
}
-
+
+
// public static final class FreezableBitSet extends BitSet implements Freezable<FreezableBitSet> {
// private boolean frozen;
//
*/
public class SpoofChecker {
+ /**
+ * Constants from UAX 31 for use in setRestrictionLevel.
+ * @internal
+ */
public enum RestrictionLevel {
/**
* Only ASCII characters: U+0000..U+007F
/**
* The restriction level that the text meets, if RESTRICTION_LEVEL is set; otherwise null.
*
- * @stable ICU 4.6
+ * @internal
*/
public RestrictionLevel restrictionLevel;