rewrite-impl-config 1.0.3.Final

org.ocpsoft.rewrite.bind
Class ParameterizedPattern.RegexParameter

java.lang.Object
  extended by org.ocpsoft.rewrite.bind.DefaultBindable<Parameter<T>>
      extended by org.ocpsoft.rewrite.param.ParameterBuilder<ParameterizedPattern.RegexParameter,String>
          extended by org.ocpsoft.rewrite.bind.ParameterizedPattern.RegexParameter
All Implemented Interfaces:
Bindable<Parameter<String>>, Parameter<String>
Enclosing class:
ParameterizedPattern

public class ParameterizedPattern.RegexParameter
extends ParameterBuilder<ParameterizedPattern.RegexParameter,String>


Constructor Summary
ParameterizedPattern.RegexParameter(CapturingGroup capture, int index)
          Create a new instance for the given CapturingGroup, using ".*" as the default pattern.
 
Method Summary
 CapturingGroup getCapture()
           
 int getIndex()
           
 String getName()
           
 String getPattern()
           
 ParameterizedPattern.RegexParameter matches(String pattern)
           
 String toString()
           
 
Methods inherited from class org.ocpsoft.rewrite.param.ParameterBuilder
constrainedBy, getConstraints, getTransforms, transformedBy
 
Methods inherited from class org.ocpsoft.rewrite.bind.DefaultBindable
bindsTo, 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
 

Constructor Detail

ParameterizedPattern.RegexParameter

public ParameterizedPattern.RegexParameter(CapturingGroup capture,
                                           int index)
Create a new instance for the given CapturingGroup, using ".*" as the default pattern.

Parameters:
index -
Method Detail

matches

public ParameterizedPattern.RegexParameter matches(String pattern)

getPattern

public String getPattern()

getIndex

public int getIndex()

getName

public String getName()

getCapture

public CapturingGroup getCapture()

toString

public String toString()
Overrides:
toString in class ParameterBuilder<ParameterizedPattern.RegexParameter,String>

rewrite-impl-config 1.0.3.Final

Copyright © 2012 OCPsoft. All Rights Reserved.