Modifier and Type | Method and Description |
---|---|
List<? extends Attribute> |
getAttributes()
Returns the attributes of this element.
|
Element |
getParent()
Returns the parent element of this.
|
Element |
withAttribute(Attribute attribute)
Adds an attribute.
|
Element |
withAttributes(Attribute... attributes)
Adds attributes.
|
Element |
withAttributes(List<? extends Attribute> attributes)
Adds attributes.
|
Element getParent()
null
if this is root elementList<? extends Attribute> getAttributes()
Element withAttribute(Attribute attribute)
attribute
- the attributeElement withAttributes(List<? extends Attribute> attributes)
attributes
- the attributesCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.