/*
- * Copyright 2001-2009 Internet2
+ * Copyright 2001-2010 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/**
* Creates an empty XMLObject with a particular element name.
- * <p>The results are undefined if localName is NULL or empty.
+ * <p>The results are undefined if localName is nullptr or empty.
*
* @param nsURI namespace URI for element
* @param localName local name of element
* @return the empty XMLObject
*/
virtual XMLObject* buildObject(
- const XMLCh* nsURI, const XMLCh* localName, const XMLCh* prefix=NULL, const QName* schemaType=NULL
+ const XMLCh* nsURI, const XMLCh* localName, const XMLCh* prefix=nullptr, const QName* schemaType=nullptr
) const=0;
/**
*
* @param element the unmarshalling source
* @param bindDocument true iff the new XMLObject should take ownership of the DOM Document
- * @return the unmarshalled object or NULL if no builder is available
+ * @return the unmarshalled object or nullptr if no builder is available
*/
static XMLObject* buildOneFromElement(xercesc::DOMElement* element, bool bindDocument=false);
* Retrieves an XMLObjectBuilder using the key it was registered with.
*
* @param key the key used to register the builder
- * @return the builder or NULL
+ * @return the builder or nullptr
*/
static const XMLObjectBuilder* getBuilder(const QName& key);
* If no match is found, the default builder is returned, if any.
*
* @param element the element for which to locate a builder
- * @return the builder or NULL
+ * @return the builder or nullptr
*/
static const XMLObjectBuilder* getBuilder(const xercesc::DOMElement* element);
/**
* Retrieves the default XMLObjectBuilder for DOM elements
*
- * @return the default builder or NULL
+ * @return the default builder or nullptr
*/
static const XMLObjectBuilder* getDefaultBuilder();