LibreOffice Module unoxml (master) 1
Classes | Typedefs | Functions
XPath Namespace Reference

Classes

class  CNodeList
 
class  CXPathAPI
 
class  CXPathObject
 

Typedefs

typedef std::map< OUString, OUString > nsmap_t
 
typedef std::vector< css::uno::Reference< css::xml::xpath::XXPathExtension > > extensions_t
 
typedef ::cppu::WeakImplHelper< css::xml::xpath::XXPathAPI, css::lang::XServiceInfo > CXPathAPI_Base
 

Functions

static void lcl_registerNamespaces (xmlXPathContextPtr ctx, const nsmap_t &nsmap)
 
static void lcl_collectNamespaces (nsmap_t &rNamespaces, Reference< XNode > const &xNamespaceNode)
 
static void lcl_collectRegisterNamespaces (CXPathAPI &rAPI, Reference< XNode > const &xNamespaceNode)
 
static void lcl_registerExtensions (xmlXPathContextPtr ctx, const extensions_t &extensions)
 
static OUString make_error_message (xmlErrorPtr pError)
 
static void generic_error_func (void *, const char *format,...)
 
static void structured_error_func (void *, xmlErrorPtr error)
 
static XPathObjectType lcl_GetType (xmlXPathObjectPtr const pXPathObj)
 

Typedef Documentation

◆ CXPathAPI_Base

typedef ::cppu::WeakImplHelper< css::xml::xpath::XXPathAPI , css::lang::XServiceInfo > XPath::CXPathAPI_Base

Definition at line 49 of file xpathapi.hxx.

◆ extensions_t

typedef std::vector< css::uno::Reference<css::xml::xpath::XXPathExtension> > XPath::extensions_t

Definition at line 44 of file xpathapi.hxx.

◆ nsmap_t

typedef std::map<OUString, OUString> XPath::nsmap_t

Definition at line 43 of file xpathapi.hxx.

Function Documentation

◆ generic_error_func()

static void XPath::generic_error_func ( void *  ,
const char *  format,
  ... 
)
static

Definition at line 247 of file xpathapi.cxx.

References args, and SAL_WARN.

Referenced by XPath::CXPathAPI::eval().

◆ lcl_collectNamespaces()

static void XPath::lcl_collectNamespaces ( nsmap_t rNamespaces,
Reference< XNode > const &  xNamespaceNode 
)
static

Definition at line 109 of file xpathapi.cxx.

Referenced by lcl_collectRegisterNamespaces().

◆ lcl_collectRegisterNamespaces()

static void XPath::lcl_collectRegisterNamespaces ( CXPathAPI rAPI,
Reference< XNode > const &  xNamespaceNode 
)
static

◆ lcl_GetType()

static XPathObjectType XPath::lcl_GetType ( xmlXPathObjectPtr const  pXPathObj)
static

Definition at line 35 of file xpathobject.cxx.

◆ lcl_registerExtensions()

static void XPath::lcl_registerExtensions ( xmlXPathContextPtr  ctx,
const extensions_t extensions 
)
static

Definition at line 146 of file xpathapi.cxx.

References ctx.

Referenced by XPath::CXPathAPI::eval().

◆ lcl_registerNamespaces()

static void XPath::lcl_registerNamespaces ( xmlXPathContextPtr  ctx,
const nsmap_t nsmap 
)
static

Definition at line 93 of file xpathapi.cxx.

References ctx, OUStringToOString(), p, and u.

Referenced by XPath::CXPathAPI::eval().

◆ make_error_message()

static OUString XPath::make_error_message ( xmlErrorPtr  pError)
static

Definition at line 220 of file xpathapi.cxx.

References line.

Referenced by structured_error_func().

◆ structured_error_func()

static void XPath::structured_error_func ( void *  ,
xmlErrorPtr  error 
)
static

Definition at line 262 of file xpathapi.cxx.

References make_error_message(), and SAL_WARN.

Referenced by XPath::CXPathAPI::eval().