public static class VirtualUriMapping.Result extends Object implements Comparable<VirtualUriMapping.Result>
VirtualUriMapping.mapUri(URI)
.Constructor and Description |
---|
Result(String toUri,
int weight,
VirtualUriMapping mapping) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VirtualUriMapping.Result o) |
VirtualUriMapping |
getMapping() |
String |
getToUri() |
int |
getWeight()
Qualifies the matching (the length of the pattern or the groupCount from matcher).
|
public Result(String toUri, int weight, VirtualUriMapping mapping)
public String getToUri()
public int getWeight()
VirtualUriFilter
.
This is analog to VirtualURIMapping.MappingResult.getLevel()
in the old API.public VirtualUriMapping getMapping()
public int compareTo(VirtualUriMapping.Result o)
compareTo
in interface Comparable<VirtualUriMapping.Result>
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.