public abstract class AbstractURLSegment extends org.apache.wicket.util.string.StringValue implements ISegementElement
Modifier and Type | Field and Description |
---|---|
static org.apache.wicket.util.parse.metapattern.MetaPattern |
REGEXP_BODY
MetaPattern to identify the content of a regular expression.
|
static org.apache.wicket.util.parse.metapattern.MetaPattern |
REGEXP_DECLARATION
MetaPattern to identify the declaration of a regular expression.
|
static org.apache.wicket.util.parse.metapattern.MetaPattern |
SEGMENT_PARAMETER
MetaPattern to identify a path parameter inside a segment (i.e.
|
Modifier and Type | Method and Description |
---|---|
static String |
getActualSegment(String fullSegment)
Get the segment value without optional matrix parameters.
|
org.apache.wicket.util.parse.metapattern.MetaPattern |
getMetaPattern()
Getter method for segment MetaPattern.
|
static Map<String,String> |
getSegmentMatrixParameters(String fullSegment)
Extract matrix parameters from the segment in input.
|
protected abstract org.apache.wicket.util.parse.metapattern.MetaPattern |
loadMetaPattern()
Method invoked to load the MetaPattern for the current segment.
|
static AbstractURLSegment |
newSegment(String segment)
Factory method to create new instances of AbstractURLSegment.
|
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept
public static final org.apache.wicket.util.parse.metapattern.MetaPattern REGEXP_BODY
public static final org.apache.wicket.util.parse.metapattern.MetaPattern REGEXP_DECLARATION
public static final org.apache.wicket.util.parse.metapattern.MetaPattern SEGMENT_PARAMETER
protected abstract org.apache.wicket.util.parse.metapattern.MetaPattern loadMetaPattern()
public static AbstractURLSegment newSegment(String segment)
segment
- The content of the new segment.public static String getActualSegment(String fullSegment)
fullSegment
- public static Map<String,String> getSegmentMatrixParameters(String fullSegment)
fullSegment
- the segment in input.public final org.apache.wicket.util.parse.metapattern.MetaPattern getMetaPattern()
Copyright © 2015. All rights reserved.