NamespaceCreator.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef _XML2_NAMESPACE_CREATOR_H
00014 #define _XML2_NAMESPACE_CREATOR_H
00015 
00016 #include <xml/Parser.h>
00017 #include <support/KeyedVector.h>
00018 
00019 #if _SUPPORTS_NAMESPACE
00020 namespace palmos {
00021 namespace xml {
00022 #endif // _SUPPORTS_NAMESPACE
00023 
00024 class BNamespaceMap : public SAtom
00025 {
00026 public:
00027     
00028     
00029 private:
00030     
00031 };
00032 
00033 class BNamespaceCreator : public BCreator
00034 {
00035 public:
00036     
00037     BNamespaceCreator();
00038     //BNamespaceCreator(
00039     
00040     virtual status_t    OnStartTag(             SString         & name,
00041                                                 SValue          & attributes,
00042                                                 sptr<BCreator>  & newCreator    );
00043                                     
00044     virtual status_t    OnStartTag(             const SString           & localName,
00045                                                 const SString           & nsID
00046                                                 const SValue            & attributes,
00047                                                 sptr<BNamespaceCreator> & newCreator    );
00048                                     
00049     virtual status_t    OnEndTag(               SString         & name          );
00050     
00051 };
00052 
00053 
00054 #if _SUPPORTS_NAMESPACE
00055 } } // namespace palmos::xml
00056 #endif // _SUPPORTS_NAMESPACE
00057 
00058 #endif // _XML2_NAMESPACE_CREATOR_H