Xerces-C++: DOMLSSerializerFilter Class Reference (original) (raw)
DOMLSSerializerFilter.hpp: interface for the DOMLSSerializerFilter class. More...
#include <[xercesc/dom/DOMLSSerializerFilter.hpp](DOMLSSerializerFilter%5F8hpp%5Fsource.html)>

| Public Member Functions | |
|---|---|
| Destructor | |
| virtual | ~DOMLSSerializerFilter () |
| Destructor. | |
| Functions introduced in DOM Level 3 | |
| virtual FilterAction | acceptNode (const DOMNode *node) const =0 |
| Interface from [DOMNodeFilter](classDOMNodeFilter.html "Filters are objects that know how to "filter out" nodes."), to be implemented by implementation (derived class) | |
| virtual ShowType | getWhatToShow () const =0 |
| Tells the DOMLSSerializer what types of nodes to show to the filter. | |
Public Member Functions inherited from DOMNodeFilter |
|
| virtual | ~DOMNodeFilter () |
| Destructor. | |
| Protected Member Functions |
|---|
| Hidden constructors |
Protected Member Functions inherited from DOMNodeFilter |
| Additional Inherited Members | |
|---|---|
Public Types inherited from DOMNodeFilter |
|
| enum | FilterAction { FILTER_ACCEPT = 1 , FILTER_REJECT = 2 , FILTER_SKIP = 3 } |
| Constants returned by acceptNode. More... | |
| enum | ShowTypeMasks { SHOW_ALL = 0x0000FFFF , SHOW_ELEMENT = 0x00000001 , SHOW_ATTRIBUTE = 0x00000002 , SHOW_TEXT = 0x00000004 , SHOW_CDATA_SECTION = 0x00000008 , SHOW_ENTITY_REFERENCE = 0x00000010 , SHOW_ENTITY = 0x00000020 , SHOW_PROCESSING_INSTRUCTION = 0x00000040 , SHOW_COMMENT = 0x00000080 , SHOW_DOCUMENT = 0x00000100 , SHOW_DOCUMENT_TYPE = 0x00000200 , SHOW_DOCUMENT_FRAGMENT = 0x00000400 , SHOW_NOTATION = 0x00000800 } |
| Constants for whatToShow. More... | |
| typedef unsigned long | ShowType |
DOMLSSerializerFilter.hpp: interface for the DOMLSSerializerFilter class.
DOMLSSerializerFilter provide applications the ability to examine nodes as they are being serialized.
DOMLSSerializerFilter lets the application decide what nodes should be serialized or not.
The DOMDocument, DOMDocumentType, DOMNotation, and DOMEntity nodes are not passed to the filter.
Since
DOM Level 3
| DOMLSSerializerFilter::DOMLSSerializerFilter ( ) | protected |
|---|
◆ ~DOMLSSerializerFilter()
| virtual DOMLSSerializerFilter::~DOMLSSerializerFilter ( ) | virtual |
|---|
Destructor.
◆ acceptNode()
| virtual FilterAction DOMLSSerializerFilter::acceptNode ( const DOMNode * node) const | pure virtual |
|---|
◆ getWhatToShow()
| virtual ShowType DOMLSSerializerFilter::getWhatToShow ( ) const | pure virtual |
|---|
Tells the DOMLSSerializer what types of nodes to show to the filter.
See [DOMNodeFilter](classDOMNodeFilter.html "Filters are objects that know how to "filter out" nodes.") for definition of the constants. The constant SHOW_ATTRIBUTE is meaningless here, attribute nodes will never be passed to a DOMLSSerializerFilter.
Returns
The constants of what types of nodes to show.
Since
DOM Level 3
The documentation for this class was generated from the following file:
Public Member Functions inherited from