|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LinkTool | |
---|---|
org.apache.velocity.tools.struts | Provides view tools to integrate Velocity with the Apache Struts framework. |
org.apache.velocity.tools.view.tools | Provides the ViewTool and Configurable interfaces, as well as a number of useful implementing classes. |
Uses of LinkTool in org.apache.velocity.tools.struts |
---|
Subclasses of LinkTool in org.apache.velocity.tools.struts | |
---|---|
class |
SecureLinkTool
Tool to be able to use Struts SSL Extensions with Velocity. |
class |
StrutsLinkTool
View tool to work with URI links in Struts. |
Uses of LinkTool in org.apache.velocity.tools.view.tools |
---|
Methods in org.apache.velocity.tools.view.tools that return LinkTool | |
---|---|
LinkTool |
LinkTool.absolute(java.lang.String uri)
Convenience method equivalent to setAbsolute(java.lang.String) . |
LinkTool |
LinkTool.addAllParameters()
Adds all of the current request's parameters to this link's "query data". |
LinkTool |
LinkTool.addIgnore(java.lang.String parameterName)
Instructs this LinkTool to ignore the specified parameter when copying the current request's parameters. |
LinkTool |
LinkTool.addQueryData(java.util.Map parameters)
Adds multiple key=value pairs to the query data. |
LinkTool |
LinkTool.addQueryData(java.lang.String key,
java.lang.Object value)
Adds a key=value pair to the query data. |
LinkTool |
LinkTool.anchor(java.lang.String anchor)
Convenience method equivalent to setAnchor(java.lang.String) . |
protected LinkTool |
LinkTool.copyWith(LinkTool.QueryPair pair)
For internal use. |
protected LinkTool |
LinkTool.copyWith(java.util.Map newQueryData)
For internal use. |
protected LinkTool |
LinkTool.copyWith(java.lang.String uri)
For internal use. |
protected LinkTool |
LinkTool.copyWithAnchor(java.lang.String anchor)
For internal use. |
protected LinkTool |
LinkTool.copyWithIgnore(java.lang.String parameterName)
For internal use. |
protected LinkTool |
LinkTool.duplicate()
This is just to avoid duplicating this code for both copyWith() methods |
LinkTool |
LinkTool.getSelf()
This method returns a new "self-referencing" LinkTool for the current request. |
LinkTool |
LinkTool.param(java.lang.Object key,
java.lang.Object value)
Convenience method equivalent to addQueryData(java.lang.String, java.lang.Object) . |
LinkTool |
LinkTool.params(java.util.Map parameters)
Convenience method equivalent to addQueryData(Map parameters) . |
LinkTool |
LinkTool.relative(java.lang.String uri)
Convenience method equivalent to setRelative(java.lang.String) . |
LinkTool |
LinkTool.setAbsolute(java.lang.String uri)
Returns a copy of the link with the specified URI reference either used as or converted to an absolute (non-relative) URI reference. |
LinkTool |
LinkTool.setAnchor(java.lang.String anchor)
Returns a copy of the link with the specified anchor to be added to the end of the generated hyperlink. |
LinkTool |
LinkTool.setRelative(java.lang.String uri)
Returns a copy of the link with the specified context-relative URI reference converted to a server-relative URI reference. |
LinkTool |
LinkTool.setURI(java.lang.String uri)
Returns a copy of the link with the given URI reference set. |
LinkTool |
LinkTool.uri(java.lang.String uri)
Convenience method equivalent to setURI(java.lang.String) . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |