Module org.apache.wicket.extensions
Class DefaultLinkParser
java.lang.Object
org.apache.wicket.extensions.markup.html.basic.LinkParser
org.apache.wicket.extensions.markup.html.basic.DefaultLinkParser
- All Implemented Interfaces:
ILinkParser
This implementation adds link render strategies for email addresses and urls.
- Author:
- Gerolf Seitz
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ILinkRenderStrategy
Email address render strategy.
Renders <a href="mailto:{EMAIL}">{EMAIL}</a>static final ILinkRenderStrategy
Email address render strategy.static final ILinkRenderStrategy
Url render strategy.
Renders <a href="{URL}">{URL}</a> -
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.wicket.extensions.markup.html.basic.LinkParser
addLinkRenderStrategy, parse
-
Field Details
-
EMAIL_RENDER_STRATEGY
Email address render strategy.
Renders <a href="mailto:{EMAIL}">{EMAIL}</a> -
ENCRYPTED_EMAIL_RENDER_STRATEGY
Email address render strategy. Similar toEMAIL_RENDER_STRATEGY
, but encrypts the email address with html entities. -
URL_RENDER_STRATEGY
Url render strategy.
Renders <a href="{URL}">{URL}</a>
-
-
Constructor Details
-
DefaultLinkParser
public DefaultLinkParser()Default constructor.
-