Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.meterware.servletunit
Class UrlPatternMatcher  view UrlPatternMatcher download UrlPatternMatcher.java

java.lang.Object
  extended bycom.meterware.servletunit.UrlPatternMatcher
Direct Known Subclasses:
ExactUrlPatternMatcher, ExtensionUrlPatternMatcher, PathMappingUrlPatternMatcher

abstract class UrlPatternMatcher
extends java.lang.Object


Field Summary
(package private) static UrlPatternMatcher[] _templates
           
 
Constructor Summary
(package private) UrlPatternMatcher()
           
 
Method Summary
(package private) abstract  UrlPatternMatcher create(java.lang.String pattern)
          Returns a suitable pattern matcher if this class is compatible with the pattern.
(package private) abstract  boolean matchesResourceName(java.lang.String resourceName)
          Returns true if the specified resource matches this pattern.
(package private) static UrlPatternMatcher newPatternMatcher(java.lang.String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_templates

static UrlPatternMatcher[] _templates
Constructor Detail

UrlPatternMatcher

UrlPatternMatcher()
Method Detail

newPatternMatcher

static UrlPatternMatcher newPatternMatcher(java.lang.String pattern)

create

abstract UrlPatternMatcher create(java.lang.String pattern)
Returns a suitable pattern matcher if this class is compatible with the pattern. Will return null otherwise.


matchesResourceName

abstract boolean matchesResourceName(java.lang.String resourceName)
Returns true if the specified resource matches this pattern.