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