com.atlassian.confluence.renderer.radeox.filters
Class LinkTestFilter

java.lang.Object
  extended byorg.radeox.filter.FilterSupport
      extended byorg.radeox.filter.regex.RegexFilter
          extended byorg.radeox.filter.regex.RegexTokenFilter
              extended bycom.atlassian.confluence.renderer.radeox.filters.LinkTestFilter
All Implemented Interfaces:
org.radeox.filter.Filter

public class LinkTestFilter
extends org.radeox.filter.regex.RegexTokenFilter


Field Summary
static String PATTERN
          The following pattern can be broken down as follows: (\\[) == literal '[' [\\p{L}&[^\[\\]\\p{Space}]] == a single character but not ' ', '[' or ']' [\\p{L}&[^\[\\]]]* == zero or more instances of characters that are not '[' or ']' \\] == literal ']'
 
Fields inherited from class org.radeox.filter.regex.RegexFilter
MULTILINE, pattern, SINGLELINE, substitute
 
Fields inherited from class org.radeox.filter.FilterSupport
initialContext
 
Constructor Summary
  LinkTestFilter()
           
protected LinkTestFilter(String pattern, int active_grp_no)
           
 
Method Summary
protected  void appendUnresolvedLink(StringBuffer buffer, Link link)
           
 String filter(String pattern, org.radeox.filter.context.FilterContext context)
           
protected  int getLinkType()
           
 void handleMatch(StringBuffer buffer, org.radeox.regex.MatchResult result, org.radeox.filter.context.FilterContext context)
           
 void setLinkResolver(LinkResolver linkResolver)
           
protected  void setUp(org.radeox.filter.context.FilterContext context)
           
 
Methods inherited from class org.radeox.filter.regex.RegexFilter
addRegex, addRegex, clearRegex
 
Methods inherited from class org.radeox.filter.FilterSupport
before, getDescription, replaces, setInitialContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATTERN

public static final String PATTERN
The following pattern can be broken down as follows: (\\[) == literal '[' [\\p{L}&[^\[\\]\\p{Space}]] == a single character but not ' ', '[' or ']' [\\p{L}&[^\[\\]]]* == zero or more instances of characters that are not '[' or ']' \\] == literal ']'

See Also:
Constant Field Values
Constructor Detail

LinkTestFilter

public LinkTestFilter()

LinkTestFilter

protected LinkTestFilter(String pattern,
                         int active_grp_no)
Method Detail

setUp

protected void setUp(org.radeox.filter.context.FilterContext context)

getLinkType

protected int getLinkType()

filter

public String filter(String pattern,
                     org.radeox.filter.context.FilterContext context)

handleMatch

public void handleMatch(StringBuffer buffer,
                        org.radeox.regex.MatchResult result,
                        org.radeox.filter.context.FilterContext context)

appendUnresolvedLink

protected void appendUnresolvedLink(StringBuffer buffer,
                                    Link link)

setLinkResolver

public void setLinkResolver(LinkResolver linkResolver)


Confluence is developed by Atlassian.