| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DDBean
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 | |
|---|---|
 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 the 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 a tool-specific reference for attribute ID on an element in the deployment descriptor.  | 
 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 original xpath string provided by the DConfigBean.  | 
 void | 
removeXpathListener(java.lang.String xpath,
                    XpathListener xpl)
Unregister a listener for a specific XPath.  | 
| Method Detail | 
|---|
java.lang.String getXpath()
java.lang.String getText()
java.lang.String getId()
DDBeanRoot getRoot()
DDBean[] getChildBean(java.lang.String xpath)
xpath - An XPath string referring to a location in the
 same deployment descriptor as this standard bean.
java.lang.String[] getText(java.lang.String xpath)
xpath - An XPath.
void addXpathListener(java.lang.String xpath,
                      XpathListener xpl)
xpath - The XPath this listener is to be registered for.xpl - The listener object.
void removeXpathListener(java.lang.String xpath,
                         XpathListener xpl)
xpath - The XPath from which this listener is to be
          unregistered.xpl - The listener object.java.lang.String[] getAttributeNames()
java.lang.String getAttributeValue(java.lang.String attrName)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41