|
XBRLAPIA Java API for XBRL |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LabelCache
This interface defines the capabilities of aspect label caching systems.
Label caching systems are intended to improve the performance of aspect rendering systems by determining aspect and aspect value labels in advance.
| Method Summary | |
|---|---|
void |
cacheLabel(Class<?> labellerClass,
URI aspectId,
String valueId,
String locale,
URI resourceRole,
URI linkRole,
String label,
boolean isFallbackLabel)
Caches the given label, replacing earlier versions of such label in the cache to ensure that there is only ever one label in the cache that matches the selection criteria. |
String |
getLabel(Class<?> labellerClass,
URI aspectId,
String valueId,
String locale,
URI resourceRole,
URI linkRole)
|
String |
getLabelWithoutFallback(Class<?> labellerClass,
URI aspectId,
String valueId,
String locale,
URI resourceRole,
URI linkRole)
|
| Method Detail |
|---|
String getLabel(Class<?> labellerClass,
URI aspectId,
String valueId,
String locale,
URI resourceRole,
URI linkRole)
throws XBRLException
aspectId - the ID of the aspect - must not be null.valueId - The id of the aspect value - must not be null.locale - The XML language code - can be null.resourceRole - The label resource role - can be null.linkRole - The link role for the extended link containing the label - can be null.
XBRLException
String getLabelWithoutFallback(Class<?> labellerClass,
URI aspectId,
String valueId,
String locale,
URI resourceRole,
URI linkRole)
throws XBRLException
aspectId - the ID of the aspect - must not be null.valueId - The id of the aspect value - must not be null.locale - The XML language code - can be null.resourceRole - The label resource role - can be null.linkRole - The link role for the extended link containing the label - can be null.
XBRLException
void cacheLabel(Class<?> labellerClass,
URI aspectId,
String valueId,
String locale,
URI resourceRole,
URI linkRole,
String label,
boolean isFallbackLabel)
throws XBRLException
aspectId - the ID of the aspect - must not be null.valueId - The id of the aspect value - must not be null.locale - The XML language code - can be null.resourceRole - The label resource role - can be null.linkRole - The link role for the extended link containing the label - can be null.label - The label to cache - must not be null.isFallbackLabel - true if the label is a fallback label and false otherwise.
XBRLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||