com.ibm.di.util
Class DOMUtils
java.lang.Object
com.ibm.di.util.DOMUtils
public class DOMUtils extends Object
Note: This class is for internal usage only. Any dependency from the
end-user will not be supported. Changes to this class will happen without a
warning.
Since:
7.1
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
doc
public static Document doc
DOMUtils
public DOMUtils ()
getElementByName
public static final Element getElementByName (Element parent,
String localName,
String ns)
getElementByName
public static final Element getElementByName (List <Element > children,
String localName,
String ns)
getAllElementsWithName
public static final List <Element > getAllElementsWithName (Element parent,
String localName,
String ns)
getElementWithAttribute
public static final Element getElementWithAttribute (List <Element > elements,
String attrName,
String attrNS,
String attrValue)
parseString
public static Element parseString (String str)
throws Exception
Throws:
Exception
elementToString
public static String elementToString (Element element)
throws Exception
Throws:
Exception
getDOMParser
public static DocumentBuilder getDOMParser ()
throws Exception
Throws:
Exception