public interface Elements
| Modifier and Type | Method and Description |
|---|---|
static void |
inherit(@Nullable org.jdom2.Element source,
@NonNull org.jdom2.Element target)
Inherit attributes from
source into target. |
static void |
inherit(@Nullable org.jdom2.Parent source,
@NonNull org.jdom2.Element target)
Inherit attributes from
source into target. |
static @NonNull org.jdom2.Element |
inherited(@NonNull org.jdom2.Element element)
Returns an element which inherits attributes from its parent element, if present.
|
static @NonNull Node |
inherited(@NonNull Node node)
Returns an element which inherits attributes from its parent element, if present.
|
static void inherit(@Nullable org.jdom2.Parent source,
@NonNull org.jdom2.Element target)
source into target.source - the source parenttarget - the target elementstatic void inherit(@Nullable org.jdom2.Element source,
@NonNull org.jdom2.Element target)
source into target.source - the source elementtarget - the target elementstatic @NonNull Node inherited(@NonNull Node node)
node - the nodestatic @NonNull org.jdom2.Element inherited(@NonNull org.jdom2.Element element)
element - the element