public abstract class AbstractElement extends Object implements Element
Element.Element.Attribute| Constructor and Description |
|---|
AbstractElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Element.Attribute attribute)
Adds an attribute.
|
<A extends Element.Attribute> |
getAttributes(Class<A> type)
Returns attributes of this task.
|
protected void |
setAttributes(Collection<? extends Element.Attribute> attributes)
Sets the attributes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindAttributepublic <A extends Element.Attribute> Stream<A> getAttributes(Class<A> type)
ElementgetAttributes in interface ElementA - the attribute typetype - the attribute typepublic void addAttribute(Element.Attribute attribute)
attribute - the attributeprotected void setAttributes(Collection<? extends Element.Attribute> attributes)
attributes - the attributesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.