Top Description Methods
javax.enterprise.deploy.model

public Interface DDBean

Known Direct Subinterfaces
javax.enterprise.deploy.model.DDBeanRoot

An interface for beans that represent a fragment of a standard deployment descriptor. A link is provided to the Java EE application that includes this bean.

Method Summary

Modifier and TypeMethod and Description
public void
addXpathListener(String
The XPath this listener is to be registered for.
xpath
,
XpathListener
The listener object.
xpl
)

Register a listener for a specific XPath.

public String[]

Returns:

a list of attribute names on this element. Null is returned if there are no attributes.
getAttributeNames
()

Returns the list of attribute names associated with the XML element.

public String

Returns:

a the value of the attribute. Null is returned if there is no such attribute.
getAttributeValue
(String attrName)

Returns the string value of the named attribute.

public DDBean[]

Returns:

a list of DDBeans or 'null' if no matching XML data is found.
getChildBean
(String
An XPath string referring to a location in the same deployment descriptor as this standard bean.
xpath
)

Return a list of DDBeans based upon the XPath.

public String

Returns:

The XML text for this Bean or 'null' if no attribute was specifed with the tag.
getId
()

Returns a tool-specific reference for attribute ID on an element in the deployment descriptor.

public DDBeanRoot

Returns:

The DDBeanRoot at the root of this DDBean tree.
getRoot
()

Return the root element for this DDBean.

public String

Returns:

The XML text for this Bean.
getText
()

Returns the XML text for by this bean.

public String[]

Returns:

The list text values for this XPath or 'null' if no matching XML data is found.
getText
(String
An XPath.
xpath
)

Return a list of text values for a given XPath in the deployment descriptor.

public String

Returns:

The XPath of this Bean.
getXpath
()

Returns the original xpath string provided by the DConfigBean.

public void
removeXpathListener(String
The XPath from which this listener is to be unregistered.
xpath
,
XpathListener
The listener object.
xpl
)

Unregister a listener for a specific XPath.

Method Detail

addXpathListenerback to summary
public void addXpathListener(String xpath, XpathListener xpl)

Register a listener for a specific XPath.

Parameters
xpath:String

The XPath this listener is to be registered for.

xpl:XpathListener

The listener object.

getAttributeNamesback to summary
public String[] getAttributeNames()

Returns the list of attribute names associated with the XML element.

Returns:String[]

a list of attribute names on this element. Null is returned if there are no attributes.

getAttributeValueback to summary
public String getAttributeValue(String attrName)

Returns the string value of the named attribute.

Returns:String

a the value of the attribute. Null is returned if there is no such attribute.

getChildBeanback to summary
public DDBean[] getChildBean(String xpath)

Return a list of DDBeans based upon the XPath.

Parameters
xpath:String

An XPath string referring to a location in the same deployment descriptor as this standard bean.

Returns:DDBean[]

a list of DDBeans or 'null' if no matching XML data is found.

getIdback to summary
public String getId()

Returns a tool-specific reference for attribute ID on an element in the deployment descriptor. This attribute is defined for J2EE 1.2 and 1.3 components.

Returns:String

The XML text for this Bean or 'null' if no attribute was specifed with the tag.

getRootback to summary
public DDBeanRoot getRoot()

Return the root element for this DDBean.

Returns:DDBeanRoot

The DDBeanRoot at the root of this DDBean tree.

getTextback to summary
public String getText()

Returns the XML text for by this bean.

Returns:String

The XML text for this Bean.

getTextback to summary
public String[] getText(String xpath)

Return a list of text values for a given XPath in the deployment descriptor.

Parameters
xpath:String

An XPath.

Returns:String[]

The list text values for this XPath or 'null' if no matching XML data is found.

getXpathback to summary
public String getXpath()

Returns the original xpath string provided by the DConfigBean.

Returns:String

The XPath of this Bean.

removeXpathListenerback to summary
public void removeXpathListener(String xpath, XpathListener xpl)

Unregister a listener for a specific XPath.

Parameters
xpath:String

The XPath from which this listener is to be unregistered.

xpl:XpathListener

The listener object.