org.jbpm.util
Class XmlUtil
java.lang.Object
org.jbpm.util.XmlUtil
public class XmlUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parseXmlText
public static Document parseXmlText(String xml)
parseXmlResource
public static Document parseXmlResource(String resource,
boolean useConfiguredLoader)
- Parameters:
useConfiguredLoader - if true, this method searches for the resource in
the context class loader, if not found it falls back on the class loader of this class- See Also:
- JBPM-1148
parseXmlInputStream
public static Document parseXmlInputStream(InputStream inputStream)
parseXmlInputSource
public static Document parseXmlInputSource(InputSource inputSource)
getDocumentBuilder
public static DocumentBuilder getDocumentBuilder()
attribute
public static String attribute(Element element,
String attrName)
elementIterator
public static Iterator elementIterator(Element element,
String tagName)
elements
public static List elements(Element element,
String tagName)
element
public static Element element(Element element,
String tagName)
elementIterator
public static Iterator elementIterator(Element element)
elements
public static List elements(Element element)
element
public static Element element(Element element)
toString
public static String toString(Element element)
getContentText
public static String getContentText(Element element)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.