A am looking for the source code of org.w3c.dom.Node
and especialy the setTextContent
.
But whatever I put into Google all I get are JavaDoc or other extracts but never the full source code.
I would not have thought that packages starting with org.
would be prohibitory. So is there any place where one can look at the actual source or was I mistaken and the code is indeed secret?
org.w3c.dom.Node
is an interface! Therefore there isn't anything in the source that you can't see in the JavaDoc, it's only the method definitions.
What you might want to look at is the concrete Node
implementation that you get from your DOM implementation:
Node myNode = getNodeFromSomewhere();
System.out.println("Node interface is implemented by " + myNode.getClass());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With