org.java.plugin.registry
Interface PluginAttribute
- All Superinterfaces:
- Documentable, Identity, PluginElement
- public interface PluginAttribute
- extends PluginElement
This interface abstracts plug-in attribute, a <ID,VALUE> pair. Plug-in
attributes are not involved into JPF runtime internal logic and intended
to be used by plug-in developers.
- Version:
- $Id: PluginAttribute.java,v 1.1 2005/07/20 18:43:46 ddimon Exp $
Methods inherited from interface org.java.plugin.registry.Identity |
getId |
getValue
public java.lang.String getValue()
- Returns:
- attribute value as it is specified in manifest
getSubAttributes
public java.util.Collection getSubAttributes()
- Returns:
- collection of all sub-attributes of this attribute
getSubAttribute
public PluginAttribute getSubAttribute(java.lang.String id)
- Parameters:
id
- ID of sub-attribute to look for
- Returns:
- sub-attribute with given ID
getSubAttributes
public java.util.Collection getSubAttributes(java.lang.String id)
- Parameters:
id
- ID of sub-attribute to look for
- Returns:
- collection of all sub-attributes with given ID
getSuperAttribute
public PluginAttribute getSuperAttribute()
- Returns:
- attribute, of which this one is child or
null
if
this is top level attribute
Copyright © 2004-2005 Dmitry Olshansky. All Rights Reserved.