Version 1 of the interface that supports parsing by the client supplied parser of the XMP Data Model. More...
#include <IClientDOMParser.h>
Public Member Functions | |
virtual spINode APICALL | Parse (const char *buffer, sizet bufferLength, pcIConfigurable configurationParameters, ReportErrorAndContinueFunctor proc)=0 |
Parse the contents present in the buffer taking into account the configuration parameters. More... | |
virtual bool APICALL | AreKeysCaseSensitive () const |
Indicates whether object supports case sensitive keys or not. More... | |
virtual void APICALL | Initialize (pIConfigurable configurationParameters) |
Initialize the default configuration parameters. More... | |
virtual eConfigurableErrorCode APICALL | Validate (const uint64 &key, IConfigurable::eDataType dataType, const IConfigurable::CombinedDataValue &dataValue) |
Validate the data type and value for a parameter. More... | |
virtual void APICALL | Release () const __NOTHROW__=0 |
Called by the library when the object is no longer required by it and client can free up the resources or memory associated with the object. More... | |
Protected Member Functions | |
virtual | ~IClientDOMParser_v1 () |
Version 1 of the interface that supports parsing by the client supplied parser of the XMP Data Model.
Provides functions to parse the XMP Data Model. Thread safety is controllable by the client.
Definition at line 22 of file IClientDOMParser.h.
|
inlineprotectedvirtual |
Destructor
Definition at line 73 of file IClientDOMParser.h.
References __NOTHROW__, and REQ_FRIEND_CLASS_DECLARATION.
|
inlinevirtual |
Indicates whether object supports case sensitive keys or not.
Definition at line 42 of file IClientDOMParser.h.
|
inlinevirtual |
Initialize the default configuration parameters.
The object needs to fill the default configuration parameters supported by it.
[in] | configurationParameters | an empty object of type #AdobeXMPCommon::IConfigurable. |
Definition at line 50 of file IClientDOMParser.h.
|
pure virtual |
Parse the contents present in the buffer taking into account the configuration parameters.
[in] | buffer | Pointer to a constant char buffer containing serialized XMP Data Model. |
[in] | bufferLength | Number of characters in buffer. In case name is null terminated set it to #AdobeXMPCommon::npos. |
[in] | configurationParameters | An object of type #AdobeXMPCommon::IConfigurable containing all the configuration parameters requested by client to be taken care of while parsing. |
[in] | proc | A function pointer to be used by the parse operation to report back any encountered errors/warnings. |
|
pure virtual |
Called by the library when the object is no longer required by it and client can free up the resources or memory associated with the object.
|
inlinevirtual |
Validate the data type and value for a parameter.
[in] | key | An unsigned 64 bit integer value indicating the key. |
[in] | dataType | A value of type #AdobeXMPCommon::IConfigurable::eDataType indicating the type of value the parameter holds. |
[in] | dataValue | A value of #AdobeXMPCommon::IConfigurable::CombinedDataValue indicating the value the parameter holds. |
Definition at line 60 of file IClientDOMParser.h.
References __NOTHROW__, and AdobeXMPCommon::kCECNone.