Deprecated API
Contents
-
Deprecated ClassesClassDescriptionfor removal in jsoup 1.23.1. Replace usages with direct constructor references / lambdas.use
Element.selectNodes(instead, with selector ofString, Class) ::textnodeand classTextNode; will be removed in jsoup 1.24.1.This selector is deprecated and will be removed in jsoup 1.24.1. Migrate to::textnodeusing theElement#selectNodes(method instead.)
-
Deprecated FieldsFieldDescriptionInternal source ranges now use
SharedConstants.RangeSpansKey.Internal source ranges now useSharedConstants.RangeSpansKey.Internal source ranges now useSharedConstants.RangeSpansKey.Not used anymore; configure parser depth viaParser.setMaxDepth(. Will be removed in jsoup 1.24.1.int)
-
Deprecated MethodsMethodDescriptionuse
Connection.Request.sslContext(instead; will be removed in jsoup 1.24.1.SSLContext) useConnection.Response.readFully(instead (for the checked exception). Will be removed in jsoup 1.24.1.) useConnection.sslContext(instead; will be removed in jsoup 1.24.1.SSLContext) prefer to useValidate.expectNotNull(instead; will be removed in jsoup 1.24.1Object, String, Object...) prefer to useValidate.expectNotNull(instead; will be removed in jsoup 1.24.1Object, String, Object...) internal helper; replace withNormalizer.lowerCase(for no-trim, orString) Normalizer.normalize(for trim + lowercase. Will be removed in jsoup 1.24.1.String) Internal helper; useAttribute.getValidKey(. Will be removed in jsoup 1.24.1.String, Document.OutputSettings.Syntax) internal method; useAttribute.html(withString, String, QuietAppendable, Document.OutputSettings) QuietAppendable.wrap(instead. Will be removed in jsoup 1.24.1.Appendable) internal method; useAttribute.html(withString, String, QuietAppendable, Document.OutputSettings) QuietAppendable.wrap(instead. Will be removed in jsoup 1.24.1.Appendable) internal method; useAttribute.shouldCollapseAttribute(instead. Will be removed in jsoup 1.24.1.String, String, Document.OutputSettings) Use parser position tracking instead. Will be removed in jsoup 1.24.1.internal method moved into Printer; will be removed in jsoup 1.24.1.internal pretty-printing flag; useTag.isInline(or) Tag.isBlock(to check layout intent. Will be removed in jsoup 1.24.1.)
-
Deprecated ConstructorsConstructorDescriptionUse parser position tracking instead. Will be removed in jsoup 1.24.1.Use parser position tracking instead. Will be removed in jsoup 1.24.1.Use parser position tracking instead. Will be removed in jsoup 1.24.1.since 1.22.1, use
AttributeKeyPair(; the previous trimQuoted parameter is no longer used. This constructor will be removed in jsoup 1.24.1.String, String)