diff options
author | Kevin Rocard <kevinx.rocard@intel.com> | 2013-08-07 16:15:33 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:04:05 +0100 |
commit | a7b6960cb51b289f6e24a8c494f1a0683d91dcbe (patch) | |
tree | c51a4b26a35ad906827534af93fa03f31d9c758e /parameter/SubsystemElementBuilder.cpp | |
parent | d5679acf4b38db415bd25b0c3664d69cec5f43d4 (diff) | |
download | external_parameter-framework-a7b6960cb51b289f6e24a8c494f1a0683d91dcbe.zip external_parameter-framework-a7b6960cb51b289f6e24a8c494f1a0683d91dcbe.tar.gz external_parameter-framework-a7b6960cb51b289f6e24a8c494f1a0683d91dcbe.tar.bz2 |
Change the element builder semantic
BZ: 122982
To parse XML, the PFW uses factories containing a map of XML tags and
their associated builder builder. The builders used to contain the XML
tag of the XML element that it will use in the context of the factory.
A builder and an XML tag are already linked by the factory, thus the tag
member in the builder is redundant.
Remove the XML tag builder attribute and provide it on factory filling.
Change-Id: I827c3b34dffb23bc850316d0b092b31c21987ac2
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
Reviewed-on: http://android.intel.com:8080/124214
Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'parameter/SubsystemElementBuilder.cpp')
-rw-r--r-- | parameter/SubsystemElementBuilder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/parameter/SubsystemElementBuilder.cpp b/parameter/SubsystemElementBuilder.cpp index c55c7dc..6336778 100644 --- a/parameter/SubsystemElementBuilder.cpp +++ b/parameter/SubsystemElementBuilder.cpp @@ -25,7 +25,8 @@ #include "SubsystemElementBuilder.h" #include "SubsystemLibrary.h" -CSubsystemElementBuilder::CSubsystemElementBuilder(const CSubsystemLibrary* pSubsystemLibrary) : CElementBuilder("Subsystem"), _pSubsystemLibrary(pSubsystemLibrary) +CSubsystemElementBuilder::CSubsystemElementBuilder(const CSubsystemLibrary* pSubsystemLibrary) : + CElementBuilder(), _pSubsystemLibrary(pSubsystemLibrary) { } |