com.servingxml.components.regex
Interface PatternMatcherFactory

All Known Implementing Classes:
PatternMatcherFactory.JavaPatternMatcherFactory

public interface PatternMatcherFactory

Factory for creating pattern matchers.

A RegularExpressionFactory instance may be used to create PatternMatcher objects. There is a single instance of a PatternMatcher which may be obtained through its static getInstance() method.


Nested Class Summary
static class PatternMatcherFactory.JavaPatternMatcherFactory
           
 
Field Summary
static PatternMatcherFactory DEFAULT
           
 
Method Summary
 PatternMatcher createPatternMatcher(java.lang.String expression)
           
 PatternMatcher createPatternMatcher(java.lang.String expression, boolean caseSensitive, boolean useRegex)
           
 

Field Detail

DEFAULT

static final PatternMatcherFactory DEFAULT
Method Detail

createPatternMatcher

PatternMatcher createPatternMatcher(java.lang.String expression)

createPatternMatcher

PatternMatcher createPatternMatcher(java.lang.String expression,
                                    boolean caseSensitive,
                                    boolean useRegex)