FDO API Reference Feature Data Objects

XmlCopyHandler::XmlCopyHandler NAMESPACE_OSGEO_COMMON_XML::XmlWriter *  writer,
String *  resourceLocation,
String *  name,
String *  qualifiedName,
XmlAttributeCollection attributes,
DictionaryElementCollection namespaces
 

Constructs a Copy Handler. When attached (as the SAX Handler) to a XmlReader, this object copies the current element being parsed, plus all of its sub-elements.

Parameters:
writer Input the sub-elements are written to this XML writer.
uri Input current element's Universal Resource Indicator
name Input the unqualified name of the current element (doesn't include namespace)
qname Input the qualified name of the current element(includes namespace)
atts Input the attributes for the current element.
Note: If the current element will become the root element in the destination document, the caller is responsible for including all required xmlns: namespace declarations in the atts list.
Parameters:
namespaces Input list of XML namespace declarations to write to the destination document.
Returns:
Returns XmlCopyHandler

Comments or suggestions? Send us feedback.