public class FixedURLSegment extends AbstractURLSegment
REGEXP_BODY, REGEXP_DECLARATION, SEGMENT_PARAMETER
Modifier and Type | Method and Description |
---|---|
int |
calculateScore(String segment)
This method checks if a given string is compatible with the current segment.
|
protected org.apache.wicket.util.parse.metapattern.MetaPattern |
loadMetaPattern()
Method invoked to load the MetaPattern for the current segment.
|
void |
populatePathVariables(Map<String,String> variables,
String segment)
With this method every segment contributes to extract path parameters from the current
request URL.
|
getActualSegment, getMetaPattern, getSegmentMatrixParameters, newSegment
afterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toEnum, toEnum, toEnum, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptional, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalEnum, toOptionalInteger, toOptionalLong, toOptionalString, toOptionalTime, toString, toString, toTime, toTime, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf
protected org.apache.wicket.util.parse.metapattern.MetaPattern loadMetaPattern()
AbstractURLSegment
loadMetaPattern
in class AbstractURLSegment
public int calculateScore(String segment)
AbstractURLSegment
calculateScore
in class AbstractURLSegment
public void populatePathVariables(Map<String,String> variables, String segment)
AbstractURLSegment
populatePathVariables
in class AbstractURLSegment
variables
- the Map object containing the extracted parameters.segment
- the value of the current segment.Copyright © 2015. All rights reserved.