public interface DDBean
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.