upnpmediaserver/contentdirectoryservice/inc/upnpelementfactory.h
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 27 03808033c9a2
equal deleted inserted replaced
32:3785f754ee62 38:5360b7ddc251
    20 #define C_CUPNPELEMENTFACTORY_H
    20 #define C_CUPNPELEMENTFACTORY_H
    21 
    21 
    22 
    22 
    23 // INCLUDES
    23 // INCLUDES
    24 
    24 
    25 #include <xml/dom/xmlengdom.h>
    25 #include <xmlengdom.h>
    26 #include <xml/dom/xmlengdocument.h>
    26 #include <xmlengdocument.h>
    27 #include "upnpcontentdirectory.h"
    27 #include "upnpcontentdirectory.h"
    28 #include "upnpfiletransfer.h"
    28 #include "upnpfiletransfer.h"
    29 #include "upnperrors.h" // Added by ClassView
    29 #include "upnperrors.h" // Added by ClassView
    30 #include "upnpdominterface.h"
    30 #include "upnpdominterface.h"
    31 
    31 
   288     *
   288     *
   289     * @since Series S60 3.2
   289     * @since Series S60 3.2
   290     * @param aElement    
   290     * @param aElement    
   291     */
   291     */
   292     void CheckSizeOfResElementL(const TXmlEngElement& aElement);
   292     void CheckSizeOfResElementL(const TXmlEngElement& aElement);
       
   293     
       
   294     /**
       
   295      * Checks if value is restricted
       
   296      * @param restrVal
       
   297      */
       
   298     TBool CheckRestrictedValue (TPtrC8& restrVal);
       
   299     
       
   300     void ValidateAttributeL(TXmlEngElement aElement, TXmlEngElement aObject);
       
   301     
       
   302     void CheckNestedElementsL(RXmlEngNodeList<TXmlEngElement> aNestEls, TXmlEngElement aChild,
       
   303             TBool aLocalSharing);
       
   304     
       
   305     TBool HandleChildrenL (RXmlEngNodeList<TXmlEngElement> aChildren, TBool aNew, TBool aLocalSharing,
       
   306             TBool aElementFound, TXmlEngElement aEl);
       
   307     
       
   308     TBool ValidateElementL (TXmlEngElement aObject, 
       
   309             const TDesC8& aPropertyType, TXmlEngElement aEl, TBool aElementFound, TBool aNew,
       
   310             TBool aLocalSharing);
       
   311     
       
   312     void CheckElementValidity (TXmlEngElement& aElement);
       
   313     
   293                     
   314                     
   294 private: // Data
   315 private: // Data
   295 
   316 
   296     // owned
   317     // owned
   297     RXmlEngDocument               iDocument;
   318     RXmlEngDocument               iDocument;