Package | Description |
---|---|
com.xpn.xwiki.content | |
com.xpn.xwiki.content.parsers |
Modifier and Type | Method and Description |
---|---|
Link |
Link.getNormalizedLink(String currentSpace)
Perform a series of normalization steps on the link.
|
Modifier and Type | Method and Description |
---|---|
Link |
ReplaceLinkHandler.getReplacementLink(Link newLink,
Link linkToReplace)
Compute the link that will be used to replace matching links in the parsed content.
|
Link |
RenamePageReplaceLinkHandler.getReplacementLink(Link newLink,
Link linkToReplace)
Compute the link that will be used to replace matching links in the parsed content.
|
Link |
LinkParser.parse(String contentToParse)
Parse the raw content representing a Wiki link (as typed by the user) and transfer it into
a structured form as a
Link Object. |
Modifier and Type | Method and Description |
---|---|
boolean |
ReplaceLinkHandler.compare(Link linkToLookFor,
Link linkToReplace)
Compare 2 links.
|
boolean |
RenamePageReplaceLinkHandler.compare(Link linkToLookFor,
Link linkToReplace)
Compare 2 links.
|
Link |
ReplaceLinkHandler.getReplacementLink(Link newLink,
Link linkToReplace)
Compute the link that will be used to replace matching links in the parsed content.
|
Link |
RenamePageReplaceLinkHandler.getReplacementLink(Link newLink,
Link linkToReplace)
Compute the link that will be used to replace matching links in the parsed content.
|
protected void |
LinkParser.parseAlias(StringBuffer content,
Link link)
Find out the alias part of the full link.
|
ReplacementResultCollection |
DocumentParser.parseLinksAndReplace(String contentToParse,
Link linkToLookFor,
Link newLink,
ReplaceLinkHandler linkHandler,
String currentSpace)
Parse the links contained into the passed content represent the raw content from a document
(as typed by the user) and replace links that matches the passed linkToLookFor Link with the
specified newLink link.
|
protected void |
LinkParser.parseTarget(StringBuffer content,
Link link)
Find out the target part of the full link.
|
Copyright © 2004–2014 XWiki. All rights reserved.