|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcreek.cke.importexport.xml.DOMutilities
The intention of this class is to gather utilities that may be useful when working with DOM documents.
Constructor Summary | |
DOMutilities()
|
Method Summary | |
static java.lang.String |
getAttributeValueByName(java.lang.String attribName,
org.w3c.dom.NamedNodeMap attribList)
Gets the value of an attribute from an attribute list by giving the name of the attribute. |
static org.w3c.dom.Node |
getNodeByName(java.lang.String nodeName,
short nodeType,
org.w3c.dom.NodeList nodeList)
Gets the node in from an node list by giving the name of the node. |
static java.lang.String |
getValueWithoutNS(java.lang.String valueStr)
Get's a value without it's namespace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DOMutilities()
Method Detail |
public static java.lang.String getValueWithoutNS(java.lang.String valueStr)
valueStr
- the string containing the value
public static java.lang.String getAttributeValueByName(java.lang.String attribName, org.w3c.dom.NamedNodeMap attribList)
attribName
- the name of the attribute looking forattribList
- the list of attributes
public static org.w3c.dom.Node getNodeByName(java.lang.String nodeName, short nodeType, org.w3c.dom.NodeList nodeList)
nodeName
- the name of the node looking fornodeType
- the type of node looking for. The node types
are declared in the Node class.nodeList
- the list of nodes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |