Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: xml :: dom ::

unpublished interface XDocumentBuilder
Usage Restrictions
not published
Description
Builds a new dom tree

Methods' Summary
getDOMImplementation Obtain an instance of a DOMImplementation object.  
isNamespaceAware Indicates whether or not this parser is configured to understand namespaces.  
isValidating Indicates whether or not this parser is configured to validate XML documents.  
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 Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed.  
setErrorHandler Specify the ErrorHandler to be used to report errors present in the XML document to be parsed.  
Methods' Details
getDOMImplementation
XDOMImplementation
getDOMImplementation();

Description
Obtain an instance of a DOMImplementation object.
isNamespaceAware
boolean
isNamespaceAware();

Description
Indicates whether or not this parser is configured to understand namespaces.
isValidating
boolean
isValidating();

Description
Indicates whether or not this parser is configured to validate XML documents.
newDocument
XDocument
newDocument();

Description
Obtain a new instance of a DOM Document object to build a DOM tree with.
parse
XDocument
parse( [in] ::com::sun::star::io::XInputStream  is )
raises( ::com::sun::star::xml::sax::SAXException,
::com::sun::star::io::IOException );

Description
Parse the content of the given InputStream as an XML document and return a new DOM Document object.
parseURI
XDocument
parseURI( [in] string  uri )
raises( ::com::sun::star::xml::sax::SAXException,
::com::sun::star::io::IOException );

Description
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 );

Description
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 );

Description
Specify the ErrorHandler to be used to report errors present in the XML document to be parsed.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.