public class HyperlinkUtils extends Object
| Constructor and Description |
|---|
HyperlinkUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getEntryNameWithoutRels(String relsEntryName)
Returns the entry name which uses the XML element Relationship from the given *.rels entry.
|
static String |
getHyperlinkRegistryKey(String entryName)
Returns the key used for the template engine directive which must use the hyperlink regitsry for the given
entryName (ex :"word/document.xml" will returns "___HyperlinkRegistryword_document_xml")
|
static InitialHyperlinkMap |
getInitialHyperlinkMap(String entryName,
Map<String,Object> sharedContext)
Returns the
InitialHyperlinkMap from the given sharedContext for the given entry name. |
static void |
putInitialHyperlinkMap(String entryName,
Map<String,Object> sharedContext,
InitialHyperlinkMap hyperlinkMap)
Register the given
InitialHyperlinkMap in the given sharedContext for the given entry name. |
public static InitialHyperlinkMap getInitialHyperlinkMap(String entryName, Map<String,Object> sharedContext)
InitialHyperlinkMap from the given sharedContext for the given entry name.entryName - sharedContext - public static void putInitialHyperlinkMap(String entryName, Map<String,Object> sharedContext, InitialHyperlinkMap hyperlinkMap)
InitialHyperlinkMap in the given sharedContext for the given entry name.entryName - sharedContext - hyperlinkMap - public static String getHyperlinkRegistryKey(String entryName)
entryName - Copyright © 2017. All Rights Reserved.