LibreOffice
LibreOffice 6.4 SDK API Reference
Public Member Functions | List of all members
XElement Interface Reference

Capsule around an XML element. More...

import"XElement.idl";

Inheritance diagram for XElement:
XInterface

Public Member Functions

XElement getParent ()
 Gets the parent context. More...
 
string getLocalName ()
 Gets the local name of this element. More...
 
long getUid ()
 Gets the namespace uid of this element. More...
 
XAttributes getAttributes ()
 Gets the attributes of this element. More...
 
XElement startChildElement ([in] long uid, [in] string localName, [in] XAttributes xAttributes) raises (com::sun::star::xml::sax::SAXException)
 Called upon each occurring child element. More...
 
void characters ([in] string chars) raises (com::sun::star::xml::sax::SAXException)
 Called upon retrieval of characters. More...
 
void ignorableWhitespace ([in] string whitespace) raises (com::sun::star::xml::sax::SAXException)
 Receives notification of white space that can be ignored. More...
 
void processingInstruction ([in] string target, [in] string data) raises (com::sun::star::xml::sax::SAXException)
 Receives notification of a processing instruction. More...
 
void endElement () raises (com::sun::star::xml::sax::SAXException)
 Receives notification of element closing. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

Capsule around an XML element.

Member Function Documentation

◆ characters()

void characters ( [in] string  chars)
raises (com::sun::star::xml::sax::SAXException
)

Called upon retrieval of characters.

Parameters
charscharacters

◆ endElement()

void endElement ( )
raises (com::sun::star::xml::sax::SAXException
)

Receives notification of element closing.

◆ getAttributes()

XAttributes getAttributes ( )

Gets the attributes of this element.

Returns
attributes of this element

◆ getLocalName()

string getLocalName ( )

Gets the local name of this element.

Returns
local name of this element

◆ getParent()

XElement getParent ( )

Gets the parent context.

Returns
parent context

◆ getUid()

long getUid ( )

Gets the namespace uid of this element.

Returns
namespace uid of this element

◆ ignorableWhitespace()

void ignorableWhitespace ( [in] string  whitespace)
raises (com::sun::star::xml::sax::SAXException
)

Receives notification of white space that can be ignored.

Parameters
whitespacewhite space characters

◆ processingInstruction()

void processingInstruction ( [in] string  target,
[in] string  data 
)
raises (com::sun::star::xml::sax::SAXException
)

Receives notification of a processing instruction.

Parameters
targettarget
datadata

◆ startChildElement()

XElement startChildElement ( [in] long  uid,
[in] string  localName,
[in] XAttributes  xAttributes 
)
raises (com::sun::star::xml::sax::SAXException
)

Called upon each occurring child element.

Parameters
uidnamespace uid of element
localNamelocal name of element
xAttributesattributes of element
Returns
child import context

The documentation for this interface was generated from the following file: