rewrite-impl-servlet 1.0.5.Final

org.ocpsoft.rewrite.servlet.config
Class IServletMapping.ServletMappingParameter

java.lang.Object
  extended by org.ocpsoft.rewrite.bind.DefaultBindable<P>
      extended by org.ocpsoft.rewrite.param.ParameterBuilder<IServletMapping.ServletMappingParameter,String>
          extended by org.ocpsoft.rewrite.servlet.config.IServletMapping.ServletMappingParameter
All Implemented Interfaces:
Bindable<IServletMapping.ServletMappingParameter>, Converter<Object>, HasConverter<IServletMapping.ServletMappingParameter>, HasValidator<IServletMapping.ServletMappingParameter>, Validator<Object>, Condition, ConditionBuilder, ConfigurationElement, Constrainable<IServletMapping.ServletMappingParameter,String>, Parameter<IServletMapping.ServletMappingParameter,String>, Parameterized<IServletMapping,IServletMapping.ServletMappingParameter,String>, Transformable<IServletMapping.ServletMappingParameter,String>, IServletMapping, IServletMapping.IServletMappingParameter
Enclosing interface:
IServletMapping

public static class IServletMapping.ServletMappingParameter
extends ParameterBuilder<IServletMapping.ServletMappingParameter,String>
implements IServletMapping.IServletMappingParameter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ocpsoft.rewrite.servlet.config.IServletMapping
IServletMapping.IServletMappingParameter, IServletMapping.ServletMappingParameter
 
Constructor Summary
IServletMapping.ServletMappingParameter(IServletMapping path, RegexCapture capture)
           
 
Method Summary
 ConditionBuilder and(Condition condition)
           
 ConditionBuilder andNot(Condition condition)
           
 boolean evaluate(Rewrite event, EvaluationContext context)
           
 String getName()
           
 ParameterizedPattern getResourceExpression()
           
 IServletMapping.IServletMappingParameter matches(String string)
           
 ConditionBuilder or(Condition condition)
           
 ConditionBuilder orNot(Condition condition)
           
 IServletMapping.ServletMappingParameter where(String param)
           
 IServletMapping.ServletMappingParameter where(String param, Binding binding)
           
 
Methods inherited from class org.ocpsoft.rewrite.param.ParameterBuilder
bindsTo, constrainedBy, convert, convertedBy, convertedBy, getConstraints, getConverter, getTransforms, getValidator, toString, transformedBy, validate, validatedBy, validatedBy
 
Methods inherited from class org.ocpsoft.rewrite.bind.DefaultBindable
getBindings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ocpsoft.rewrite.bind.Bindable
bindsTo, getBindings
 
Methods inherited from interface org.ocpsoft.rewrite.param.Constrainable
constrainedBy, getConstraints
 
Methods inherited from interface org.ocpsoft.rewrite.param.Transformable
getTransforms, transformedBy
 
Methods inherited from interface org.ocpsoft.rewrite.bind.Converter
convert
 
Methods inherited from interface org.ocpsoft.rewrite.bind.Validator
validate
 
Methods inherited from interface org.ocpsoft.rewrite.bind.HasValidator
getValidator, validatedBy, validatedBy
 
Methods inherited from interface org.ocpsoft.rewrite.bind.HasConverter
convertedBy, convertedBy, getConverter
 

Constructor Detail

IServletMapping.ServletMappingParameter

public IServletMapping.ServletMappingParameter(IServletMapping path,
                                               RegexCapture capture)
Method Detail

matches

public IServletMapping.IServletMappingParameter matches(String string)
Specified by:
matches in interface IServletMapping.IServletMappingParameter

getName

public String getName()
Specified by:
getName in interface Parameter<IServletMapping.ServletMappingParameter,String>

where

public IServletMapping.ServletMappingParameter where(String param)
Specified by:
where in interface Parameterized<IServletMapping,IServletMapping.ServletMappingParameter,String>

where

public IServletMapping.ServletMappingParameter where(String param,
                                                     Binding binding)
Specified by:
where in interface Parameterized<IServletMapping,IServletMapping.ServletMappingParameter,String>

getResourceExpression

public ParameterizedPattern getResourceExpression()
Specified by:
getResourceExpression in interface IServletMapping

evaluate

public boolean evaluate(Rewrite event,
                        EvaluationContext context)
Specified by:
evaluate in interface Condition

and

public ConditionBuilder and(Condition condition)
Specified by:
and in interface ConditionBuilder

andNot

public ConditionBuilder andNot(Condition condition)
Specified by:
andNot in interface ConditionBuilder

or

public ConditionBuilder or(Condition condition)
Specified by:
or in interface ConditionBuilder

orNot

public ConditionBuilder orNot(Condition condition)
Specified by:
orNot in interface ConditionBuilder

rewrite-impl-servlet 1.0.5.Final

Copyright © 2012 OCPsoft. All Rights Reserved.