class Poco::XML::NoNamespacePrefixesStrategy

Overview

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

#include <NamespaceStrategy.h>

class NoNamespacePrefixesStrategy: 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, but prefixes are not 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.