diff -r 2669f8761a99 -r fbd2e7cec7ef xdmprotocols/XdmXmlParser/inc/XmlParserNodePath.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xdmprotocols/XdmXmlParser/inc/XmlParserNodePath.h Wed Sep 01 12:23:14 2010 +0100 @@ -0,0 +1,97 @@ +/* +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: CXmlParserNodePath +* +*/ + + + + +#ifndef __XMLPARSERNODEPATH__ +#define __XMLPARSERNODEPATH__ + +// INCLUDES +//#include +#include +#include +#include + +class CXdmXmlParser; +class CXdmDocumentNode; +class MXmlNodePathInterface; + +// CLASS DECLARATION +NONSHARABLE_CLASS( CXmlParserNodePath ) : public CBase + { + public: // Constructors and destructor + + /** + * Copies the request data + * @param aRequestData Data to be sent + */ + static CXmlParserNodePath* NewL( CXdmXmlParser& aParserMain, + TXdmElementType iElementType, + const CXdmDocumentNode& aTargetNode, + MXmlNodePathInterface* aPathInterface ); + + /** + * Copies the request data + * @param aRequestData Data to be sent + */ + TBool CheckNextNode( const CXdmDocumentNode& aNextNode ); + + /** + * Copies the request data + * @param aRequestData Data to be sent + */ + TBool CheckNextNodeL( const TDesC8& aNextElement, + const Xml::RAttributeArray& aAttributes ); + + /** + * Copies the request data + * @param aRequestData Data to be sent + */ + virtual ~CXmlParserNodePath(); + + private: + + /** + * Copies the request data + * @param aRequestData Data to be sent + */ + CXmlParserNodePath( CXdmXmlParser& aParserMain, + TXdmElementType aElementType, + MXmlNodePathInterface* aPathInterface ); + + /** + * Copies the request data + * @param aRequestData Data to be sent + */ + void ConstructL( const CXdmDocumentNode& aTargetNode ); + + private: //Data + + TInt iIndex; + TBool iComplete; + TXdmElementType iElementType; + MXmlNodePathInterface* iPathInterface; + RPointerArray iNodes; + CXdmXmlParser& iParserMain; + }; + +#endif //__XMLPARSERNODEPATH__ + + +// End of File +