public class DocumentModel extends DOMNode
ModelMapper.NonexistantMethodunderlyingNodeunderlyingWindowadditionalFunctions, inConstructor, underlyingMap| Constructor and Description |
|---|
DocumentModel(WindowModel windowModel,
java.lang.String baseURI,
java.lang.String referrer,
java.lang.String encoding,
org.jsoup.nodes.Document underlyingDocument)
Creates the document model
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object key) |
java.lang.String |
getPageContentFromCurrentDOMStructure()
Returns the current page content (JavaScript may have modified it)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
equals, getUnderlyingNode, hashCode, toStringgetUnderlyingWindowclear, containsKey, containsValue, entrySet, hasOwnProperty, isEmpty, keySet, logDebug, putAll, remove, runTimedCallbacks, size, valuespublic DocumentModel(@NotNull WindowModel windowModel, @NotNull java.lang.String baseURI, @Nullable java.lang.String referrer, @NotNull java.lang.String encoding, @NotNull org.jsoup.nodes.Document underlyingDocument)
baseURI - The base URI for the documentreferrer - The referring urlencoding - The encoding used to read the documentunderlyingDocument - The parsed document this will use@Nullable public java.lang.Object get(java.lang.Object key)
@Nullable public java.lang.Object put(@NotNull java.lang.Object key, @Nullable java.lang.Object value)
public java.lang.String getPageContentFromCurrentDOMStructure()