ExtensionInterface

ExtensionInterface

interface ExtensionInterface

XPath expression translator extension interface.

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

Methods

callable[] getNodeTranslators()

Returns node translators.

callable[] getCombinationTranslators()

Returns combination translators.

callable[] getFunctionTranslators()

Returns function translators.

callable[] getPseudoClassTranslators()

Returns pseudo-class translators.

callable[] getAttributeMatchingTranslators()

Returns attribute operation translators.

string getName()

Returns extension name.

Details

callable[] getNodeTranslators()

Returns node translators.

These callables will receive the node as first argument and the translator as second argument.

Return Value

callable[]

callable[] getCombinationTranslators()

Returns combination translators.

Return Value

callable[]

callable[] getFunctionTranslators()

Returns function translators.

Return Value

callable[]

callable[] getPseudoClassTranslators()

Returns pseudo-class translators.

Return Value

callable[]

callable[] getAttributeMatchingTranslators()

Returns attribute operation translators.

Return Value

callable[]

string getName()

Returns extension name.

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/CssSelector/XPath/Extension/ExtensionInterface.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部