Schnittstelle IOptionalNameHolder
- Alle bekannten Unterschnittstellen:
IFluentMutableOptionalNameHolder<H>,IFluentMutableOptionalQualifiedNameHolder<H>,IMutableOptionalNameHolder,IMutableOptionalQualifiedNameHolder,IMutableXmlNode,IOptionalQualifiedNameHolder,IXmlNode<N>
- Alle bekannten Implementierungsklassen:
MutableXmlNode
public interface IOptionalNameHolder
A
IOptionalNameHolder can have a name.- Version:
- 2020-03-29
- Autor:
- Silvan Wyss
-
Methodenübersicht
-
Methodendetails
-
getName
String getName()- Gibt zurück:
- the name of the current
IOptionalNameHolder. - Löst aus:
RuntimeException- if the currentIOptionalNameHolderdoes not have a name.
-
getNameInQuotes
- Gibt zurück:
- the name of the current
IOptionalNameHolderin quotes. - Löst aus:
RuntimeException- if the currentIOptionalNameHolderdoes not have a name.
-
hasName
boolean hasName()- Gibt zurück:
- true if the current
IOptionalNameHolderhas a name, false otherwise.
-
hasName
- Parameter:
name-- Gibt zurück:
- true if the current
IOptionalNameHolderhas the given name, false otherwise.
-