public interface AttributeQuery
Type-safe query for format attributes which control the formatting process.
ChronoMerger.createFrom(ChronoEntity, AttributeQuery, boolean)| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(AttributeKey<?> key)
Queries if a format attribute exists for given key.
|
<A> A |
get(AttributeKey<A> key)
Yields a format attribute for given key.
|
<A> A |
get(AttributeKey<A> key,
A defaultValue)
Yields a format attribute for given key.
|
boolean contains(AttributeKey<?> key)
Queries if a format attribute exists for given key.
key - attribute keytrue if attribute exists else false<A> A get(AttributeKey<A> key)
Yields a format attribute for given key.
A - generic type of attribute valuekey - attribute keyNoSuchElementException - if attribute does not exist<A> A get(AttributeKey<A> key, A defaultValue)
Yields a format attribute for given key.
A - generic type of attribute valuekey - attribute keydefaultValue - replacement value to be used if attribute does
not existCopyright © 2014–2015. All rights reserved.