getOptionalChild(org.w3c.dom.Element element,
java.lang.String tagName)
Gets the child of the specified element having the
specified name.
static org.w3c.dom.Element
getOptionalChild(org.w3c.dom.Element element,
java.lang.String tagName,
org.w3c.dom.Element defaultElement)
Gets the child of the specified element having the
specified name.
Gets the child of the specified element having the
specified name. If the child with this name doesn't exist
then the supplied default element is returned instead.
Parameters:
element - the parent element
tagName - the name of the desired child
defaultElement - the element to return if the child
doesn't exist
Returns:
either the named child or the supplied default
getElementContent
public static java.lang.String getElementContent(org.w3c.dom.Element element)
throws DeploymentException
getElementContent
public static java.lang.String getElementContent(org.w3c.dom.Element element,
java.lang.String defaultStr)
throws DeploymentException
clone
public java.lang.Object clone()
Overrides:
clone in class java.lang.Object
importXml
public void importXml(org.w3c.dom.Element element)
throws DeploymentException