Class NodeUtils


  • final class NodeUtils
    extends java.lang.Object
    Internal helpers for Nodes, to keep the actual node APIs relatively clean. A jsoup internal class, so don't use it as there is no contract API).
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static Document.OutputSettings outputSettings​(Node node)
      Get the output setting for this node, or if this node has no document (or parent), retrieve the default output settings
      (package private) static Parser parser​(Node node)
      Get the parser that was used to make this node, or the default HTML parser if it has no parent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeUtils

        NodeUtils()
    • Method Detail

      • outputSettings

        static Document.OutputSettings outputSettings​(Node node)
        Get the output setting for this node, or if this node has no document (or parent), retrieve the default output settings
      • parser

        static Parser parser​(Node node)
        Get the parser that was used to make this node, or the default HTML parser if it has no parent.