|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParameterizedAttribute
Attribute with parameters.
| Method Summary | ||
|---|---|---|
Parameter |
getAttribute(String name)
Get an attribute by name. |
|
Map<String,Parameter> |
getAttributes()
Get the attributes. |
|
|
getAttributeValue(String name,
Class<T> type)
Get an attribute value |
|
|
getAttributeValue(String name,
T defaultValue,
Class<T> type)
Get a directive value |
|
Parameter |
getDirective(String name)
Get a directive by name. |
|
Map<String,Parameter> |
getDirectives()
Get the declerations |
|
|
getDirectiveValue(String name,
Class<T> type)
Get a directive value |
|
|
getDirectiveValue(String name,
T defaultValue,
Class<T> type)
Get a directive value |
|
| Methods inherited from interface org.jboss.osgi.metadata.AttributeAware |
|---|
getAttribute |
| Method Detail |
|---|
Map<String,Parameter> getAttributes()
Parameter getAttribute(String name)
name - attributes's name
<T> T getAttributeValue(String name,
Class<T> type)
T - the expected typename - the name of the attributetype - the expected type
<T> T getAttributeValue(String name,
T defaultValue,
Class<T> type)
T - the expected typename - the name of the directivedefaultValue - the default value when no attribute is specifiedtype - the expected type
Map<String,Parameter> getDirectives()
Parameter getDirective(String name)
name - directive's name
<T> T getDirectiveValue(String name,
Class<T> type)
T - the expected typename - the name of the directivetype - the expected type
<T> T getDirectiveValue(String name,
T defaultValue,
Class<T> type)
T - the expected typename - the name of the directivedefaultValue - the default value when no directive is specifiedtype - the expected type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||