00001 /* 00002 * ============================================================================== 00003 * Name : xmlengnodefilter.h 00004 * Part of : XmlEngine / DOM XPath C++ Wrapper 00005 * Interface : Domain, XML Engine DOM API 00006 * Description : Node filter interface 00007 * Version : %version: 2 % 00008 * 00009 * Copyright © 2004-2005 Nokia. All rights reserved. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia. All rights are reserved. Copying, including 00013 * reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef XMLENGINE_NODEFILTER_H_INCLUDED 00022 #define XMLENGINE_NODEFILTER_H_INCLUDED 00023 00024 #include <e32base.h> 00025 00026 class TXmlEngNode; 00027 00031 enum TXmlEngNodeFilterResult 00032 { 00033 EAccept = 1, 00034 EReject = 2, 00035 ESkip = 3, 00036 ESkipContents = 4 00037 }; 00038 00046 class MXmlEngNodeFilter 00047 { 00048 public: 00056 virtual TXmlEngNodeFilterResult AcceptNode(TXmlEngNode aNode) = 0; 00057 }; 00058 00059 00060 #endif /* XMLENGINE_NODEFILTER_H_INCLUDED */