Example usage for org.apache.wicket.util.parse.metapattern MetaPattern VARIABLE_NAME

List of usage examples for org.apache.wicket.util.parse.metapattern MetaPattern VARIABLE_NAME

Introduction

In this page you can find the example usage for org.apache.wicket.util.parse.metapattern MetaPattern VARIABLE_NAME.

Prototype

MetaPattern VARIABLE_NAME

To view the source code for org.apache.wicket.util.parse.metapattern MetaPattern VARIABLE_NAME.

Click Source Link

Document

Constant for a variable name.

Usage

From source file:org.wicketstuff.rest.resource.urlsegments.ParamSegment.java

License:Apache License

private String loadParamName() {
    String segmentContent = this.toString();
    Matcher matcher = MetaPattern.VARIABLE_NAME.matcher(segmentContent);

    matcher.find();/*from  ww  w .  ja  v a  2 s  . c o m*/
    return matcher.group();
}