rewrite-config-servlet 2.0.0.Alpha2

org.ocpsoft.rewrite.servlet.config
Class IScheme.SchemeParameter

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

public static class IScheme.SchemeParameter
extends ParameterBuilder<IScheme.SchemeParameter,String>
implements IScheme.ISchemeParameter


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

IScheme.SchemeParameter

public IScheme.SchemeParameter(IScheme path,
                               ParameterizedPatternParserParameter capture)
Method Detail

matches

public IScheme.ISchemeParameter matches(String string)
Specified by:
matches in interface IScheme.ISchemeParameter

getName

public String getName()
Specified by:
getName in interface Parameter<IScheme.SchemeParameter,String>

where

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

where

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

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

Copyright © 2012 OCPsoft. All Rights Reserved.