rewrite-config-servlet 2.0.0.Alpha2

org.ocpsoft.rewrite.servlet.config
Class IURL.URLParameter

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

public static class IURL.URLParameter
extends ParameterBuilder<IURL.URLParameter,String>
implements IURL.IURLParameter


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ocpsoft.rewrite.servlet.config.IURL
IURL.IURLParameter, IURL.URLParameter
 
Constructor Summary
IURL.URLParameter(IURL path, ParameterizedPatternParserParameter capture)
           
 
Method Summary
 ConditionBuilder and(Condition condition)
           
 ConditionBuilder andNot(Condition condition)
           
 boolean evaluate(Rewrite event, EvaluationContext context)
           
 String getName()
           
 ParameterizedPatternParser getPathExpression()
           
 IURL.IURLParameter matches(String string)
           
 ConditionBuilder or(Condition condition)
           
 ConditionBuilder orNot(Condition condition)
           
 IURL.URLParameter where(String param)
           
 IURL.URLParameter where(String param, Binding binding)
           
 IURL withRequestBinding()
           
 
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

IURL.URLParameter

public IURL.URLParameter(IURL path,
                         ParameterizedPatternParserParameter capture)
Method Detail

matches

public IURL.IURLParameter matches(String string)
Specified by:
matches in interface IURL.IURLParameter

getName

public String getName()
Specified by:
getName in interface Parameter<IURL.URLParameter,String>

withRequestBinding

public IURL withRequestBinding()
Specified by:
withRequestBinding in interface IURL

where

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

where

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

evaluate

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

getPathExpression

public ParameterizedPatternParser getPathExpression()
Specified by:
getPathExpression in interface IURL

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-config-servlet 2.0.0.Alpha2

Copyright © 2012 OCPsoft. All Rights Reserved.