(file) Return to XmlParser.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/XmlParser.h between version 1.36 and 1.37

version 1.36, 2009/02/05 05:44:05 version 1.37, 2009/11/30 16:49:46
Line 166 
Line 166 
  
     // Warning: this constructor modifies the text.     // Warning: this constructor modifies the text.
  
     XmlParser(char* text, XmlNamespace* ns = 0);      /** If hideEmptyTags if true, next() hides empty tags from the caller.
           Instead, next() returns a fake start tag. The subsequent next() call
           returns a fake end tag. This relieves the caller from having to do
           special processing of empty tags, which can be tricky and error-prone.
       */
       XmlParser(char* text, XmlNamespace* ns = 0, Boolean hideEmptyTags = false);
  
     /** Comments are returned with entry if includeComment is true else     /** Comments are returned with entry if includeComment is true else
         XmlParser ignores comments. Default is false.         XmlParser ignores comments. Default is false.
Line 183 
Line 188 
  
     XmlNamespace* getNamespace(int nsType);     XmlNamespace* getNamespace(int nsType);
  
       void setHideEmptyTags(bool flag) { _hideEmptyTags = flag; }
   
       bool getHideEmptyTags(bool flag) const { return _hideEmptyTags; }
   
 private: private:
  
       Boolean _next(XmlEntry& entry, Boolean includeComment = false);
   
     Boolean _getElementName(char*& p, const char*& localName);     Boolean _getElementName(char*& p, const char*& localName);
  
     Boolean _getOpenElementName(     Boolean _getOpenElementName(
Line 216 
Line 227 
     XmlNamespace* _supportedNamespaces;     XmlNamespace* _supportedNamespaces;
     Stack<XmlNamespace> _nameSpaces;     Stack<XmlNamespace> _nameSpaces;
     int _currentUnsupportedNSType;     int _currentUnsupportedNSType;
       Boolean _hideEmptyTags;
 }; };
  
 PEGASUS_COMMON_LINKAGE void XmlAppendCString( PEGASUS_COMMON_LINKAGE void XmlAppendCString(


Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2