- 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 intcompareTo(UriScheme that)static UriSchemecreate(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.booleanequals(Object other)inthashCode()booleanisDefined()Stringname()static UriSchemeparse(String string)StringtoString()static UriSchemeundefined()
-
-
-
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:
compareToin interfaceComparable<UriScheme>
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
display
public <T> Output<T> display(Output<T> output)
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput.
-
undefined
public static UriScheme undefined()
-
-