@Immutable public final class Issuer extends Identifier
Valid issuer identifiers are URIs with "https" schema and no query or fragment component.
DEFAULT_BYTE_LENGTH| Constructor and Description |
|---|
Issuer(String value)
Creates a new issuer identifier with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Overrides
Object.equals(). |
boolean |
isValid()
Checks if this issuer is a valid identifier.
|
static boolean |
isValid(Issuer value)
Checks if the specified issuer is a valid identifier.
|
static boolean |
isValid(String value)
Checks if the specified string represents a valid issuer identifier.
|
static boolean |
isValid(URI value)
Checks if the specified URI represents a valid issuer identifier.
|
compareTo, getValue, hashCode, toJSONString, toStringpublic static boolean isValid(String value)
null-safe.value - The issuer string.true if the string represents a valid issuer
identifier, else false.public static boolean isValid(Issuer value)
null-safe.value - The issuer.true if the value is a valid identifier, else
false.public static boolean isValid(URI value)
null-safe.value - The URI.true if the values represents a valid issuer
identifier, else false.public boolean isValid()
null-safe.true if the value is a valid identifier, else
false.public boolean equals(Object object)
IdentifierObject.equals().equals in class Identifierobject - The object to compare to.true if the objects have the same value, otherwise
false.Copyright © 2015 Connect2id Ltd.. All Rights Reserved.