Package no.sesat.search.view.velocity

Provides for velocity specific stuff such as custom directives.

See:
          Description

Interface Summary
URLResourceLoader.Context  
VelocityEngineFactory.Context The context the AnalysisRules must work against.
 

Class Summary
AbstractDirective Useful wrapper around Velocity's Directive class.
AbstractEnrichmentDirective Handles presenting the enrichments The first argument allow inclusion/exclusion of each enrichment according to the subclasses implementation of placementCorrect(tab, placement, i, e)

The second argument specifies the a string to use in beginning wrapping around each enrichment.
AllParametersDirective Very simple directive to loop through all parameters as defined in the datamodel and write them out in one line.
BoldWordDirective A velocity directive to bold (query) word(s) param 1: text to replace param 2: query - "og" and "i" in the query should not be bolded.
CapitalizeWordsDirective A velocity directive to capitalize word(s) #capitalizeWords('thomas kjerstad') The default charset is utf-8.
ChopStringDirective A velocity directive to chop a string If a third parameter "esc" is sent, the string will also be htmlescaped #chopString('this string is being chopped!' 20) returns the string: "this string is.."
CssDirective  
DateFormattingDirective A velocity directive to format newsnavigator date.
FaviconDirective This directive creates a link element used to specify the favicon element.
HitCountDirective Handles presenting the hit count number.
HtmlEscapeDirective Deprecated. use XmlEscapeDirective instead as we render xhtml pages.
IDNDirective A velocity directive to make domain name into IDN (Internationalized Domain Names).
ImageDirective  
JavaScriptDirective  
JsonDataModelDirective Convert sections (datamodel.includes) of the context's DataModel into a JSON object.
MailEncodeDirective A velocity directive to encode mail addresses to prevent crawling.
MD5ParameterDirective This directive hashes a url parameter so you can build url's with protected parameters.
PublishDirective A velocity directive to import page fragments from publishing system.
QuickResourceCacheImpl A faster implementation of the resource cache than the default.
QuickResourceManagerImpl A quicker replacement for ResourceManagerImpl that avoids doing resource loading and parsing while holding a global exclusive lock.
RemovePrefixDirective A velocity directive to remove a prefix if it exists.
SlashTrimStringDirective Directive used to trim everytinhg from the start of the string to the last slash.
TopDomainDirective A velocity directive to take out the topdomain for picsearch
UpperCaseDirective A velocity directive to convert all text to uppercase #upperCase("abcdefgh')
UrlDecodeDirective A velocity directive to do url decoding.
UrlEncodeDirective A velocity directive to do url encoding.
URLResourceLoader This is a simple URL-based loader.
URLVelocityTemplateLoader Load templates and adds debuginformation if VELOCITY_DEBUG is set to true.
VelocityEngineFactory Custom Factory around Velocity Engines and Templates.
WeekdayDirective  
WikiDirective A velocity directive to convert wiki url #wiki('http://no.wikipedia.org/wiki/Planet') returns the string: "http://no.wapedia.org/Planet"
XmlEscapeDirective  
XPathDirective Evaluates xpath expression and writes the result as a string.
XPathForeachDirective Directive for moving through w3c dom node lists selected by an XPath expression.
 

Package no.sesat.search.view.velocity Description

Provides for velocity specific stuff such as custom directives.

Package Specification

##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####



Copyright © 2005-2009 Schibsted ASA. All Rights Reserved.