Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.enterprise.deploy.model
Interface DDBean  view DDBean download DDBean.java

All Known Subinterfaces:
DDBeanRoot

public interface DDBean

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

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Method Summary
 void addXpathListener(java.lang.String xpath, XpathListener xpl)
          Register a listener for a specific XPath.
 java.lang.String[] getAttributeNames()
          Returns the list of attribute names associated with XML element.
 java.lang.String getAttributeValue(java.lang.String attrName)
          Returns the string value of the named attribute.
 DDBean[] getChildBean(java.lang.String xpath)
          Return a list of DDBeans based upon the XPath.
 java.lang.String getId()
          Returns the ATTLIST ID value for the XML tag defined by the Xpath for this bean.
 DDBeanRoot getRoot()
          Return the root element for this DDBean.
 java.lang.String getText()
          Returns the XML text for by this bean.
 java.lang.String[] getText(java.lang.String xpath)
          Return a list of text values for a given XPath in the deployment descriptor.
 java.lang.String getXpath()
          Returns the location in the deployment descriptor from which this bean is derived.
 void removeXpathListener(java.lang.String xpath, XpathListener xpl)
          Unregister a listener for a specific XPath.
 

Method Detail

getXpath

public java.lang.String getXpath()
Returns the location in the deployment descriptor from which this bean is derived.


getText

public java.lang.String getText()
Returns the XML text for by this bean.


getId

public java.lang.String getId()
Returns the ATTLIST ID value for the XML tag defined by the Xpath for this bean.


getRoot

public DDBeanRoot getRoot()
Return the root element for this DDBean.


getChildBean

public DDBean[] getChildBean(java.lang.String xpath)
Return a list of DDBeans based upon the XPath.


getText

public java.lang.String[] getText(java.lang.String xpath)
Return a list of text values for a given XPath in the deployment descriptor.


addXpathListener

public void addXpathListener(java.lang.String xpath,
                             XpathListener xpl)
Register a listener for a specific XPath.


removeXpathListener

public void removeXpathListener(java.lang.String xpath,
                                XpathListener xpl)
Unregister a listener for a specific XPath.


getAttributeNames

public java.lang.String[] getAttributeNames()
Returns the list of attribute names associated with XML element.

Since:
1.1

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String attrName)
Returns the string value of the named attribute.

Since:
1.1