- java.lang.Object
-
- swim.uri.UriPart
-
- swim.uri.UriScheme
-
- All Implemented Interfaces:
Comparable<UriScheme>,swim.codec.Debug,swim.codec.Display
public class UriScheme extends UriPart implements Comparable<UriScheme>, swim.codec.Debug, swim.codec.Display
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(UriScheme that)voiddebug(swim.codec.Output<?> output)voiddisplay(swim.codec.Output<?> output)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(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
display
public void display(swim.codec.Output<?> output)
- Specified by:
displayin interfaceswim.codec.Display
-
-