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
Modifier and Type Method Description LocalizablelocalizedName()java.lang.Stringname()booleantest(jakarta.json.JsonValue value)InstanceTypevalueType()
-
Constructor Details
-
PathOrUrlFormatAttribute
public PathOrUrlFormatAttribute()
-
-
Method Details
-
name
public java.lang.String name()- Specified by:
namein interfaceFormatAttribute
-
localizedName
- Specified by:
localizedNamein interfaceFormatAttribute
-
valueType
- Specified by:
valueTypein interfaceFormatAttribute
-
test
public boolean test(jakarta.json.JsonValue value)- Specified by:
testin interfaceFormatAttribute
-