interface NodeInterface

Interface for nodes.

This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

string
getNodeName()

Returns node's name.

getSpecificity()

Returns node's specificity.

string
__toString()

Returns node's string representation.

Details

at line 31
string getNodeName()

Returns node's name.

Return Value

string

at line 38
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 45
string __toString()

Returns node's string representation.

Return Value

string