Package io.sf.carte.doc.style.css.om
Class DOMSelectorMatcher
java.lang.Object
io.sf.carte.doc.style.css.om.AbstractSelectorMatcher
io.sf.carte.doc.style.css.om.BaseSelectorMatcher<CSSElement>
io.sf.carte.doc.style.css.om.DOMSelectorMatcher
- All Implemented Interfaces:
SelectorMatcher,Serializable
Selector matcher for CSS-enabled DOM.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CSSDocument.ComplianceModeprotected StringgetElementId(CSSElement element) protected StringgetId()Gets the 'id' attribute of the element associated to this selector matcher.protected CSSDocumentprotected booleanisActivePseudoClass(String pseudoclassName) protected booleanisVisitedURI(String href) protected SelectorMatcherobtainSelectorMatcher(CSSElement element) Methods inherited from class io.sf.carte.doc.style.css.om.BaseSelectorMatcher
getAttributeValue, getDirectionality, getElement, getLanguage, getNamespaceURI, getParentSelectorMatcher, getPreviousSiblingSelectorMatcher, hasAttribute, indexOf, isBlank, isDefaultButton, isDisabled, isEmpty, isFirstChild, isFirstOfType, isLastChild, isLastOfType, isNthLastOfType, isNthOfType, isRoot, isTarget, reverseIndexOf, scopeMatchChild, scopeMatchDescendant, scopeMatchDirectAdjacentMethods inherited from class io.sf.carte.doc.style.css.om.AbstractSelectorMatcher
findStatePseudoClasses, getClassAttribute, getLocalName, getPseudoElement, isAnyLink, isChecked, isDir, isEnabled, isFormElement, isIndeterminate, isNotVisitedLink, isOnlyChild, isOnlyOfType, isPlaceholderShown, isReadWrite, isUIDefault, isVisitedLink, matches, matches, matchesId, setLocalName, setPseudoElement, toString
-
Constructor Details
-
DOMSelectorMatcher
-
-
Method Details
-
isActivePseudoClass
- Overrides:
isActivePseudoClassin classBaseSelectorMatcher<CSSElement>
-
isVisitedURI
- Specified by:
isVisitedURIin classAbstractSelectorMatcher
-
getComplianceMode
- Overrides:
getComplianceModein classBaseSelectorMatcher<CSSElement>
-
getOwnerDocument
- Overrides:
getOwnerDocumentin classBaseSelectorMatcher<CSSElement>
-
getId
Description copied from class:AbstractSelectorMatcherGets the 'id' attribute of the element associated to this selector matcher.- Overrides:
getIdin classBaseSelectorMatcher<CSSElement>- Returns:
- the 'id' attribute value, or the empty string if the element has no 'id'.
-
getElementId
- Overrides:
getElementIdin classBaseSelectorMatcher<CSSElement>
-
obtainSelectorMatcher
- Specified by:
obtainSelectorMatcherin classBaseSelectorMatcher<CSSElement>
-