Interface FluentMutableOptionalNameHolder<H extends FluentMutableOptionalNameHolder<H>>
- Type Parameters:
H- the type of aFluentMutableOptionalNameHolder
- All Superinterfaces:
OptionalNameHolder
- All Known Subinterfaces:
IMutableXmlNode, IXmlNode<N>
- All Known Implementing Classes:
MutableXmlNode
public interface FluentMutableOptionalNameHolder<H extends FluentMutableOptionalNameHolder<H>>
extends OptionalNameHolder
A
FluentMutableOptionalNameHolder is a OptionalNameHolder
whose name can be set programmatically and fluently and removed
programmatically.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionvoidRemoves the name of the currentFluentMutableOptionalNameHolder.Sets the name of the currentFluentMutableOptionalNameHolder.Methods inherited from interface OptionalNameHolder
getName, getNameInSingleQuotes, hasName, hasName
-
Method Details
-
removeName
void removeName()Removes the name of the currentFluentMutableOptionalNameHolder. -
setName
Sets the name of the currentFluentMutableOptionalNameHolder.- Parameters:
name-- Returns:
- the current
FluentMutableOptionalNameHolder - Throws:
RuntimeException- if the given name is null or blank
-