Module swim.uri
Package swim.uri

Class UriPatternForm

    • Method Detail

      • unit

        public UriPattern unit()
        Description copied from class: Form
        Returns a default–possibly null–value of type T. Used as the fallback return value when coercing an invalid structural value.
        Overrides:
        unit in class Form<UriPattern>
      • mold

        public Item mold​(UriPattern value)
        Description copied from class: Form
        Converts a nominally typed Java object into its structurally typed equivalent. The returned Item must never be null.
        Specified by:
        mold in class Form<UriPattern>
      • cast

        public UriPattern cast​(Item value)
        Description copied from class: Form
        Converts a structurally typed item into a nominally typed Java object. The passed-in item is assumed to be non-null.
        Specified by:
        cast in class Form<UriPattern>