- java.lang.Object
-
- org.leadpony.justify.cli.PathOrUrlFormatAttribute
-
- All Implemented Interfaces:
FormatAttribute
public class PathOrUrlFormatAttribute extends java.lang.Object implements FormatAttribute
A custom format attribute representing resource locations.- Author:
- leadpony
-
-
Constructor Summary
Constructors Constructor Description PathOrUrlFormatAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalizablelocalizedName()java.lang.Stringname()booleantest(javax.json.JsonValue value)InstanceTypevalueType()
-
-
-
Method Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceFormatAttribute
-
localizedName
public Localizable localizedName()
- Specified by:
localizedNamein interfaceFormatAttribute
-
valueType
public InstanceType valueType()
- Specified by:
valueTypein interfaceFormatAttribute
-
test
public boolean test(javax.json.JsonValue value)
- Specified by:
testin interfaceFormatAttribute
-
-