X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=blobdiff_plain;f=xmltooling%2FXMLObjectBuilder.h;h=0a3d6bb9d1f638c4426db37a83f90df513066562;hp=25fcbb78a546898221d9dcfa49dff7c3e4dee4c1;hb=c47d9a28b514e071b6fbb1dfce4b5f258d26a67f;hpb=4a9b88a7b587d2665e104f65df2f67f49c90255e diff --git a/xmltooling/XMLObjectBuilder.h b/xmltooling/XMLObjectBuilder.h index 25fcbb7..0a3d6bb 100644 --- a/xmltooling/XMLObjectBuilder.h +++ b/xmltooling/XMLObjectBuilder.h @@ -96,20 +96,6 @@ namespace xmltooling { } /** - * Creates an empty XMLObject using the default build method, if a builder can be found. - * - * @param key the element key used to locate a builder - * @return the empty object or NULL if no builder is available - */ - static XMLObject* buildOne(const QName& key) { - const XMLObjectBuilder* b=getBuilder(key); - if (b) - return b->buildFromQName(key); - b=getDefaultBuilder(); - return b ? b->buildFromQName(key) : NULL; - } - - /** * Creates an unmarshalled XMLObject using the default build method, if a builder can be found. * * @param element the unmarshalling source