INTEGRATION: CWS custommeta (1.6.42); FILE MERGED

2008/02/26 10:40:51 mst 1.6.42.3: RESYNC: (1.7-1.8); FILE MERGED
2008/02/01 10:36:35 mst 1.6.42.2: RESYNC: (1.6-1.7); FILE MERGED
2007/12/07 14:05:56 mst 1.6.42.1: - unoxml/source/dom/document.{hxx,cxx}:
  implement interface css::xml::sax::XSAXSerializable
- unoxml/source/dom/*.{hxx,cxx}:
  add virtual method saxify() on all subclasses of CNode
  add missing implementations of getLocalName()
This commit is contained in:
Oliver Bolte 2008-02-26 13:49:36 +00:00
parent 4f8bf4ff6a
commit 9a3da14aed

View file

@ -4,9 +4,9 @@
*
* $RCSfile: processinginstruction.cxx,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: ihi $ $Date: 2008-02-04 13:58:02 $
* last change: $Author: obo $ $Date: 2008-02-26 14:49:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -44,6 +44,14 @@ namespace DOM
init_node(aNodePtr);
}
void SAL_CALL CProcessingInstruction::saxify(
const Reference< XDocumentHandler >& i_xHandler) {
if (!i_xHandler.is()) throw RuntimeException();
Reference< XExtendedDocumentHandler > xExtended(i_xHandler, UNO_QUERY);
if (xExtended.is()) {
xExtended->processingInstruction(getTarget(), getData());
}
}
/**
The content of this processing instruction.