00001 /* 00002 * ============================================================================== 00003 * Name : xmlengcharacterdata.h 00004 * Part of : XmlEngine / DOM XPath C++ Wrapper 00005 * Interface : Domain, XML Engine DOM API 00006 * Description : All text nodes functions 00007 * Version : %version: 2 % 00008 * 00009 * Copyright © 2004-2006 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_CHARACTERDATA_H_INCLUDED 00022 #define XMLENGINE_CHARACTERDATA_H_INCLUDED 00023 00024 #include "xmlengnode.h" 00025 00037 class TXmlEngCharacterData : public TXmlEngNode 00038 { 00039 public: 00040 00049 IMPORT_C TPtrC8 Contents() const; 00050 00063 IMPORT_C void SetContentsL(const TDesC8& aNewContents); 00064 00071 IMPORT_C void AppendContentsL(const TDesC8& aString); 00072 00079 IMPORT_C TUint Length() const; 00080 00081 protected: 00087 inline TXmlEngCharacterData(); // protected from API users 00088 00095 inline TXmlEngCharacterData(void* aInternal); 00096 }; 00097 00098 00099 #include "xmlengcharacterdata.inl" 00100 00101 #endif /* XMLENGINE_CHARACTERDATA_H_INCLUDED */ 00102