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
public class DefaultLinkParser extends LinkParser
This implementation adds link render strategies for email addresses and urls.- Author:
- Gerolf Seitz
- See Also:
SmartLinkLabel
,SmartLinkMultiLineLabel
-
-
Field Summary
Fields Modifier and Type Field Description static ILinkRenderStrategy
EMAIL_RENDER_STRATEGY
Email address render strategy.
Renders <a href="mailto:{EMAIL}">{EMAIL}</a>static ILinkRenderStrategy
ENCRYPTED_EMAIL_RENDER_STRATEGY
Email address render strategy.static ILinkRenderStrategy
URL_RENDER_STRATEGY
Url render strategy.
Renders <a href="{URL}">{URL}</a>
-
Constructor Summary
Constructors Constructor Description DefaultLinkParser()
Default constructor.
-
-
-
Field Detail
-
EMAIL_RENDER_STRATEGY
public static final ILinkRenderStrategy EMAIL_RENDER_STRATEGY
Email address render strategy.
Renders <a href="mailto:{EMAIL}">{EMAIL}</a>
-
ENCRYPTED_EMAIL_RENDER_STRATEGY
public static final ILinkRenderStrategy ENCRYPTED_EMAIL_RENDER_STRATEGY
Email address render strategy. Similar toEMAIL_RENDER_STRATEGY
, but encrypts the email address with html entities.
-
URL_RENDER_STRATEGY
public static final ILinkRenderStrategy URL_RENDER_STRATEGY
Url render strategy.
Renders <a href="{URL}">{URL}</a>
-
-
Constructor Detail
-
DefaultLinkParser
public DefaultLinkParser()
Default constructor.
-
-