org.apache.felix.obrplugin

Class Capability

public class Capability extends Object

This class describe and store capability node.

Author: Felix Project Team

Method Summary
voidaddP(PElement pelement)
add one element in List.
StringgetName()
get the name attribute.
NodegetNode(Document father)
transform this object to Node.
ListgetP()
return the capabilities.
voidsetName(String name)
set the name attribute.
voidsetP(List mp)
set the capabilities.

Method Detail

addP

public void addP(PElement pelement)
add one element in List.

Parameters: pelement PElement

getName

public String getName()
get the name attribute.

Returns: name attribute

getNode

public Node getNode(Document father)
transform this object to Node.

Parameters: father father document for create Node

Returns: node

getP

public List getP()
return the capabilities.

Returns: List of PElement

setName

public void setName(String name)
set the name attribute.

Parameters: name new name value

setP

public void setP(List mp)
set the capabilities.

Parameters: mp List of PElement

Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.