|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.opensagres.xdocreport.document.docx.preprocessor.sax.hyperlinks.HyperlinkUtils
public class HyperlinkUtils
Utilities for Hyperlink.
Constructor Summary | |
---|---|
HyperlinkUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HyperlinkUtils()
Method Detail |
---|
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
-
public static String getEntryNameWithoutRels(String relsEntryName)
relsEntryName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |