Interface OptionalNameHolder
- All Known Subinterfaces:
FluentMutableOptionalNameHolder<H>, IMutableXmlNode, IXmlNode<N>, MutableOptionalNameHolder
- All Known Implementing Classes:
MutableXmlNode
-
Method Summary
-
Method Details
-
getName
String getName()- Returns:
- the name of the current
OptionalNameHolder - Throws:
RuntimeException- if the currentOptionalNameHolderdoes not have a name
-
getNameInSingleQuotes
- Returns:
- the name of the current
OptionalNameHolderin single quotes - Throws:
RuntimeException- if the currentOptionalNameHolderdoes not have a name
-
hasName
boolean hasName()- Returns:
- true if the current
OptionalNameHolderhas a name, false otherwise
-
hasName
- Parameters:
name-- Returns:
- true if the current
OptionalNameHolderhas the given name, false otherwise
-