LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XDocumentBuilder Interface Reference


Builds a new dom tree More...

import"XDocumentBuilder.idl";

Inheritance diagram for XDocumentBuilder:
XInterface DocumentBuilder

Public Member Functions

XDOMImplementation getDOMImplementation ()
 
Obtain an instance of a DOMImplementation object. More...
 
boolean isNamespaceAware ()
 
Indicates whether or not this parser is configured to understand namespaces. More...
 
boolean isValidating ()
 
Indicates whether or not this parser is configured to validate XML documents. More...
 
XDocument newDocument ()
 
Obtain a new instance of a DOM Document object to build a DOM tree with. More...
 
XDocument parse ([in] com::sun::star::io::XInputStream is) raises ( com::sun::star::xml::sax::SAXException, com::sun::star::io::IOException )
 
Parse the content of the given InputStream as an XML document and return a new DOM Document object. More...
 
XDocument parseURI ([in] string uri) raises ( com::sun::star::xml::sax::SAXException, com::sun::star::io::IOException )
 
Parse the content of the given URI as an XML document and return a new DOM Document object. More...
 
void setEntityResolver ([in] com::sun::star::xml::sax::XEntityResolver er)
 
Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed. More...
 
void setErrorHandler ([in] com::sun::star::xml::sax::XErrorHandler eh)
 
Specify the ErrorHandler to be used to report errors present in the XML document to be parsed. 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


Builds a new dom tree

Member Function Documentation

◆ getDOMImplementation()

XDOMImplementation getDOMImplementation ( )


Obtain an instance of a DOMImplementation object.

◆ isNamespaceAware()

boolean isNamespaceAware ( )


Indicates whether or not this parser is configured to understand namespaces.

◆ isValidating()

boolean isValidating ( )


Indicates whether or not this parser is configured to validate XML documents.

◆ newDocument()

XDocument newDocument ( )


Obtain a new instance of a DOM Document object to build a DOM tree with.

◆ parse()


Parse the content of the given InputStream as an XML document and return a new DOM Document object.

◆ parseURI()


Parse the content of the given URI as an XML document and return a new DOM Document object.

◆ setEntityResolver()

void setEntityResolver ( [in] com::sun::star::xml::sax::XEntityResolver  er)


Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed.

◆ setErrorHandler()

void setErrorHandler ( [in] com::sun::star::xml::sax::XErrorHandler  eh)


Specify the ErrorHandler to be used to report errors present in the XML document to be parsed.


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