|
|||||||||
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 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 |
---|
String getXpath()
String getText()
String getId()
DDBeanRoot getRoot()
DDBean[] getChildBean(String xpath)
xpath
- An XPath string referring to a location in the
same deployment descriptor as this standard bean.
String[] getText(String xpath)
xpath
- An XPath.
void addXpathListener(String xpath, XpathListener xpl)
xpath
- The XPath this listener is to be registered for.xpl
- The listener object.void removeXpathListener(String xpath, XpathListener xpl)
xpath
- The XPath from which this listener is to be
unregistered.xpl
- The listener object.String[] getAttributeNames()
String getAttributeValue(String attrName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.