public abstract class AttributeDefinition<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected T |
defaultValue |
| Constructor and Description |
|---|
AttributeDefinition(String namespace,
String name,
T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
getValue(BaseElement element) |
String |
name() |
CustomAttribute<T> |
of(BaseElement element) |
abstract void |
setValue(BaseElement element,
T value) |
protected final T defaultValue
public String name()
public abstract T getValue(BaseElement element)
public abstract void setValue(BaseElement element, T value)
public CustomAttribute<T> of(BaseElement element)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.