Package net.ontopia.topicmaps.db2tm
Class Utils
java.lang.Object
net.ontopia.topicmaps.db2tm.Utils
INTERNAL: Helper class used by DB2TM internals.
-
Method Summary
Modifier and TypeMethodDescriptionprotected static StringexpandPrefixedValue(String value, Context ctx) protected static LocatorIFstatic RelationMappinggetRelationMapping(javax.servlet.jsp.PageContext ctxt) INTERNAL: Helper method for maintaining a relation mapping instance throughout a page context.protected static TopicIFprotected static Stringprotected static booleanisValueEmpty(String value) static Map<DataSourceIF,Collection<Relation>> verifyRelationsForMapping(RelationMapping rmapping) INTERNAL: Returns a map where the keys are data sources and each entry is a collection of their individual relations.
-
Method Details
-
getRelationMapping
INTERNAL: Helper method for maintaining a relation mapping instance throughout a page context. -
verifyRelationsForMapping
public static Map<DataSourceIF,Collection<Relation>> verifyRelationsForMapping(RelationMapping rmapping) INTERNAL: Returns a map where the keys are data sources and each entry is a collection of their individual relations. Before returning all relations will be verified against the relations declared in the mapping. If relations are missing an error is issued indicating which ones are missing. -
getTopic
-
getValue
-
isValueEmpty
-
getLocator
-
expandPrefixedValue
-