public class PseudoElementSelectorImpl extends LocatableImpl implements ElementSelector, CSSFormatable, Serializable
SAC_ANY_NODE_SELECTOR, SAC_CDATA_SECTION_NODE_SELECTOR, SAC_CHILD_SELECTOR, SAC_COMMENT_NODE_SELECTOR, SAC_CONDITIONAL_SELECTOR, SAC_DESCENDANT_SELECTOR, SAC_DIRECT_ADJACENT_SELECTOR, SAC_ELEMENT_NODE_SELECTOR, SAC_NEGATIVE_SELECTOR, SAC_PROCESSING_INSTRUCTION_NODE_SELECTOR, SAC_PSEUDO_ELEMENT_SELECTOR, SAC_ROOT_NODE_SELECTOR, SAC_TEXT_NODE_SELECTOR| Constructor and Description |
|---|
PseudoElementSelectorImpl(String localName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCssText(CSSFormat format)
Returns a string representation of the rule based on the given format.
|
String |
getLocalName()
Returns the
local part
of the
qualified
name of this element.
|
String |
getNamespaceURI()
Returns the
namespace
URI of this element selector.
|
short |
getSelectorType()
An integer indicating the type of
Selector |
void |
prefixedWithDoubleColon() |
void |
setLocaleName(String localName) |
String |
toString() |
getLocator, setLocatorpublic PseudoElementSelectorImpl(String localName)
public void setLocaleName(String localName)
public short getSelectorType()
SelectorSelectorgetSelectorType in interface Selectorpublic String getNamespaceURI()
ElementSelectorNULL if this element selector can match any namespace.
getNamespaceURI in interface ElementSelectorpublic String getLocalName()
ElementSelectorNULL if this element selector can match any element.
getLocalName in interface ElementSelectorpublic void prefixedWithDoubleColon()
public String getCssText(CSSFormat format)
getCssText in interface CSSFormatableformat - the formatting rulesCopyright © 2026. All rights reserved.