Poco::XSD::Types

class AttributeHolder

Library: XSD/Types
Package: XSDAttributes
Header: Poco/XSD/Types/AttributeHolder.h

Description

Interface for classes storing attributes.

Member Summary

Member Functions: addAttribute, attributeContent, hasAnyAttribute

Constructors

AttributeHolder

AttributeHolder();

Creates the AttributeHolder.

Destructor

~AttributeHolder virtual

virtual ~AttributeHolder();

Destroys the AttributeHolder.

Member Functions

addAttribute virtual

virtual void addAttribute(
    AttributeContent::Ptr pAttr
) = 0;

Adds the attribute to the set.

attributeContent virtual

virtual const std::vector < AttributeContent::Ptr > & attributeContent() const = 0;

Returns the attributes defined for the complex type.

hasAnyAttribute virtual

virtual bool hasAnyAttribute() const = 0;

Returns true if the any attribute is allowed.