|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.deployment.node.DeploymentDescriptorNode
com.sun.enterprise.deployment.node.ejb.EjbRelationshipRoleNode
public class EjbRelationshipRoleNode
This class is responsible for handling the ejb-relationship-role xml elements
| Field Summary |
|---|
| Fields inherited from class com.sun.enterprise.deployment.node.DeploymentDescriptorNode |
|---|
abstractDescriptor, handlers, localStrings, parentNode |
| Constructor Summary | |
|---|---|
EjbRelationshipRoleNode()
|
|
| Method Summary | |
|---|---|
boolean |
endElement(XMLElement element)
receives notification of the end of an XML element by the Parser |
java.lang.Object |
getDescriptor()
|
protected java.util.Map |
getDispatchTable()
all sub-implementation of this class can use a dispatch table to map xml element to method name on the descriptor class for setting the element value. |
XMLNode |
getHandlerFor(XMLElement element)
Return the XMLNode implementation respionsible for handling the sub-element of the current node |
boolean |
handlesElement(XMLElement element)
Return true if the XMLNode is responisble for handling the XML element |
void |
setElementValue(XMLElement element,
java.lang.String value)
receives notiification of the value for a particular tag |
org.w3c.dom.Node |
writeDescriptor(org.w3c.dom.Node parent,
java.lang.String nodeName,
RelationRoleDescriptor descriptor)
write the descriptor class to a DOM tree and return it |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EjbRelationshipRoleNode()
| Method Detail |
|---|
public XMLNode getHandlerFor(XMLElement element)
XMLNode
getHandlerFor in interface XMLNodegetHandlerFor in class DeploymentDescriptorNodeelement - the XML element type name
public boolean handlesElement(XMLElement element)
XMLNode
handlesElement in interface XMLNodehandlesElement in class DeploymentDescriptorNodeelement - the XML element type name
public java.lang.Object getDescriptor()
getDescriptor in interface XMLNodegetDescriptor in class DeploymentDescriptorNodeprotected java.util.Map getDispatchTable()
getDispatchTable in class DeploymentDescriptorNodepublic boolean endElement(XMLElement element)
endElement in interface XMLNodeendElement in class DeploymentDescriptorNodeelement - the xml tag identification
public void setElementValue(XMLElement element,
java.lang.String value)
setElementValue in interface XMLNodesetElementValue in class DeploymentDescriptorNodeelement - the xml elementvalue - it's associated value
public org.w3c.dom.Node writeDescriptor(org.w3c.dom.Node parent,
java.lang.String nodeName,
RelationRoleDescriptor descriptor)
parent - node in the DOM treenode - name for the root element of this xml fragmentthe - descriptor to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||