java.lang.Object
org.xbib.net.path.spring.MatchingContext
Encapsulates context when attempting a match. Includes some fixed state like the
candidate currently being considered for a match but also some accumulators for
extracted variables.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungfinal PathContainerbooleanbooleanfinal List<PathContainer.Element> final intint -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMatchingContext(PathPattern pathPattern, PathContainer pathContainer, boolean extractVariables) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanbooleanisSeparator(int pathIndex) Return if element at specified index is a separator.pathElementValue(int pathIndex) Return the decoded value of the specified element.voidvoid
-
Felddetails
-
candidate
-
pathElements
-
pathLength
public final int pathLength -
extractingVariables
public boolean extractingVariables -
determineRemainingPath
public boolean determineRemainingPath -
remainingPathIndex
public int remainingPathIndex
-
-
Konstruktordetails
-
MatchingContext
public MatchingContext(PathPattern pathPattern, PathContainer pathContainer, boolean extractVariables)
-
-
Methodendetails
-
setMatchAllowExtraPath
public void setMatchAllowExtraPath() -
isMatchOptionalTrailingSeparator
public boolean isMatchOptionalTrailingSeparator() -
set
-
getPathMatchResult
-
isSeparator
public boolean isSeparator(int pathIndex) Return if element at specified index is a separator.- Parameter:
pathIndex- possible index of a separator- Gibt zurück:
trueif element is a separator
-
pathElementValue
Return the decoded value of the specified element.- Parameter:
pathIndex- path element index- Gibt zurück:
- the decoded value
-