class Poco::XML::NamespacePrefixesStrategy

Overview

The NamespaceStrategy implementation used if namespaces processing is requested and prefixes are reported. Moreā€¦

#include <NamespaceStrategy.h>

class NamespacePrefixesStrategy: public Poco::XML::NamespaceStrategy
{
public:
    // methods

    virtual
    void
    startElement(
        const XMLChar* name,
        const XMLChar** atts,
        int specifiedCount,
        ContentHandler* pContentHandler
        );

    virtual
    void
    endElement(
        const XMLChar* name,
        ContentHandler* pContentHandler
        );
};

Inherited Members

public:
    // methods

    virtual
    void
    startElement(
        const XMLChar* name,
        const XMLChar** atts,
        int specifiedCount,
        ContentHandler* pContentHandler
        ) = 0;

    virtual
    void
    endElement(
        const XMLChar* name,
        ContentHandler* pContentHandler
        ) = 0;

protected:
    // fields

    static const XMLString NOTHING;

    // methods

    static
    void
    splitName(
        const XMLChar* qname,
        XMLString& uri,
        XMLString& localName
        );

    static
    void
    splitName(
        const XMLChar* qname,
        XMLString& uri,
        XMLString& localName,
        XMLString& prefix
        );

Detailed Documentation

The NamespaceStrategy implementation used if namespaces processing is requested and prefixes are reported.

Methods

virtual
void
startElement(
    const XMLChar* name,
    const XMLChar** atts,
    int specifiedCount,
    ContentHandler* pContentHandler
    )

Translate the arguments as delivered by Expat and call the startElement() method of the ContentHandler.

virtual
void
endElement(
    const XMLChar* name,
    ContentHandler* pContentHandler
    )

Translate the arguments as delivered by Expat and call the endElement() method of the ContentHandler.