- All Superinterfaces:
DataLocator
,DataLocator.DataLocatorMutator
- Enclosing interface:
- DataLocator
public static interface DataLocator.DataLocatorProperty
extends DataLocator, DataLocator.DataLocatorMutator
Provides a property (getter / setter) for a data locator property (width
and height).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.data.DataLocator
DataLocator.DataLocatorBuilder<B extends DataLocator.DataLocatorBuilder<B>>, DataLocator.DataLocatorMutator, DataLocator.DataLocatorProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault InputStream
letDataInputStream
(InputStream aDataInputStream) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenInputStream
array (setter) as ofDataLocator.DataLocatorMutator.setDataInputStream(InputStream)
and returns the very same value (getter).default URL
letDataUrl
(URL aDataUrl) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenURL
array (setter) as ofDataLocator.DataLocatorMutator.setDataUrl(URL)
and returns the very same value (getter).Methods inherited from interface org.refcodes.data.DataLocator
getDataInputStream, getDataUrl
Methods inherited from interface org.refcodes.data.DataLocator.DataLocatorMutator
setDataInputStream, setDataUrl
-
Method Details
-
letDataUrl
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenURL
array (setter) as ofDataLocator.DataLocatorMutator.setDataUrl(URL)
and returns the very same value (getter).- Parameters:
aDataUrl
- TheURL
array to set (viaDataLocator.DataLocatorMutator.setDataUrl(URL)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
letDataInputStream
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenInputStream
array (setter) as ofDataLocator.DataLocatorMutator.setDataInputStream(InputStream)
and returns the very same value (getter).- Parameters:
aDataInputStream
- TheInputStream
array to set (viaDataLocator.DataLocatorMutator.setDataInputStream(InputStream)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-