1.1 --- a/epoc32/include/xmlengprocessinginstruction.h Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,96 +0,0 @@
1.4 -/*
1.5 -* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies).
1.6 -* All rights reserved.
1.7 -* This component and the accompanying materials are made available
1.8 -* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.9 -* which accompanies this distribution, and is available
1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 -*
1.12 -* Initial Contributors:
1.13 -* Nokia Corporation - initial contribution.
1.14 -*
1.15 -* Contributors:
1.16 -*
1.17 -* Description: Processing instruction node functions
1.18 -*
1.19 -*/
1.20 -
1.21 -
1.22 -
1.23 -
1.24 -
1.25 -
1.26 -
1.27 -#ifndef XMLENGINE_PROCESSINGINSTRUCTION_H_INCLUDED
1.28 -#define XMLENGINE_PROCESSINGINSTRUCTION_H_INCLUDED
1.29 -
1.30 -#include "xmlengnode.h"
1.31 -
1.32 -
1.33 -
1.34 -/**
1.35 - * Instance of TXmlEngProcessingInstruction class represents an XML processing
1.36 - * instruction in the DOM tree.
1.37 - *
1.38 - * @lib XmlEngineDOM.lib
1.39 - * @since S60 v3.1
1.40 - */
1.41 -class TXmlEngProcessingInstruction : public TXmlEngNode
1.42 -{
1.43 - public:
1.44 - /**
1.45 - * Default constructor
1.46 - *
1.47 - * @since S60 v3.1
1.48 - */
1.49 - inline TXmlEngProcessingInstruction();
1.50 -
1.51 - /**
1.52 - * Get target of processing instruction.
1.53 - *
1.54 - * @since S60 v3.1
1.55 - * @return "Target" part of a processing instruction
1.56 - *
1.57 - * @code
1.58 - * <?target data?>
1.59 - * @endcode
1.60 - * @see http://www.w3.org/TR/2004/REC-xml-20040204/#sec-pi
1.61 - */
1.62 - IMPORT_C TPtrC8 Target() const;
1.63 -
1.64 - /**
1.65 - * Get data of processing instruction.
1.66 - *
1.67 - * @since S60 v3.1
1.68 - * @return "Data" part of a processing instruction
1.69 - *
1.70 - * @code
1.71 - * <?target data?>
1.72 - * @endcode
1.73 - * @see http://www.w3.org/TR/2004/REC-xml-20040204/#sec-pi
1.74 - */
1.75 - IMPORT_C TPtrC8 Data() const;
1.76 -
1.77 - /**
1.78 - * Sets data part of processing instruction
1.79 - *
1.80 - * @since S60 v3.1
1.81 - * @param aData New data part of processing instruction
1.82 - * @note PI contents should not contain "?>" sequence
1.83 - */
1.84 - IMPORT_C void SetDataL(const TDesC8& aData);
1.85 -
1.86 -protected:
1.87 - /**
1.88 - * Constructor
1.89 - *
1.90 - * @since S60 v3.1
1.91 - * @param aInternal processing instruction pointer
1.92 - */
1.93 - inline TXmlEngProcessingInstruction(void* aInternal);
1.94 -};
1.95 -
1.96 -
1.97 -
1.98 -#include "xmlengprocessinginstruction.inl"
1.99 -#endif /* XMLENGINE_PROCESSINGINSTRUCTION_H_INCLUDED */