- java.lang.Object
-
- swim.uri.UriPart
-
- swim.uri.UriScheme
-
- All Implemented Interfaces:
Comparable<UriScheme>
,Debug
,Display
public class UriScheme extends UriPart implements Comparable<UriScheme>, Debug, Display
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(UriScheme that)
static UriScheme
create(String name)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.<T> Output<T>
display(Output<T> output)
Writes a human readable, display-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
boolean
isDefined()
String
name()
static UriScheme
parse(String string)
String
toString()
static UriScheme
undefined()
-
-
-
Field Detail
-
name
protected final String name
-
-
Constructor Detail
-
UriScheme
protected UriScheme(String name)
-
-
Method Detail
-
isDefined
public final boolean isDefined()
-
name
public final String name()
-
compareTo
public final int compareTo(UriScheme that)
- Specified by:
compareTo
in interfaceComparable<UriScheme>
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
display
public <T> Output<T> display(Output<T> output)
Description copied from interface:Display
Writes a human readable, display-formatted string representation of this object tooutput
.
-
undefined
public static UriScheme undefined()
-
-