|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.extensions.markup.html.basic.LinkParser
public class LinkParser
This base implementation iterates over all provided ILinkRenderStrategy
implementations and applies them to the input text.
| Constructor Summary | |
|---|---|
LinkParser()
|
|
| Method Summary | |
|---|---|
ILinkParser |
addLinkRenderStrategy(java.lang.String pattern,
ILinkRenderStrategy renderStrategy)
Adds a render strategy to the parser. |
java.lang.String |
parse(java.lang.String text)
Parses the text and changes it according to the provided
ILinkRenderStrategy implementations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinkParser()
| Method Detail |
|---|
public ILinkParser addLinkRenderStrategy(java.lang.String pattern,
ILinkRenderStrategy renderStrategy)
pattern - the pattern to which the provided renderStrategy should be applied.renderStrategy - the ILinkRenderStrategy which is applied to the text found by the
provided pattern.
ILinkParser.public java.lang.String parse(java.lang.String text)
ILinkParsertext and changes it according to the provided
ILinkRenderStrategy implementations.
parse in interface ILinkParsertext - the input text which should be modified.
ILinkParser.parse(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||