org.apache.geronimo.enterprise.deploy.tool
Class DDBeanImpl

java.lang.Object
  extended byorg.apache.geronimo.enterprise.deploy.tool.DDBeanImpl
All Implemented Interfaces:
javax.enterprise.deploy.model.DDBean
Direct Known Subclasses:
DDBeanRootImpl

public class DDBeanImpl
extends Object
implements javax.enterprise.deploy.model.DDBean

The DDBeanImpl provides an implementation for javax.enterprise.deploy.model.DDBean.

Version:
$Revision: 1.4 $ $Date: 2004/03/10 09:58:43 $

Field Summary
protected  String id
           
protected  HashMap listeners
           
protected  org.dom4j.Node node
           
protected  javax.enterprise.deploy.model.DDBeanRoot root
           
protected  String text
           
protected  String xPath
           
 
Method Summary
 void addXpathListener(String str, javax.enterprise.deploy.model.XpathListener xpathListener)
           
 boolean equals(Object obj)
          DDBeans are the same if nodes are the same
 String[] getAttributeNames()
           
 String getAttributeValue(String attrName)
           
 javax.enterprise.deploy.model.DDBean[] getChildBean(String str)
           
 String getId()
           
 javax.enterprise.deploy.model.DDBeanRoot getRoot()
           
 String getText()
           
 String[] getText(String str)
           
 String getXpath()
           
 int hashCode()
          DDBeans are the same if nodes are the same
 void removeXpathListener(String str, javax.enterprise.deploy.model.XpathListener xpathListener)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

protected org.dom4j.Node node

id

protected String id

root

protected javax.enterprise.deploy.model.DDBeanRoot root

text

protected String text

xPath

protected String xPath

listeners

protected HashMap listeners
Method Detail

addXpathListener

public void addXpathListener(String str,
                             javax.enterprise.deploy.model.XpathListener xpathListener)
Specified by:
addXpathListener in interface javax.enterprise.deploy.model.DDBean

getChildBean

public javax.enterprise.deploy.model.DDBean[] getChildBean(String str)
Specified by:
getChildBean in interface javax.enterprise.deploy.model.DDBean

getText

public String[] getText(String str)
Specified by:
getText in interface javax.enterprise.deploy.model.DDBean

getId

public String getId()
Specified by:
getId in interface javax.enterprise.deploy.model.DDBean

getRoot

public javax.enterprise.deploy.model.DDBeanRoot getRoot()
Specified by:
getRoot in interface javax.enterprise.deploy.model.DDBean

getText

public String getText()
Specified by:
getText in interface javax.enterprise.deploy.model.DDBean

getXpath

public String getXpath()
Specified by:
getXpath in interface javax.enterprise.deploy.model.DDBean

removeXpathListener

public void removeXpathListener(String str,
                                javax.enterprise.deploy.model.XpathListener xpathListener)
Specified by:
removeXpathListener in interface javax.enterprise.deploy.model.DDBean

getAttributeNames

public String[] getAttributeNames()
Specified by:
getAttributeNames in interface javax.enterprise.deploy.model.DDBean

getAttributeValue

public String getAttributeValue(String attrName)
Specified by:
getAttributeValue in interface javax.enterprise.deploy.model.DDBean

hashCode

public int hashCode()
DDBeans are the same if nodes are the same


equals

public boolean equals(Object obj)
DDBeans are the same if nodes are the same



Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.