Module io.sf.carte.css4j.dom4j
Package io.sf.carte.doc.dom4j
Class DOM4JUserAgent.AgentXHTMLDocumentFactory.AgentXHTMLDocument
java.lang.Object
org.dom4j.tree.AbstractNode
org.dom4j.tree.AbstractBranch
org.dom4j.tree.AbstractDocument
org.dom4j.tree.DefaultDocument
org.dom4j.dom.DOMDocument
io.sf.carte.doc.dom4j.XHTMLDocument
io.sf.carte.doc.dom4j.DOM4JUserAgent.AgentXHTMLDocumentFactory.AgentXHTMLDocument
- All Implemented Interfaces:
- CSSDocument,- CSSNode,- Serializable,- Cloneable,- Branch,- Document,- Node,- Document,- Node,- DocumentStyle
- Enclosing class:
- DOM4JUserAgent.AgentXHTMLDocumentFactory
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.sf.carte.doc.style.css.CSSDocumentCSSDocument.ComplianceMode
- 
Field SummaryFields inherited from class io.sf.carte.doc.dom4j.XHTMLDocumentXHTML_NAMESPACE_URIFields inherited from class org.dom4j.tree.AbstractDocumentencodingFields inherited from class org.dom4j.tree.AbstractBranchDEFAULT_CONTENT_LIST_SIZEFields inherited from class org.dom4j.tree.AbstractNodeNODE_TYPE_NAMESFields inherited from interface org.dom4j.NodeANY_NODE, ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, MAX_NODE_TYPE, NAMESPACE_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, UNKNOWN_NODEFields inherited from interface org.w3c.dom.NodeATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisVisitedURI(String href) Has this URI been visited by the agent ?openConnection(URL url) Opens a connection for the given URL.voidsetLoadingTime(long time) Set the time at which this document was loaded from origin.protected voidsetReferrerPolicyHeader(String policy) Methods inherited from class io.sf.carte.doc.dom4j.XHTMLDocumentaddStyleSheet, createElement, createElementNS, createErrorHandler, elementID, enableStyleSheetsForSet, getBaseURI, getBaseURL, getCanvas, getCompatMode, getComplianceMode, getDocumentElement, getDocumentFactory, getDocumentURI, getElementById, getErrorHandler, getFeature, getInputEncoding, getLastStyleSheetSet, getOwnerDocument, getReferrerPolicy, getSelectedStyleSheetSet, getStrictErrorChecking, getStyleDatabase, getStyleSheet, getStyleSheets, getStyleSheetSets, getTargetMedium, getXmlEncoding, getXmlStandalone, getXmlVersion, hasStyleIssues, isAuthorizedOrigin, isSafeOrigin, normalizeDocument, onMetaAdded, onMetaRemoved, openStream, rebuildCascade, registerProperty, setBaseURL, setDocumentURI, setSelectedStyleSheetSet, setStrictErrorChecking, setTargetMedium, setUserDataMethods inherited from class org.dom4j.dom.DOMDocumentadoptNode, appendChild, cloneNode, compareDocumentPosition, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createEntityReference, createProcessingInstruction, createTextNode, getAttributes, getChildNodes, getDoctype, getDomConfig, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getImplementation, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, importNode, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, removeChild, renameNode, replaceChild, setNodeValue, setPrefix, setTextContent, setXmlStandalone, setXmlVersion, supportsMethods inherited from class org.dom4j.tree.DefaultDocumentaddDocType, addNode, addNode, clearContent, clone, contentList, getDocType, getEntityResolver, getName, getRootElement, getXMLEncoding, processingInstruction, processingInstructions, processingInstructions, removeNode, removeProcessingInstruction, rootElementAdded, setContent, setDocType, setDocumentFactory, setEntityResolver, setNameMethods inherited from class org.dom4j.tree.AbstractDocumentaccept, add, addComment, addElement, addElement, addElement, addProcessingInstruction, addProcessingInstruction, asXML, asXPathResult, checkAddElementAllowed, childAdded, childRemoved, getDocument, getNodeType, getPath, getStringValue, getUniquePath, normalize, remove, setRootElement, setXMLEncoding, toString, writeMethods inherited from class org.dom4j.tree.AbstractBranchadd, add, add, addElement, appendContent, content, contentRemoved, createContentList, createContentList, createEmptyList, createResultList, createSingleResultList, elementByID, getContentAsStringValue, getContentAsText, getText, getTextTrim, hasContent, indexOf, invalidNodeTypeAddException, isReadOnly, node, nodeCount, nodeIterator, remove, remove, remove, setProcessingInstructionsMethods inherited from class org.dom4j.tree.AbstractNodecreatePattern, createXPath, createXPathFilter, createXPathResult, detach, getNodeTypeName, getParent, getPath, getUniquePath, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOfMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.dom4j.Branchadd, add, add, appendContent, content, elementByID, indexOf, node, nodeCount, nodeIterator, remove, remove, remove, setProcessingInstructionsMethods inherited from interface io.sf.carte.doc.style.css.CSSDocumentgetURLMethods inherited from interface org.w3c.dom.DocumentadoptNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createEntityReference, createProcessingInstruction, createTextNode, getDoctype, getDomConfig, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode, renameNode, setXmlStandalone, setXmlVersionMethods inherited from interface org.dom4j.NodecreateXPath, detach, getNodeTypeName, getParent, getPath, getText, getUniquePath, hasContent, isReadOnly, matches, numberValueOf, selectNodes, selectNodes, selectNodes, selectObject, selectSingleNode, setDocument, setParent, setText, supportsParent, valueOfMethods inherited from interface org.w3c.dom.NodeappendChild, cloneNode, compareDocumentPosition, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent
- 
Method Details- 
openConnectionDescription copied from class:XHTMLDocumentOpens a connection for the given URL.- Specified by:
- openConnectionin interface- CSSDocument
- Overrides:
- openConnectionin class- XHTMLDocument
- Parameters:
- url- the URL to open a connection to.
- Returns:
- the URL connection.
- Throws:
- IOException- if the connection could not be opened.
 
- 
isVisitedURIDescription copied from interface:CSSDocumentHas this URI been visited by the agent ?- Specified by:
- isVisitedURIin interface- CSSDocument
- Overrides:
- isVisitedURIin class- XHTMLDocument
- Parameters:
- href- the URI.
- Returns:
- trueif visited,- falseif not visited or the agent does not support history.
 
- 
setLoadingTimepublic void setLoadingTime(long time) Set the time at which this document was loaded from origin.- Parameters:
- time- the time of loading, in milliseconds.
 
- 
setReferrerPolicyHeader- Overrides:
- setReferrerPolicyHeaderin class- XHTMLDocument
 
 
-