public class HyperlinkUtils
extends java.lang.Object
| Constructor and Description |
|---|
HyperlinkUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getEntryNameWithoutRels(java.lang.String relsEntryName)
Returns the entry name which uses the XML element Relationship from the given *.rels entry.
|
static java.lang.String |
getHyperlinkRegistryKey(java.lang.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(java.lang.String entryName,
java.util.Map<java.lang.String,java.lang.Object> sharedContext)
Returns the
InitialHyperlinkMap from the given sharedContext for the given entry name. |
static void |
putInitialHyperlinkMap(java.lang.String entryName,
java.util.Map<java.lang.String,java.lang.Object> sharedContext,
InitialHyperlinkMap hyperlinkMap)
Register the given
InitialHyperlinkMap in the given sharedContext for the given entry name. |
public static InitialHyperlinkMap getInitialHyperlinkMap(java.lang.String entryName, java.util.Map<java.lang.String,java.lang.Object> sharedContext)
InitialHyperlinkMap from the given sharedContext for the given entry name.entryName - sharedContext - public static void putInitialHyperlinkMap(java.lang.String entryName,
java.util.Map<java.lang.String,java.lang.Object> sharedContext,
InitialHyperlinkMap hyperlinkMap)
InitialHyperlinkMap in the given sharedContext for the given entry name.entryName - sharedContext - hyperlinkMap - public static java.lang.String getHyperlinkRegistryKey(java.lang.String entryName)
entryName - public static java.lang.String getEntryNameWithoutRels(java.lang.String relsEntryName)
relsEntryName - Copyright © 2019. All Rights Reserved.