Interface IOptionalNameHolder
- All Known Subinterfaces:
IFluentMutableOptionalNameHolder<H>, IFluentMutableOptionalQualifiedNameHolder<H>, IMutableOptionalNameHolder, IMutableOptionalQualifiedNameHolder, IMutableXmlNode, IOptionalQualifiedNameHolder, IXmlNode<N>
- All Known Implementing Classes:
MutableXmlNode
-
Method Summary
-
Method Details
-
getName
String getName()- Returns:
- the name of the current
IOptionalNameHolder. - Throws:
RuntimeException- if the currentIOptionalNameHolderdoes not have a name.
-
getNameInQuotes
- Returns:
- the name of the current
IOptionalNameHolderin quotes. - Throws:
RuntimeException- if the currentIOptionalNameHolderdoes not have a name.
-
hasName
boolean hasName()- Returns:
- true if the current
IOptionalNameHolderhas a name, false otherwise.
-
hasName
- Parameters:
name-- Returns:
- true if the current
IOptionalNameHolderhas the given name, false otherwise.
-