public interface IsST extends DoesRender, CategoryIs
Interface for objects that represent String Template (ST) objects (for which one can check chunks etc).
| Modifier and Type | Method and Description |
|---|---|
static IsST |
create(ST st)
Creates a new IsST object.
|
static IsST |
create(ST st,
Set<String> expectedArguments)
Creates a new IsST object.
|
Set<String> |
getExpectedArguments()
Returns the arguments expected to be defined in the ST object.
|
ST |
getST()
Returns the ST object.
|
default String |
render()
Renders an object for (text) output.
|
default Set<String> |
validate()
Validates the ST for expected arguments.
|
ST getST()
Returns the ST object.
default String render()
DoesRenderRenders an object for (text) output.
render in interface DoesRenderSet<String> getExpectedArguments()
Returns the arguments expected to be defined in the ST object.
default Set<String> validate()
Validates the ST for expected arguments.
static IsST create(ST st)
Creates a new IsST object.
st - the contained ST objectNullPointerException - if st was nullstatic IsST create(ST st, Set<String> expectedArguments)
Creates a new IsST object.
st - the contained ST objectexpectedArguments - set of expected arguments for the STNullPointerException - if st was null or the expected arguments was not null and contained null elementsCopyright © 2016–2017. All rights reserved.