public interface Element
Modifier and Type | Interface and Description |
---|---|
static interface |
Element.Attribute
Represents an attribute of
Element . |
Modifier and Type | Method and Description |
---|---|
default <A extends Element.Attribute> |
findAttribute(Class<A> type)
Returns an attribute of this task.
|
<A extends Element.Attribute> |
getAttributes(Class<A> type)
Returns attributes of this task.
|
default <A extends Element.Attribute> Optional<A> findAttribute(Class<A> type)
A
- the attribute typetype
- the attribute typeempty
if it is not found<A extends Element.Attribute> Stream<A> getAttributes(Class<A> type)
A
- the attribute typetype
- the attribute typeCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.