Class XmlHelper
java.lang.Object
org.apache.felix.obrplugin.XmlHelper
Provide XML helper methods to support pre-Java5 runtimes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetTextContent(Node node) based on public Java5 javadoc of org.w3c.dom.Node.getTextContent methodprivate static StringmergeTextContent(NodeList nodes) based on the following quote from public Java5 javadoc of org.w3c.dom.Node.getTextContent method: "concatenation of the textContent attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes.static voidsetTextContent(Node node, String text) based on public Java5 javadoc of org.w3c.dom.Node.setTextContent method
-
Constructor Details
-
XmlHelper
public XmlHelper()
-
-
Method Details
-
getTextContent
-
mergeTextContent
based on the following quote from public Java5 javadoc of org.w3c.dom.Node.getTextContent method: "concatenation of the textContent attribute value of every child node, excluding COMMENT_NODE and PROCESSING_INSTRUCTION_NODE nodes. This is the empty string if the node has no children" -
setTextContent
-