rewrite-impl-servlet 1.0.5.Final

org.ocpsoft.rewrite.servlet.config
Class IForward.ForwardParameter

java.lang.Object
  extended by org.ocpsoft.rewrite.bind.DefaultBindable<P>
      extended by org.ocpsoft.rewrite.param.ParameterBuilder<IForward.ForwardParameter,String>
          extended by org.ocpsoft.rewrite.servlet.config.IForward.ForwardParameter
All Implemented Interfaces:
Bindable<IForward.ForwardParameter>, Converter<Object>, HasConverter<IForward.ForwardParameter>, HasValidator<IForward.ForwardParameter>, Validator<Object>, ConfigurationElement, Operation, OperationBuilder, Constrainable<IForward.ForwardParameter,String>, Parameter<IForward.ForwardParameter,String>, Parameterized<IForward,IForward.ForwardParameter,String>, Transformable<IForward.ForwardParameter,String>, IForward, IForward.IForwardParameter
Enclosing interface:
IForward

public static class IForward.ForwardParameter
extends ParameterBuilder<IForward.ForwardParameter,String>
implements IForward.IForwardParameter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ocpsoft.rewrite.servlet.config.IForward
IForward.ForwardParameter, IForward.IForwardParameter
 
Constructor Summary
IForward.ForwardParameter(IForward path, RegexCapture capture)
           
 
Method Summary
 OperationBuilder and(Operation other)
           
 String getName()
           
 ParameterizedPattern getTargetExpression()
           
 IForward.IForwardParameter matches(String string)
           
 void perform(Rewrite event, EvaluationContext context)
           
 IForward.ForwardParameter where(String param)
           
 IForward.ForwardParameter 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

IForward.ForwardParameter

public IForward.ForwardParameter(IForward path,
                                 RegexCapture capture)
Method Detail

matches

public IForward.IForwardParameter matches(String string)
Specified by:
matches in interface IForward.IForwardParameter

getName

public String getName()
Specified by:
getName in interface Parameter<IForward.ForwardParameter,String>

where

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

where

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

perform

public void perform(Rewrite event,
                    EvaluationContext context)
Specified by:
perform in interface Operation

getTargetExpression

public ParameterizedPattern getTargetExpression()
Specified by:
getTargetExpression in interface IForward

and

public OperationBuilder and(Operation other)
Specified by:
and in interface OperationBuilder

rewrite-impl-servlet 1.0.5.Final

Copyright © 2012 OCPsoft. All Rights Reserved.