• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • 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 136 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 120 of file util.cpp.

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

Definition at line 128 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.

KHTML

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • 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
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal