public class NullXmlElement extends Object implements XmlElementLike
| Modifier and Type | Field and Description |
|---|---|
static XmlElementLike |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Optional<XmlElement> |
findChild(String name) |
XmlElementLike |
findChildOrEmpty(String name) |
Optional<String> |
getAttributeOrNone(String name) |
List<XmlNode> |
getChildren() |
boolean |
hasChild(String name) |
public static final XmlElementLike INSTANCE
public boolean hasChild(String name)
hasChild in interface XmlElementLikepublic Optional<XmlElement> findChild(String name)
findChild in interface XmlElementLikepublic XmlElementLike findChildOrEmpty(String name)
findChildOrEmpty in interface XmlElementLikepublic Optional<String> getAttributeOrNone(String name)
getAttributeOrNone in interface XmlElementLikepublic List<XmlNode> getChildren()
getChildren in interface XmlElementLikeCopyright © 2018. All rights reserved.