public class DynamicSegment extends Segment
RESERVED_PCHAR| コンストラクタと説明 |
|---|
DynamicSegment(String key) |
DynamicSegment(String key,
OptionMap options) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
buildPattern(String pattern) |
String |
defaultRegexpChunk() |
String |
getDefault() |
String |
getKey() |
boolean |
hasDefault() |
boolean |
hasKey() |
String |
interpolationChunk(OptionMap hash) |
void |
matchExtraction(OptionMap params,
Matcher match,
int nextCapture) |
String |
regexpChunk() |
void |
setDefault(String defaultValue) |
void |
setRegexp(Pattern regexp) |
String |
stringStructure(List<Segment> list,
OptionMap hash) |
String |
toString() |
allOptionalsAvailableCondition, continueStringStructure, getExtractionCode, getRegexp, getValue, interpolationStatement, isOptional, numberOfCaptures, setOptional, setValuepublic DynamicSegment(String key)
public String regexpChunk()
regexpChunk クラス内 Segmentpublic String defaultRegexpChunk()
public boolean hasDefault()
hasDefault クラス内 Segmentpublic String getDefault()
getDefault クラス内 Segmentpublic void setDefault(String defaultValue)
setDefault クラス内 Segmentpublic void matchExtraction(OptionMap params, Matcher match, int nextCapture)
matchExtraction クラス内 Segmentpublic String buildPattern(String pattern)
buildPattern クラス内 Segmentpublic String interpolationChunk(OptionMap hash)
interpolationChunk クラス内 SegmentCopyright © 2016–2017. All rights reserved.