org.springframework.web.util
Class UriTemplate.Parser

java.lang.Object
  extended by org.springframework.web.util.UriTemplate.Parser
Enclosing class:
UriTemplate

private static class UriTemplate.Parser
extends java.lang.Object

Static inner class to parse URI template strings into a matching regular expression.


Field Summary
private  java.lang.StringBuilder patternBuilder
           
private  java.util.List<java.lang.String> variableNames
           
 
Constructor Summary
private UriTemplate.Parser(java.lang.String uriTemplate)
           
 
Method Summary
private  java.util.regex.Pattern getMatchPattern()
           
private  java.util.List<java.lang.String> getVariableNames()
           
private  java.lang.String quote(java.lang.String fullPath, int start, int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variableNames

private final java.util.List<java.lang.String> variableNames

patternBuilder

private final java.lang.StringBuilder patternBuilder
Constructor Detail

UriTemplate.Parser

private UriTemplate.Parser(java.lang.String uriTemplate)
Method Detail

quote

private java.lang.String quote(java.lang.String fullPath,
                               int start,
                               int end)

getVariableNames

private java.util.List<java.lang.String> getVariableNames()

getMatchPattern

private java.util.regex.Pattern getMatchPattern()