Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Classes
  • Exceptions
  • Annotation Interfaces
  • Methods
  • Deprecated Classes
    Class
    Description
    org.jsoup.internal.ConstrainableInputStream
    use ControllableInputStream instead (but don't use that either, because this is jsoup internal!)
    org.jsoup.select.StructuralEvaluator.ImmediateParent
    replaced by StructuralEvaluator.ImmediateParentRun
  • Deprecated Exceptions
    Exceptions
    Description
    org.jsoup.UncheckedIOException
    Use UncheckedIOException instead. This class acted as a compatibility shim for Java versions prior to 1.8.
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.jsoup.internal.FieldsAreNonnullByDefault
    Previously indicated that fields types are not nullable, unless otherwise specified by @Nullable.
    org.jsoup.internal.NonnullByDefault
    Previously indicated that all components (methods, returns, fields) are not nullable, unless otherwise specified by @Nullable.
    org.jsoup.internal.ReturnsAreNonnullByDefault
    Previously indicated that return types are not nullable, unless otherwise specified by @Nullable.
  • Deprecated Methods
    Method
    Description
    org.jsoup.nodes.Element.forEach(Consumer<? super Element>)
    use Element.stream().forEach(Consumer) instead. (Removing this method so Element can implement Iterable, which this signature conflicts with due to the non-void return.)
    org.jsoup.nodes.Range.track(Node, boolean)
    no-op; internal method moved out of visibility
    org.jsoup.parser.XmlTreeBuilder.insertNode(Node)
    unused and will be removed.
    org.jsoup.parser.XmlTreeBuilder.insertNode(Node, Token)
    unused and will be removed.