public interface Facet
Modifier and Type | Interface and Description |
---|---|
static class |
Facet.Type |
Modifier and Type | Field and Description |
---|---|
static Facet.Type |
ENUMERATION
The facet type enumeration.
|
static Facet.Type |
FRACTION_DIGITS
The facet type fractionDigits.
|
static Facet.Type |
LENGTH
The facet type length.
|
static Facet.Type |
MAX_EXCLUSIVE
The facet type maxExclusive.
|
static Facet.Type |
MAX_INCLUSIVE
The facet type maxInclusive.
|
static Facet.Type |
MAX_LENGTH
The facet type maxLength.
|
static Facet.Type |
MIN_EXCLUSIVE
The facet type minExclusive.
|
static Facet.Type |
MIN_INCLUSIVE
The facet type minInclusive.
|
static Facet.Type |
MIN_LENGTH
The facet type minLength.
|
static Facet.Type |
PATTERN
The facet type pattern.
|
static Facet.Type |
TOTAL_DIGITS
The facet type totalDigits.
|
Modifier and Type | Method and Description |
---|---|
long |
getNumValue()
If the facet has the types
FRACTION_DIGITS or TOTAL_DIGITS :
Returns the facet value. |
Facet.Type |
getType()
Returns the facet type.
|
java.lang.String |
getValue()
If the facet has the types
MAX_EXCLUSIVE , MIN_EXCLUSIVE ,
MAX_INCLUSIVE , or MIN_INCLUSIVE : Returns the facet value. |
java.lang.String[] |
getValues()
If the facet has the types
ENUMERATION or PATTERN :
Used to fetch the possible values. |
static final Facet.Type ENUMERATION
The facet type enumeration. Use the method getValues()
to query for the values.
static final Facet.Type FRACTION_DIGITS
The facet type fractionDigits. Use the method getNumValue()
to query for the values.
static final Facet.Type LENGTH
The facet type length. Use the method getNumValue()
to query for the values.
static final Facet.Type MAX_LENGTH
The facet type maxLength. Use the method getNumValue()
to query for the values.
static final Facet.Type MAX_EXCLUSIVE
The facet type maxExclusive. Use the method getValue()
to
query for the value.
static final Facet.Type MAX_INCLUSIVE
The facet type maxInclusive. Use the method getValue()
to
query for the value.
static final Facet.Type MIN_LENGTH
The facet type minLength. Use the method getNumValue()
to query for the values.
static final Facet.Type MIN_EXCLUSIVE
The facet type minExclusive. Use the method getValue()
to
query for the value.
static final Facet.Type MIN_INCLUSIVE
The facet type minInclusive. Use the method getValue()
to
query for the value.
static final Facet.Type PATTERN
The facet type pattern. Use the method getValues()
to query for the values.
static final Facet.Type TOTAL_DIGITS
The facet type totalDigits. Use the method getNumValue()
to query for the values.
Facet.Type getType()
Returns the facet type.
java.lang.String[] getValues()
If the facet has the types ENUMERATION
or PATTERN
:
Used to fetch the possible values.
java.lang.String getValue()
If the facet has the types MAX_EXCLUSIVE
, MIN_EXCLUSIVE
,
MAX_INCLUSIVE
, or MIN_INCLUSIVE
: Returns the facet value.
long getNumValue()
If the facet has the types FRACTION_DIGITS
or TOTAL_DIGITS
:
Returns the facet value.