|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.beasys.commerce.util.DOMHelper
DomHelper
public class DOMHelper
| Constructor Summary | |
|---|---|
DOMHelper()
Deprecated |
|
| Method Summary | |
|---|---|
static String |
extractAttributeValue(Node node,
String attribute)
Deprecated Finds value for an attribute with a given name. |
static Node |
extractNodeByTag(Node node,
String tag)
Deprecated Returns a node matching a given tag. |
static NodeList |
extractNodeListByTag(Node node,
String tag)
Deprecated /** Returns a nodeList consisting of nodes that match a given tag and that are descendant elements of a given node. |
static String |
extractNodeValue(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 String |
getTagName(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 Node extractNodeByTag(Node node,
String tag)
throws ApplicationException
node - xml node from DOM modeltag - specifies the name of the node to look for in the DOM model
ApplicationException
public static NodeList extractNodeListByTag(Node node,
String tag)
throws ApplicationException
node - xml node from DOM modeltag - specifies the name of the node to look for in the DOM model
ApplicationException
public static String extractNodeValue(Node node)
throws ApplicationException
node - xml node from DOM model
ApplicationException
public static String extractAttributeValue(Node node,
String attribute)
throws ApplicationException
node - xml node from DOM modelattribute - the name of the attribute
ApplicationExceptionpublic static String getTagName(Element e)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||