|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.util.DOMHelper
DomHelper
Constructor Summary | |
DOMHelper()
Deprecated. |
Method Summary | |
static java.lang.String |
extractAttributeValue(org.w3c.dom.Node node,
java.lang.String attribute)
Deprecated. Finds value for an attribute with a given name. |
static org.w3c.dom.Node |
extractNodeByTag(org.w3c.dom.Node node,
java.lang.String tag)
Deprecated. Returns a node matching a given tag. |
static org.w3c.dom.NodeList |
extractNodeListByTag(org.w3c.dom.Node node,
java.lang.String tag)
Deprecated. /** Returns a nodeList consisting of nodes that match a given tag and that are descendant elements of a given node. |
static java.lang.String |
extractNodeValue(org.w3c.dom.Node node)
Deprecated. Finds node value as string object Return null if node is not present or the node does not have a value |
static java.lang.String |
getTagName(org.w3c.dom.Element e)
Deprecated. Get the non-namespace-prefixed tag name of an element. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DOMHelper()
Method Detail |
public static org.w3c.dom.Node extractNodeByTag(org.w3c.dom.Node node, java.lang.String tag) throws ApplicationException
node
- xml node from DOM modeltag
- specifies the name of the node to look for in the DOM modelpublic static org.w3c.dom.NodeList extractNodeListByTag(org.w3c.dom.Node node, java.lang.String tag) throws ApplicationException
node
- xml node from DOM modeltag
- specifies the name of the node to look for in the DOM modelpublic static java.lang.String extractNodeValue(org.w3c.dom.Node node) throws ApplicationException
node
- xml node from DOM modelpublic static java.lang.String extractAttributeValue(org.w3c.dom.Node node, java.lang.String attribute) throws ApplicationException
node
- xml node from DOM modelattribute
- the name of the attributepublic static java.lang.String getTagName(org.w3c.dom.Element e)
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |