Package org.apache.felix.obrplugin
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 String
getTextContent
(Node node) based on public Java5 javadoc of org.w3c.dom.Node.getTextContent methodprivate static String
mergeTextContent
(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 void
setTextContent
(Node node, String text) based on public Java5 javadoc of org.w3c.dom.Node.setTextContent method
-
Constructor Details
-
XmlHelper
public XmlHelper()
-
-
Method Details
-
getTextContent
based on public Java5 javadoc of org.w3c.dom.Node.getTextContent method -
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
based on public Java5 javadoc of org.w3c.dom.Node.setTextContent method
-