public class URIPattern extends LeafPattern<URI,Constraint<? super URI>>
constraint| Constructor and Description |
|---|
URIPattern(Constraint<? super URI> c)
Creates an instance with a given constraint.
|
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Returns the name of the pattern.
|
String |
toString() |
protected URI |
valueOf(String s)
Returns the typed equivalent of a leaf's value.
|
constraint, equals, hashCode, matches, pruneidPattern, setIdPatternpublic URIPattern(Constraint<? super URI> c)
c - the constraint.protected URI valueOf(String s) throws Exception
valueOf in class LeafPattern<URI,Constraint<? super URI>>s - the valueExceptionpublic String toString()
toString in class LeafPattern<URI,Constraint<? super URI>>public String name()
LeafPatternname in class LeafPattern<URI,Constraint<? super URI>>Copyright © 2018. All Rights Reserved.