Interface IAttributes
- All Superinterfaces:
Iterable<IAttribute>
- All Known Implementing Classes:
CssPseudoElementNode.AttributesStub, JsoupAttributes, PageMarginBoxContextNode.AttributesStub
Interface for a series of HTML attributes.
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String key) Gets the value of an attribute, given a key.voidsetAttribute(String key, String value) Adds a key and a value of an attributes.intsize()Returns the number of attributes.Methods inherited from interface Iterable
forEach, iterator, spliterator
-
Method Details
-
getAttribute
-
setAttribute
-
size
int size()Returns the number of attributes.- Returns:
- the number of attributes
-