public interface Element
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXTENDS |
static java.lang.String |
ID |
static java.lang.String |
PART_OF |
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.
|
static final java.lang.String ID
static final java.lang.String EXTENDS
static final java.lang.String PART_OF
boolean mayHaveChildren()
java.util.List<Element> getChildren()
boolean isExtensible()
Extensible
.Extensible
.Extensible getExtensible()
Extensible
information.true
from the isExtensible()
method, must implement the Extensible
interface and return this
from their implementation of this method.