- 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)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.voiddisplay(Output<?> output)Writes a human readable, display-formatted string representation of this object tooutput.booleanequals(Object other)static UriSchemefrom(String name)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
-
undefined
public static UriScheme undefined()
-
isDefined
public final boolean isDefined()
-
name
public final String name()
-
compareTo
public final int compareTo(UriScheme that)
- Specified by:
compareToin interfaceComparable<UriScheme>
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
display
public void display(Output<?> output)
Description copied from interface:DisplayWrites a human readable, display-formatted string representation of this object tooutput.
-
-