org.apache.geronimo.deployment.tools
Class DDBeanImpl

java.lang.Object
  extended by org.apache.geronimo.deployment.tools.DDBeanImpl
All Implemented Interfaces:
DDBean

public class DDBeanImpl
extends Object
implements DDBean


Field Summary
protected  Map attributeMap
           
protected  Map children
           
protected  String content
           
protected  DDBean parent
           
protected  DDBeanRoot root
           
protected  String xpath
           
 
Constructor Summary
DDBeanImpl(DDBeanRoot root, DDBean parent, String xpath, org.apache.xmlbeans.XmlCursor c)
           
 
Method Summary
 void addXpathListener(String xpath, XpathListener xpl)
           
 boolean equals(Object other)
           
 String[] getAttributeNames()
           
 String getAttributeValue(String attrName)
           
 DDBean[] getChildBean(String xpath)
           
 String getId()
           
 DDBeanRoot getRoot()
           
 String getText()
           
 String[] getText(String xpath)
           
 String getXpath()
           
 int hashCode()
           
 void removeXpathListener(String xpath, XpathListener xpl)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

root

protected final DDBeanRoot root

xpath

protected final String xpath

children

protected final Map children

content

protected final String content

attributeMap

protected final Map attributeMap

parent

protected final DDBean parent
Constructor Detail

DDBeanImpl

public DDBeanImpl(DDBeanRoot root,
                  DDBean parent,
                  String xpath,
                  org.apache.xmlbeans.XmlCursor c)
Method Detail

getRoot

public DDBeanRoot getRoot()
Specified by:
getRoot in interface DDBean

getXpath

public String getXpath()
Specified by:
getXpath in interface DDBean

getText

public String getText()
Specified by:
getText in interface DDBean

getId

public String getId()
Specified by:
getId in interface DDBean

getAttributeValue

public String getAttributeValue(String attrName)
Specified by:
getAttributeValue in interface DDBean

getText

public String[] getText(String xpath)
Specified by:
getText in interface DDBean

getChildBean

public DDBean[] getChildBean(String xpath)
Specified by:
getChildBean in interface DDBean

getAttributeNames

public String[] getAttributeNames()
Specified by:
getAttributeNames in interface DDBean

addXpathListener

public void addXpathListener(String xpath,
                             XpathListener xpl)
Specified by:
addXpathListener in interface DDBean

removeXpathListener

public void removeXpathListener(String xpath,
                                XpathListener xpl)
Specified by:
removeXpathListener in interface DDBean

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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