|
||||||||||
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 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 the ATTLIST ID value for the XML tag defined by the Xpath for this bean. |
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 location in the deployment descriptor from which this bean is derived. |
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 this listener is to be registered for.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 |