- All Superinterfaces:
FragmentAccessor
,FragmentAccessor.FragmentMutator
- All Known Implementing Classes:
UrlBuilder
- Enclosing interface:
- FragmentAccessor
public static interface FragmentAccessor.FragmentProperty
extends FragmentAccessor, FragmentAccessor.FragmentMutator
Provides a fragment property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.FragmentAccessor
FragmentAccessor.FragmentBuilder<B extends FragmentAccessor.FragmentBuilder<?>>, FragmentAccessor.FragmentMutator, FragmentAccessor.FragmentProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letFragment
(String aFragment) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofFragmentAccessor.FragmentMutator.setFragment(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.web.FragmentAccessor
getFragment
Methods inherited from interface org.refcodes.web.FragmentAccessor.FragmentMutator
setFragment
-
Method Details
-
letFragment
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofFragmentAccessor.FragmentMutator.setFragment(String)
and returns the very same value (getter).- Parameters:
aFragment
- TheString
to set (viaFragmentAccessor.FragmentMutator.setFragment(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-