Modifier and Type | Field and Description |
---|---|
static String |
TYPE_CUSTOM_OUTLINE
This outline type is used for custom, application-specific outlines.
|
static String |
TYPE_EMBEDDED_OUTLINE
This outline type is used for outlines embedded with the document.
|
static String |
TYPE_INDEX_OUTLINE
This outline type is used for outlines dynamically generated from a tag index.
|
Modifier and Type | Method and Description |
---|---|
static void |
attach(Outline<?> outline,
PropertiesProvider propertiesProvider)
Set or replace the Outline of the given type for the given
PropertiesProvider with this
outline. |
static Outline<?> |
get(PropertiesProvider propertiesProvider,
String type)
Get the Outline of the given type for the given
PropertiesProvider . |
static String |
getPropertyKey(Outline<?> outline)
Return the property key used to attach the given outline to a
PropertiesProvider . |
static String |
getPropertyKey(String type)
Return the property key used to attach outlines of the given type to a
PropertiesProvider . |
public static final String TYPE_EMBEDDED_OUTLINE
public static final String TYPE_INDEX_OUTLINE
public static final String TYPE_CUSTOM_OUTLINE
public static String getPropertyKey(String type)
PropertiesProvider
. This is the key that will be used by
attach(Outline,PropertiesProvider)
.public static String getPropertyKey(Outline<?> outline)
PropertiesProvider
. This
is the key that will be used by attach(Outline,PropertiesProvider)
.public static Outline<?> get(PropertiesProvider propertiesProvider, String type)
PropertiesProvider
. Return
null
if the requested Outline does not exist. The type of outline may be any
custom type identifier or one of the predefined ones.propertiesProvider
- the context PropertiesProvider
for which to retrieve the
Outlinetype
- the type of outline to retrievenull
public static void attach(Outline<?> outline, PropertiesProvider propertiesProvider)
PropertiesProvider
with this
outline. The type of outline may be any custom type identifier or one of the predefined ones.propertiesProvider
- the properties provider into which to put the OutlineCopyright © 2024 levigo holding gmbh. All rights reserved.