Class ModelLinkGenerator
java.lang.Object
net.ontopia.topicmaps.nav2.impl.framework.ModelLinkGenerator
- All Implemented Interfaces:
LinkGeneratorIF
INTERNAL: class which implements interface LinkGeneratorIF.
Generate a URI link to a model page (MVS environment).
This implementation should be used by a link tag
in a customized JSP when working with the MVS approach.
Example usage within the link tag:
template="/models/topic_%model%.jsp?tm=%topicmap%&id=%id%"
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringINTERNAL: Constant String value representing the name of a template variable being replaced with the object id.Fields inherited from interface net.ontopia.topicmaps.nav2.core.LinkGeneratorIF
LINK_ID_KEY, LINK_TOPICMAP_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ContextTag contextTag, TMObjectIF tmObj, String topicmapId, String template) INTERNAL: create a String which contains link information for a Topic Map Object.generate(ContextTag contextTag, TopicMapReferenceIF tmRefObj, String template) INTERNAL: create a String which contains link information to a Topicmap retrieved with the help of an TopicMapReferenceIF object.
-
Field Details
-
LINK_MODEL_KEY
INTERNAL: Constant String value representing the name of a template variable being replaced with the object id.- See Also:
-
-
Constructor Details
-
ModelLinkGenerator
public ModelLinkGenerator()
-
-
Method Details