• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
  • XPath
Classes | Typedefs | Functions | Variables
khtml::XPath Namespace Reference

Classes

class  BinaryExprBase
struct  EvaluationContext
class  Expression
class  Filter
class  Function
class  FunctionLibrary
class  LocationPath
class  LogicalOp
class  Negative
class  Number
class  NumericOp
class  ParsedStatement
class  Path
class  Predicate
class  RelationOp
class  Step
class  String
struct  Token
class  Tokenizer
class  Union
class  Value
class  VariableReference

Typedefs

typedef SharedPtr
< DOM::StaticNodeListImpl > 
DomNodeList

Functions

void collectChildrenRecursively (SharedPtr< DOM::StaticNodeListImpl > out, DOM::NodeImpl *root)
void collectChildrenReverse (SharedPtr< DOM::StaticNodeListImpl > out, DOM::NodeImpl *root)
void initTokenizer (const DOM::DOMString &string)
bool isRootDomNode (NodeImpl *node)
bool isRootDomNode (DOM::NodeImpl *node)
bool isValidContextNode (DOM::NodeImpl *node)
bool isValidContextNode (NodeImpl *node)
Expression * khtmlParseXPathStatement (const DOMString &statement, int &ec)
void khtmlxpathyyerror (const char *str)
int khtmlxpathyylex ()
DOM::NodeImpl * nextSiblingForFollowing (DOM::NodeImpl *node)
DOM::DOMString stringValue (DOM::NodeImpl *node)
DOMString stringValue (NodeImpl *node)
static QString stringValueImpl (NodeImpl *node)
DOM::NodeImpl * xpathFirstChild (DOM::NodeImpl *node)
DOM::NodeImpl * xpathLastChild (DOM::NodeImpl *node)
DOM::NodeImpl * xpathParentNode (DOM::NodeImpl *node)

Variables

static AxisNameMapping axisNames []
static unsigned int axisNamesCount = sizeof(axisNames) / sizeof(axisNames[0])
static FunctionMapping functions []
static const char *const nodeTypeNames []
static const unsigned int numFunctions = sizeof( functions ) / sizeof( functions[ 0 ] )

Typedef Documentation

typedef SharedPtr<DOM::StaticNodeListImpl> khtml::XPath::DomNodeList

Definition at line 41 of file util.h.


Function Documentation

void khtml::XPath::collectChildrenRecursively ( SharedPtr< DOM::StaticNodeListImpl >  out,
DOM::NodeImpl *  root 
)

Definition at line 73 of file util.cpp.

void khtml::XPath::collectChildrenReverse ( SharedPtr< DOM::StaticNodeListImpl >  out,
DOM::NodeImpl *  root 
)

Definition at line 86 of file util.cpp.

void khtml::XPath::initTokenizer ( const DOM::DOMString &  string)

Definition at line 447 of file tokenizer.cpp.

bool khtml::XPath::isRootDomNode ( NodeImpl *  node)

Definition at line 35 of file util.cpp.

bool khtml::XPath::isRootDomNode ( DOM::NodeImpl *  node)
bool khtml::XPath::isValidContextNode ( DOM::NodeImpl *  node)
bool khtml::XPath::isValidContextNode ( NodeImpl *  node)

Definition at line 99 of file util.cpp.

Expression * khtml::XPath::khtmlParseXPathStatement ( const DOMString &  statement,
int &  ec 
)

Definition at line 2170 of file parser.cpp.

void khtml::XPath::khtmlxpathyyerror ( const char *  str)

Definition at line 2183 of file parser.cpp.

int khtml::XPath::khtmlxpathyylex ( )

Definition at line 436 of file tokenizer.cpp.

DOM::NodeImpl * khtml::XPath::nextSiblingForFollowing ( DOM::NodeImpl *  node)

Definition at line 140 of file util.cpp.

DOM::DOMString khtml::XPath::stringValue ( DOM::NodeImpl *  node)
DOMString khtml::XPath::stringValue ( NodeImpl *  node)

Definition at line 68 of file util.cpp.

static QString khtml::XPath::stringValueImpl ( NodeImpl *  node)
static

Definition at line 40 of file util.cpp.

DOM::NodeImpl * khtml::XPath::xpathFirstChild ( DOM::NodeImpl *  node)

Definition at line 124 of file util.cpp.

DOM::NodeImpl * khtml::XPath::xpathLastChild ( DOM::NodeImpl *  node)

Definition at line 132 of file util.cpp.

DOM::NodeImpl * khtml::XPath::xpathParentNode ( DOM::NodeImpl *  node)

Definition at line 112 of file util.cpp.


Variable Documentation

AxisNameMapping khtml::XPath::axisNames[]
static
Initial value:
{
{ "ancestor", Step::AncestorAxis },
{ "ancestor-or-self", Step::AncestorOrSelfAxis },
{ "attribute", Step::AttributeAxis },
{ "child", Step::ChildAxis },
{ "descendant", Step::DescendantAxis },
{ "descendant-or-self", Step::DescendantOrSelfAxis },
{ "following", Step::FollowingAxis },
{ "following-sibling", Step::FollowingSiblingAxis },
{ "namespace", Step::NamespaceAxis },
{ "parent", Step::ParentAxis },
{ "preceding", Step::PrecedingAxis },
{ "preceding-sibling", Step::PrecedingSiblingAxis },
{ "self", Step::SelfAxis }
}

Definition at line 49 of file tokenizer.cpp.

unsigned int khtml::XPath::axisNamesCount = sizeof(axisNames) / sizeof(axisNames[0])
static

Definition at line 64 of file tokenizer.cpp.

FunctionMapping khtml::XPath::functions[]
static

Definition at line 827 of file functions.cpp.

const char* const khtml::XPath::nodeTypeNames[]
static
Initial value:
{
"comment",
"text",
"processing-instruction",
"node",
0
}

Definition at line 66 of file tokenizer.cpp.

const unsigned int khtml::XPath::numFunctions = sizeof( functions ) / sizeof( functions[ 0 ] )
static

Definition at line 861 of file functions.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:44:50 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal