net.sourceforge.wurfl.core.matchers
Class DynamicMatcher

java.lang.Object
  extended by net.sourceforge.wurfl.core.matchers.AbstractMatcher
      extended by net.sourceforge.wurfl.core.matchers.DynamicMatcher
All Implemented Interfaces:
Matcher, ResourcePaths
Direct Known Subclasses:
DynamicBotMatcher, DynamicDesktopMatcher, DynamicMobileMatcher, DynamicUndefinedMatcher

Deprecated. For now not used.

public abstract class DynamicMatcher
extends AbstractMatcher

Matcher built at runtime.


Field Summary
protected  Strategy strategy
          Deprecated.  
 
Fields inherited from class net.sourceforge.wurfl.core.matchers.AbstractMatcher
DEBUG, detected, inspectionManager, isDebugEnabled, logger, undetected
 
Fields inherited from interface net.sourceforge.wurfl.core.resource.ResourcePaths
CATCH_ALL_RECOVERY_FILE, WURFL_CONFIG_FILE
 
Constructor Summary
DynamicMatcher(UserAgentNormalizer normalizer)
          Deprecated. Only intended for Spring managed bean.
DynamicMatcher(UserAgentNormalizer normalizer, Condition<String> matchCondition, StringOp customUserAgentMatchOp, Strategy.Type strategyType, IntOp toleranceOp, OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
          Deprecated.  
 
Method Summary
protected  String applyRecoveryMatch(WURFLRequest request)
          Deprecated. if recovery operation returns Constants.PLEASE_CALL_SUPER, call super evaluation
 boolean canHandle(WURFLRequest request)
          Deprecated. Matching condition
 String getName()
          Deprecated.  
protected  String lookForMatchingUserAgent(String userAgent)
          Deprecated. if custom operation returns Constants.PLEASE_CALL_SUPER, call super evaluation
 void setApplyRecoveryOp(OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
          Deprecated.  
 void setApplyUserAgentRecoveryOp(StringOp applyRecoveryMatchOp)
          Deprecated.  
 void setCustomUserAgentMatchOp(StringOp customUserAgentMatchOp)
          Deprecated.  
 void setFixedCustomUserAgentMatch(String fixedRet)
          Deprecated.  
 void setFixedRecovery(String fixedRet)
          Deprecated.  
 void setMatchCondition(Condition<String> matchCondition)
          Deprecated. Spring setter for match condition
 void setName(String name)
          Deprecated. Spring setters
 void setStrategyType(Strategy.Type strategyType)
          Deprecated.  
 void setTolerance(int tolerance)
          Deprecated.  
 void setToleranceOp(IntOp toleranceOp)
          Deprecated.  
 String toString()
          Deprecated.  
 
Methods inherited from class net.sourceforge.wurfl.core.matchers.AbstractMatcher
applyCatchAllRecoveryMatch, applyConclusiveMatch, getFilter, match, normalize, setFilter, setInspectionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

strategy

protected Strategy strategy
Deprecated. 
Constructor Detail

DynamicMatcher

public DynamicMatcher(UserAgentNormalizer normalizer)
Deprecated. 
Only intended for Spring managed bean.

Parameters:
normalizer -

DynamicMatcher

public DynamicMatcher(UserAgentNormalizer normalizer,
                      Condition<String> matchCondition,
                      StringOp customUserAgentMatchOp,
                      Strategy.Type strategyType,
                      IntOp toleranceOp,
                      OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
Deprecated. 
Method Detail

setName

public void setName(String name)
Deprecated. 
Spring setters

Parameters:
name -

setCustomUserAgentMatchOp

public void setCustomUserAgentMatchOp(StringOp customUserAgentMatchOp)
Deprecated. 

setFixedCustomUserAgentMatch

public void setFixedCustomUserAgentMatch(String fixedRet)
Deprecated. 

setMatchCondition

public void setMatchCondition(Condition<String> matchCondition)
Deprecated. 
Spring setter for match condition

Parameters:
matchCondition -

setToleranceOp

public void setToleranceOp(IntOp toleranceOp)
Deprecated. 

setTolerance

public void setTolerance(int tolerance)
Deprecated. 

setStrategyType

public void setStrategyType(Strategy.Type strategyType)
Deprecated. 

setApplyRecoveryOp

public void setApplyRecoveryOp(OneParamOp<WURFLRequest,String> applyRecoveryMatchOp)
Deprecated. 

setApplyUserAgentRecoveryOp

public void setApplyUserAgentRecoveryOp(StringOp applyRecoveryMatchOp)
Deprecated. 

setFixedRecovery

public void setFixedRecovery(String fixedRet)
Deprecated. 

canHandle

public boolean canHandle(WURFLRequest request)
Deprecated. 
Matching condition

Parameters:
userAgent -
Returns:

lookForMatchingUserAgent

protected final String lookForMatchingUserAgent(String userAgent)
Deprecated. 
if custom operation returns Constants.PLEASE_CALL_SUPER, call super evaluation

Overrides:
lookForMatchingUserAgent in class AbstractMatcher
Parameters:
userAgent - The user-agent to match against.
Returns:

applyRecoveryMatch

protected final String applyRecoveryMatch(WURFLRequest request)
Deprecated. 
if recovery operation returns Constants.PLEASE_CALL_SUPER, call super evaluation

Overrides:
applyRecoveryMatch in class AbstractMatcher
Parameters:
request - The request to match.
Returns:

getName

public String getName()
Deprecated. 
Specified by:
getName in interface Matcher
Overrides:
getName in class AbstractMatcher

toString

public final String toString()
Deprecated. 
Overrides:
toString in class AbstractMatcher


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.