org.codehaus.cargo.module.webapp.resin
Class ResourceRef

java.lang.Object
  extended by org.codehaus.cargo.module.internal.util.xml.AbstractNode
      extended by org.codehaus.cargo.module.internal.util.xml.AbstractElement
          extended by org.codehaus.cargo.module.webapp.resin.ResourceRef
All Implemented Interfaces:
org.w3c.dom.Element, org.w3c.dom.Node

public class ResourceRef
extends AbstractElement
implements org.w3c.dom.Element

Wrapper class representing a resin-web resource-ref entry.

Version:
$Id: $

Field Summary
 
Fields inherited from class org.codehaus.cargo.module.internal.util.xml.AbstractNode
node
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
ResourceRef(org.w3c.dom.Element element)
          Constructor.
 
Method Summary
 java.lang.String getElementId()
          Overridden by concrete implementors to return some reasonable identifier for this section of XML.
 java.lang.String getType()
          Get the resource type that this is (eg JNDI).
 
Methods inherited from class org.codehaus.cargo.module.internal.util.xml.AbstractElement
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElement, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, getText, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from class org.codehaus.cargo.module.internal.util.xml.AbstractNode
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

ResourceRef

public ResourceRef(org.w3c.dom.Element element)
Constructor.

Parameters:
element - the element that is a resource ref
Method Detail

getElementId

public java.lang.String getElementId()
Overridden by concrete implementors to return some reasonable identifier for this section of XML.

Specified by:
getElementId in class AbstractElement
Returns:
the identifier of this section
See Also:
AbstractElement.getElementId()

getType

public java.lang.String getType()
Get the resource type that this is (eg JNDI).

Returns:
the res-type value


Copyright © 2004-2011 Codehaus. All Rights Reserved.