protected abstract static class CssLinkResourceTransformer.AbstractCssLinkParser extends Object implements CssLinkResourceTransformer.CssLinkParser
Modifier | Constructor and Description |
---|---|
protected |
AbstractCssLinkParser() |
Modifier and Type | Method and Description |
---|---|
protected int |
addLink(int index,
String endKey,
String content,
Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos) |
protected abstract int |
extractLink(int index,
String content,
Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos)
Invoked after a keyword match, after whitespaces removed, and when
the next char is neither a single nor double quote.
|
protected abstract String |
getKeyword()
Return the keyword to use to search for links.
|
void |
parseLink(String content,
Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos) |
protected abstract String getKeyword()
public void parseLink(String content, Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos)
parseLink
in interface CssLinkResourceTransformer.CssLinkParser
protected int addLink(int index, String endKey, String content, Set<org.springframework.web.servlet.resource.CssLinkResourceTransformer.CssLinkInfo> linkInfos)