public interface DDBean
Modifier and Type | Method and Description |
---|---|
void |
addXpathListener(String xpath,
XpathListener xpl)
Register a listener for a given xpath
|
String[] |
getAttributeNames()
Returns the list of attributes associated with this element
|
String |
getAttributeValue(String attrName)
Get the value for a given attribute
|
DDBean[] |
getChildBean(String xpath)
Get the child elements with the specified xpath
|
String |
getId()
Returns the tool specific attribute ID
|
DDBeanRoot |
getRoot()
Get the root element
|
String |
getText()
Returns the XML text for this bean
|
String[] |
getText(String xpath)
Get the text for the given xpath
|
String |
getXpath()
Returns the original xpath string provided by the DConfigBean
|
void |
removeXpathListener(String xpath,
XpathListener xpl)
Unregister a listener for a given xpath
|
String getXpath()
String getText()
String getId()
DDBeanRoot getRoot()
DDBean[] getChildBean(String xpath)
xpath
- the xpath of the childrenString[] getText(String xpath)
xpath
- the xpathvoid addXpathListener(String xpath, XpathListener xpl)
xpath
- the xpathxpl
- the listenervoid removeXpathListener(String xpath, XpathListener xpl)
xpath
- the xpathxpl
- the listenerString[] getAttributeNames()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.