com.ibm.icu.lang

Interface UProperty.NameChoice

public static interface UProperty.NameChoice

Selector constants for UCharacter.getPropertyName() and UCharacter.getPropertyValueName(). These selectors are used to choose which name is returned for a given property or value. All properties and values have a long name. Most have a short name, but some do not. Unicode allows for additional names, beyond the long and short name, which would be indicated by LONG + i, where i=1, 2,...
See Also:
UCharacter.getPropertyName(int,int), UCharacter.getPropertyValueName(int,int,int)

Field Summary

static int
COUNT
The number of predefined property name choices.
static int
LONG
Selector for the long name of a property or value.
static int
SHORT
Selector for the abbreviated name of a property or value.

Field Details

COUNT

public static final int COUNT
The number of predefined property name choices. Individual properties or values may have more than COUNT aliases.
Field Value:
2

LONG

public static final int LONG
Selector for the long name of a property or value. All properties and values have a long name.
Field Value:
1

SHORT

public static final int SHORT
Selector for the abbreviated name of a property or value. Most properties and values have a short name; those that do not return null.
Field Value:
0

Copyright (c) 2006 IBM Corporation and others.