public class Attributes extends Object implements IAttributes
Constructor and Description |
---|
Attributes() |
Modifier and Type | Method and Description |
---|---|
Object |
getAttribute(String name) |
Set<String> |
getAttributeNames() |
Object |
removeAttribute(String name)
Remove the attribute
|
void |
setAttribute(String name,
Object value)
Set a custom attribute.
|
public Object getAttribute(String name)
getAttribute
in interface IAttributes
name
- The name of the attribute to returnpublic Set<String> getAttributeNames()
getAttributeNames
in interface IAttributes
public void setAttribute(String name, Object value)
IAttributes
setAttribute
in interface IAttributes
public Object removeAttribute(String name)
IAttributes
removeAttribute
in interface IAttributes
Copyright © 2024. All rights reserved.