|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
void |
addXpathListener(String xpath,
XpathListener xpl)
Register a listener for a specific XPath. |
String[] |
getAttributeNames()
Returns the list of attribute names associated with the XML element. |
String |
getAttributeValue(String attrName)
Returns the string value of the named attribute. |
DDBean[] |
getChildBean(String xpath)
Return a list of DDBeans based upon the XPath. |
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. |
String |
getText()
Returns the XML text for by this bean. |
String[] |
getText(String xpath)
Return a list of text values for a given XPath in the deployment descriptor. |
String |
getXpath()
Returns the original xpath string provided by the DConfigBean. |
void |
removeXpathListener(String xpath,
XpathListener xpl)
Unregister a listener for a specific XPath. |
Method Detail |
public String getXpath()
public String getText()
public String getId()
public DDBeanRoot getRoot()
public DDBean[] getChildBean(String xpath)
xpath
- An XPath string referring to a location in the
same deployment descriptor as this standard bean.
public String[] getText(String xpath)
xpath
- An XPath.
public void addXpathListener(String xpath, XpathListener xpl)
xpath
- The XPath this listener is to be registered for.xpl
- The listener object.public void removeXpathListener(String xpath, XpathListener xpl)
xpath
- The XPath from which this listener is to be
unregistered.xpl
- The listener object.public String[] getAttributeNames()
public String getAttributeValue(String attrName)
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.