- java.lang.Object
-
- swim.structure.Form<UriPattern>
-
- swim.uri.UriPatternForm
-
public class UriPatternForm extends Form<UriPattern>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UriPatterncast(Item value)Converts a structurally typediteminto a nominally typed Java object.Itemmold(UriPattern value)Converts a nominally typed Javaobjectinto its structurally typed equivalent.Class<UriPattern>type()Returns the reifiedClassof typeT.UriPatternunit()Returns a default–possiblynull–value of typeT.-
Methods inherited from class swim.structure.Form
cast, forArray, forBigInteger, forBoolean, forBuiltin, forByte, forByteBuffer, forCharacter, forClass, forClass, forCollection, forDouble, forFloat, forInteger, forItem, forList, forLong, forMap, forMap, forNumber, forSet, forShort, forString, forValue, isBuiltin, mold, tag, tag, unit
-
-
-
-
Method Detail
-
type
public Class<UriPattern> type()
Description copied from class:FormReturns the reifiedClassof typeT.- Specified by:
typein classForm<UriPattern>
-
unit
public UriPattern unit()
Description copied from class:FormReturns a default–possiblynull–value of typeT. Used as the fallback return value whencoercingan invalid structural value.- Overrides:
unitin classForm<UriPattern>
-
mold
public Item mold(UriPattern value)
Description copied from class:FormConverts a nominally typed Javaobjectinto its structurally typed equivalent. The returnedItemmust never benull.- Specified by:
moldin classForm<UriPattern>
-
cast
public UriPattern cast(Item value)
Description copied from class:FormConverts a structurally typediteminto a nominally typed Java object. The passed-initemis assumed to be non-null.- Specified by:
castin classForm<UriPattern>
-
-