DOMNodeFilter
,
* to be implemented by implementation (derived class)
*/
virtual short acceptNode(const DOMNode* node) const = 0;
/**
* Tells the DOMWriter what types of nodes to show to the filter.
* See DOMNodeFilter
for definition of the constants.
* The constant SHOW_ATTRIBUTE is meaningless here, attribute nodes will
* never be passed to a DOMWriterFilter.
*
* "Experimental - subject to change"
* * @return The constants of what types of nodes to show. * @see setWhatToShow * @since DOM Level 3 */ virtual unsigned long getWhatToShow() const =0; /** * Set what types of nodes are to be presented. * SeeDOMNodeFilter
for definition of the constants.
*
* "Experimental - subject to change"
* * @param toShow The constants of what types of nodes to show. * @see getWhatToShow * @since DOM Level 3 */ virtual void setWhatToShow(unsigned long toShow) =0; //@} private: // ----------------------------------------------------------------------- // Private data members // // fWhatToShow // // The whatToShow mask. // Tells the DOMWriter what types of nodes to show to the filter. // See NodeFilter for definition of the constants. // The constants // SHOW_ATTRIBUTE, // SHOW_DOCUMENT, // SHOW_DOCUMENT_TYPE, // SHOW_NOTATION, and // SHOW_DOCUMENT_FRAGMENT are meaningless here, // Entity nodes are not passed to the filter. // // Those nodes will never be passed to a DOMWriterFilter. // // Derived class shall add this data member: // // unsigned long fWhatToShow; // ----------------------------------------------------------------------- }; XERCES_CPP_NAMESPACE_END #endif