Poco::XSD::Types

class AnnotationContent

File Information

Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/AnnotationContent.h

Description

AnnotationContent can be of type Any. Most common is a simple string, but a whole XML subtree is valid.

Inheritance

Direct Base Classes: Visitable

All Base Classes: Poco::RefCountedObject, Visitable

Known Derived Classes: AppInfo, Documentation

Member Summary

Member Functions: getData, setData, source

Inherited Functions: accept, duplicate, id, referenceCount, release

Types

Ptr

typedef Poco::AutoPtr < AnnotationContent > Ptr;

Constructors

AnnotationContent

AnnotationContent(
    const std::string & sourceUri
);

Creates the AnnotationContent.

Destructor

~AnnotationContent virtual

virtual ~AnnotationContent();

Destroys the AnnotationContent.

Member Functions

getData inline

const std::string & getData() const;

Returns the content in string form

setData inline

void setData(
    const std::string & data
);

Sets the content as string

source inline

const std::string & source() const;

Returns the source URL for the AnnotationContent