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: Documentation, AppInfo
Member Summary
Member Functions: getData, setData, source
Inherited Functions: accept, duplicate, id, referenceCount, release
Types Aliases
Ptr
using Ptr = Poco::AutoPtr < AnnotationContent >;
Constructors
AnnotationContent
AnnotationContent(
const std::string & sourceUri
);
Creates the AnnotationContent.
Destructor
~AnnotationContent
virtual ~AnnotationContent();
Destroys the AnnotationContent.
Member Functions
getData
const std::string & getData() const;
Returns the content in string form
setData
void setData(
const std::string & data
);
Sets the content as string
source
const std::string & source() const;
Returns the source URL for the AnnotationContent