JPF 1.5.1

org.java.plugin.registry
Interface PluginAttribute

All Superinterfaces:
Documentable<PluginAttribute>, Identity, PluginElement<PluginAttribute>
All Known Implementing Classes:
MockPluginAttribute

public interface PluginAttribute
extends PluginElement<PluginAttribute>

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$

Method Summary
 PluginAttribute getSubAttribute(java.lang.String id)
           
 java.util.Collection<PluginAttribute> getSubAttributes()
           
 java.util.Collection<PluginAttribute> getSubAttributes(java.lang.String id)
           
 PluginAttribute getSuperAttribute()
           
 java.lang.String getValue()
           
 
Methods inherited from interface org.java.plugin.registry.PluginElement
getDeclaringPluginDescriptor, getDeclaringPluginFragment
 
Methods inherited from interface org.java.plugin.registry.Identity
getId
 
Methods inherited from interface org.java.plugin.registry.Documentable
getDocsPath, getDocumentation
 

Method Detail

getValue

java.lang.String getValue()
Returns:
attribute value as it is specified in manifest

getSubAttributes

java.util.Collection<PluginAttribute> getSubAttributes()
Returns:
collection of all sub-attributes of this attribute

getSubAttribute

PluginAttribute getSubAttribute(java.lang.String id)
Parameters:
id - ID of sub-attribute to look for
Returns:
sub-attribute with given ID

getSubAttributes

java.util.Collection<PluginAttribute> getSubAttributes(java.lang.String id)
Parameters:
id - ID of sub-attribute to look for
Returns:
collection of all sub-attributes with given ID

getSuperAttribute

PluginAttribute getSuperAttribute()
Returns:
attribute, of which this one is child or null if this is top level attribute

JPF 1.5.1

Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.