LibreOffice
LibreOffice 24.8 SDK API Reference
|
Builds a new dom tree. More...
import <XDocumentBuilder.idl;
Public Member Functions | |
XDOMImplementation | getDOMImplementation () |
Obtain an instance of a DOMImplementation object. | |
boolean | isNamespaceAware () |
Indicates whether or not this parser is configured to understand namespaces. | |
boolean | isValidating () |
Indicates whether or not this parser is configured to validate XML documents. | |
XDocument | newDocument () |
Obtain a new instance of a DOM Document object to build a DOM tree with. | |
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. | |
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. | |
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. | |
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. | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
Builds a new dom tree.
XDOMImplementation getDOMImplementation | ( | ) |
Obtain an instance of a DOMImplementation object.
boolean isNamespaceAware | ( | ) |
Indicates whether or not this parser is configured to understand namespaces.
boolean isValidating | ( | ) |
Indicates whether or not this parser is configured to validate XML documents.
XDocument newDocument | ( | ) |
Obtain a new instance of a DOM Document object to build a DOM tree with.
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.
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.
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.
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.