public abstract class SimpleElement extends java.lang.Object implements Element
| Constructor and Description |
|---|
SimpleElement() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Element> |
getChildren()
If this element contains other elements as children, this method returns
the list of children, otherwise, it returns an empty list.
|
Extensible |
getExtensible()
Get the
Extensible information. |
boolean |
isExtensible()
Find out whether this element is
Extensible. |
boolean |
mayHaveChildren()
Find out whether this element contains other elements as children.
|
public boolean mayHaveChildren()
ElementmayHaveChildren in interface Elementpublic boolean isExtensible()
ElementExtensible.isExtensible in interface ElementExtensible.public Extensible getExtensible()
ElementExtensible information.getExtensible in interface Elementtrue from the
isExtensible() method, must implement the Extensible
interface and return this from their implementation of
this method.public java.util.List<Element> getChildren()
ElementgetChildren in interface Element