Package io.sf.carte.doc.agent
package io.sf.carte.doc.agent
User agent classes.
To compute styles with a minimum of accuracy, the library needs to use several user agent-related abstractions. Those interfaces and classes are intended to make easier integrating the library with a range of use cases.
If you do not want to compute styles, you do not need to use anything in this
package (unless you wish to use this infrastructure to retrieve documents and
style sheets). On the other hand, if you want accurate style computations you
need to write implementations of DeviceFactory
,
CSSCanvas
and StyleDatabase
adequate for your use
case. You can compute styles without them, but the results may be less
accurate.
-
ClassDescriptionA simple, map-backed abstract base class for
DeviceFactory
implementations.Abstract base class for User Agents, with cookie handling.Authentication credentials for user agents.User agent configuration for http cookies.Deprecated.Default Cookie implementation.Device factory.Device factory for headless devices.Origin policy.Very basic user agent abstraction.User agent configuration and control.Handles errors that the user agent finds.Deprecated.