return m_typeQname;\r
}\r
\r
- void setSchemaType(const QName* type) {\r
- delete m_typeQname;\r
- m_typeQname = NULL;\r
- if (type) {\r
- m_typeQname = new QName(*type);\r
- addNamespace(Namespace(type->getNamespaceURI(), type->getPrefix()));\r
- }\r
- }\r
- \r
bool hasParent() const {\r
return m_parent != NULL;\r
}\r
/**\r
* Constructor\r
* \r
- * @param namespaceURI the namespace the element is in\r
- * @param elementLocalName the local name of the XML element this Object represents\r
- * @param namespacePrefix the namespace prefix to use\r
+ * @param nsURI the namespace of the element\r
+ * @param localName the local name of the XML element this Object represents\r
+ * @param prefix the namespace prefix to use\r
+ * @param schemaType the xsi:type to use\r
*/\r
- AbstractXMLObject(const XMLCh* namespaceURI=NULL, const XMLCh* elementLocalName=NULL, const XMLCh* namespacePrefix=NULL);\r
+ AbstractXMLObject(\r
+ const XMLCh* nsURI=NULL, const XMLCh* localName=NULL, const XMLCh* prefix=NULL, const QName* schemaType=NULL\r
+ );\r
\r
/** Copy constructor. */\r
AbstractXMLObject(const AbstractXMLObject& src);\r