Mp7Jrs  2.7.1
Mp7JrsNode Class Reference

Basic Mp7Jrs node type. More...

Inherited by IMp7JrsAbstractionLevelType, IMp7JrsAccessUnitType, IMp7JrsAnalyticEditedVideoSegmentSpatioTemporalDecompositionType_LocalType, IMp7JrsAnalyticModelType_LocalType, IMp7JrsAudioSegmentMediaSourceDecompositionType_LocalType, IMp7JrsAudioSegmentTemporalDecompositionType_LocalType, IMp7JrsAudioSegmentType_LocalType, IMp7JrsAudioSegmentType_LocalType0, IMp7JrsAudioSignalQualityType_ErrorEventList_LocalType, IMp7JrsAudioVisualRegionMediaSourceDecompositionType_LocalType, IMp7JrsAudioVisualRegionSpatialDecompositionType_LocalType, IMp7JrsAudioVisualRegionSpatioTemporalDecompositionType_LocalType, IMp7JrsAudioVisualRegionTemporalDecompositionType_LocalType, IMp7JrsAudioVisualRegionType_LocalType, IMp7JrsAudioVisualSegmentMediaSourceDecompositionType_LocalType, IMp7JrsAudioVisualSegmentSpatialDecompositionType_LocalType, IMp7JrsAudioVisualSegmentSpatioTemporalDecompositionType_LocalType, IMp7JrsAudioVisualSegmentTemporalDecompositionType_LocalType, IMp7JrsAudioVisualSegmentType_LocalType, IMp7JrsauxiliaryLanguageType, IMp7JrsAvailabilityType_AvailabilityPeriod_type_LocalType2, IMp7JrsbasicDurationType, IMp7JrsbasicTimePointType, IMp7JrsbeatType, IMp7JrsBrowsingPreferencesType_BrowsingLocation_CollectionType, IMp7JrsCameraMotionSegmentType, IMp7JrscharacterSetCode, IMp7JrsClassificationPreferencesType_CaptionLanguage_LocalType, IMp7JrsClassificationPreferencesType_Review_LocalType, IMp7JrsClassificationType_CaptionLanguage_LocalType, IMp7JrsClassificationType_Release_LocalType, IMp7JrsClassificationType_SignLanguage_LocalType, IMp7JrsClassificationType_Target_Age_LocalType, IMp7JrsClassificationType_Target_LocalType, IMp7JrsClusterClassificationModelType_LocalType, IMp7JrsClusterModelType_LocalType, IMp7JrsClusterModelType_LocalType0, IMp7JrsCollectionModelType_LocalType, IMp7JrsColorQuantizationType, IMp7JrsColorQuantizationType_LocalType, IMp7JrsColorSamplingType_Field_Component_Offset_LocalType, IMp7JrsColorSamplingType_Field_Component_Period_LocalType, IMp7JrsColorSamplingType_Field_LocalType, IMp7JrsColorSamplingType_Lattice_LocalType, IMp7JrsColorSpaceType, IMp7JrsCompleteDescriptionType, IMp7JrsCompositionShotEditingTemporalDecompositionType_LocalType, IMp7JrsCompositionTransitionType_compositionType_LocalType2, IMp7JrsConceptCollectionType_LocalType, IMp7JrsConceptCollectionType_LocalType0, IMp7JrsContentCollectionType_LocalType, IMp7JrsContentCollectionType_LocalType0, IMp7JrsContentCollectionType_LocalType1, IMp7JrsContourShapeType_Peak_LocalType, IMp7JrscontourType_LocalType, IMp7JrscountryCode, IMp7JrsCreationToolType, IMp7JrsCreationToolType_Setting_LocalType, IMp7JrsCreationType_CreationCoordinates_LocalType, IMp7JrscurrencyCode, IMp7JrsDecoderInitType, IMp7JrsDependencyStructurePhraseType, IMp7JrsDependencyStructurePhraseType_LocalType, IMp7JrsDependencyStructurePhraseType_LocalType0, IMp7JrsDependencyStructurePhraseType_operator_LocalType, IMp7JrsDependencyStructureType, IMp7JrsDescriptionMetadataType_PrivateIdentifier_CollectionType, IMp7JrsDescriptionProfileType, IMp7JrsDescriptionProfileType_profileAndLevelIndication_CollectionType, IMp7JrsDescriptorCollectionType_LocalType, IMp7JrsDiscreteHiddenMarkovModelType_LocalType, IMp7JrsDominantColorType_Value_LocalType, IMp7JrsdoubleVector, IMp7JrsdurationType, IMp7JrsEditedVideoEditingTemporalDecompositionType_LocalType, IMp7JrsElectronicAddressType, IMp7JrsElectronicAddressType_Email_CollectionType, IMp7JrsElectronicAddressType_Fax_CollectionType, IMp7JrsElectronicAddressType_Telephone_LocalType, IMp7JrsElectronicAddressType_Url_CollectionType, IMp7JrsEventType_LocalType, IMp7JrsExtendedLanguageType, IMp7JrsExtentType, IMp7JrsFigureTrajectoryType, IMp7JrsFilteringType, IMp7JrsFilterType, IMp7JrsFinancialType, IMp7JrsFinancialType_AccountItem_LocalType, IMp7JrsfloatVector, IMp7JrsFocusOfExpansionType, IMp7JrsFractionalPresenceType, IMp7JrsFragmentReferenceType, IMp7JrsFragmentUpdateCommandType, IMp7JrsFragmentUpdateCommandType_LocalType0, IMp7JrsFragmentUpdateContextTypeBase, IMp7JrsFragmentUpdatePayloadType, IMp7JrsFragmentUpdateUnitType, IMp7JrsFrequencyTreeType_LocalType, IMp7JrsGaussianMixtureModelType_LocalType, IMp7JrsGeographicPointType, IMp7JrsGeographicPointType_latitude_LocalType, IMp7JrsGeographicPointType_longitude_LocalType, IMp7JrsGofGopFeatureType, IMp7JrsGraphType_LocalType, IMp7JrsGridLayoutType, IMp7JrsGridLayoutType_descriptorMask_LocalType, IMp7JrsHandWritingRecogInformationType_InkLexicon_Entry_LocalType, IMp7JrsHandWritingRecogInformationType_InkLexicon_LocalType, IMp7JrsHandWritingRecogInformationType_Recognizer_LocalType, IMp7JrsHandWritingRecogResultType_Result_LocalType, IMp7JrsHierarchicalSummaryType_components_CollectionType, IMp7JrsHierarchicalSummaryType_LocalType, IMp7JrsIDREFS, IMp7JrsIlluminationInvariantColorType, IMp7JrsImageLocatorType_BytePosition_LocalType, IMp7JrsImageTextType_textType_LocalType2, IMp7JrsIncrDurationType, IMp7JrsInkMediaInformationType_Brush_LocalType, IMp7JrsInkMediaInformationType_InputDevice_LocalType, IMp7JrsInkMediaInformationType_OverlaidMedia_LocalType, IMp7JrsInkMediaInformationType_Param_LocalType, IMp7JrsInkMediaInformationType_Style_LocalType2, IMp7JrsInkMediaInformationType_WritingFieldLayout_fieldIDList_CollectionType, IMp7JrsInkMediaInformationType_WritingFieldLayout_LocalType, IMp7JrsInkSegmentSpatialDecompositionType_LocalType, IMp7JrsInkSegmentTemporalDecompositionType_LocalType, IMp7JrsInkSegmentType_LocalType, IMp7JrsInkSegmentType_LocalType0, IMp7JrsInkSegmentType_LocalType1, IMp7JrsInlineMediaType, IMp7JrsInlineTermDefinitionType, IMp7JrsintegerVector, IMp7JrsIntraCompositionShotEditingTemporalDecompositionType_LocalType, IMp7JrsIrregularVisualTimeSeriesType_LocalType, IMp7JrsKeyType_KeyNote_LocalType, IMp7JrsKeywordAnnotationType, IMp7JrsLinguisticDocumentType_LocalType, IMp7JrsLinguisticEntityType_edit_LocalType, IMp7JrsLinguisticEntityType_length_LocalType, IMp7JrsLinguisticEntityType_start_LocalType, IMp7JrslistOfPositiveIntegerForDim, IMp7JrsLogicalUnitLocatorType_LocalType, IMp7JrsLogicalUnitLocatorType_LogicalUnit_LocalType, IMp7JrsLogicalUnitLocatorType_LogicalUnit_LocalType0, IMp7JrsLogicalUnitLocatorType_ReferenceUnit_LocalType, IMp7JrsLogicalUnitLocatorType_ReferenceUnit_LocalType0, IMp7JrsMediaAgentType, IMp7JrsmediaDurationType, IMp7JrsMediaFormatType_AudioCoding_AudioChannels_LocalType, IMp7JrsMediaFormatType_AudioCoding_Emphasis_LocalType2, IMp7JrsMediaFormatType_AudioCoding_LocalType, IMp7JrsMediaFormatType_AudioCoding_Sample_LocalType, IMp7JrsMediaFormatType_BitRate_LocalType, IMp7JrsMediaFormatType_ScalableCoding_LocalType2, IMp7JrsMediaFormatType_VisualCoding_Format_colorDomain_LocalType2, IMp7JrsMediaFormatType_VisualCoding_Frame_LocalType, IMp7JrsMediaFormatType_VisualCoding_LocalType, IMp7JrsMediaFormatType_VisualCoding_Pixel_LocalType, IMp7JrsMediaIncrDurationType, IMp7JrsMediaLocatorType, IMp7JrsMediaQualityType_PerceptibleDefects_LocalType, IMp7JrsMediaRelIncrTimePointType, IMp7JrsMediaReviewType, IMp7JrsMediaSpaceMaskType_SubInterval_LocalType, IMp7JrsmediaTimeOffsetType, IMp7JrsmediaTimePointType, IMp7JrsMediaTimeType, IMp7JrsMediaTranscodingHintsType_CodingHints_LocalType, IMp7JrsMediaTranscodingHintsType_MotionHint_LocalType, IMp7JrsMediaTranscodingHintsType_MotionHint_MotionRange_LocalType, IMp7JrsMediaTranscodingHintsType_ShapeHint_LocalType, IMp7JrsMelodySequenceType_NoteArray_Note_LocalType, IMp7JrsMelodySequenceType_StartingNote_LocalType, IMp7JrsMelodySequenceType_StartingNote_StartingPitch_LocalType, IMp7JrsMelodySequenceType_StartingNote_StartingPitch_PitchNote_LocalType, IMp7JrsMeterType_Numerator_LocalType, IMp7JrsmimeType, IMp7JrsminusOneToOneType, IMp7JrsminusOneToOneVector_LocalType, IMp7JrsMixedCollectionType_LocalType, IMp7JrsMixedCollectionType_LocalType0, IMp7JrsMixedCollectionType_LocalType1, IMp7JrsMixedCollectionType_LocalType2, IMp7JrsMixtureAmountOfMotionType, IMp7JrsMosaicType_WarpingParam_LocalType, IMp7JrsMosaicType_WarpingParam_LocalType0, IMp7JrsMosaicType_WarpingParam_modelType_LocalType2, IMp7JrsMotionActivityType_SpatialDistributionParams_LocalType, IMp7JrsMotionActivityType_SpatialLocalizationParams_LocalType, IMp7JrsMotionTrajectoryType_CoordDef_LocalType, IMp7JrsMotionTrajectoryType_CoordDef_Repr_LocalType, IMp7JrsMotionTrajectoryType_CoordRef_LocalType, IMp7JrsMovingRegionMediaSourceDecompositionType_LocalType, IMp7JrsMovingRegionSpatialDecompositionType_LocalType, IMp7JrsMovingRegionSpatioTemporalDecompositionType_LocalType, IMp7JrsMovingRegionTemporalDecompositionType_LocalType, IMp7JrsMovingRegionType_LocalType, IMp7JrsMovingRegionType_LocalType0, IMp7JrsMpeg7BaseType, IMp7JrsMpeg7Type, IMp7JrsMultimediaSegmentMediaSourceDecompositionType_LocalType, IMp7JrsMultipleViewType, IMp7JrsMultipleViewType_LocalType, IMp7JrsNonDependencyStructurePhraseType, IMp7JrsNonDependencyStructurePhraseType_LocalType, IMp7JrsNonMixtureAmountOfMotionType, IMp7JrsNonMixtureAmountOfMotionType_Fixed_LocalType, IMp7JrsnonNegativeReal, IMp7JrsObjectType_LocalType, IMp7JrsOrderedGroupDataSetMaskType_SubInterval_LocalType, IMp7JrsOrderingKeyType_Field_LocalType, IMp7JrsOrderingKeyType_Selector_LocalType, IMp7JrsOrganizationType_LocalType, IMp7JrsPackageType_LocalType, IMp7JrsPackageType_Scheme_LocalType, IMp7JrspaddingType, IMp7JrsParameterTrajectoryType, IMp7JrsParametricMotionType_CoordDef_LocalType, IMp7JrsParametricMotionType_CoordRef_LocalType, IMp7JrsParentalGuidanceType, IMp7JrsPartitionType, IMp7JrsPartitionType_dim_LocalType, IMp7JrsPersonGroupType_LocalType, IMp7JrsPersonNameType, IMp7JrsPersonNameType_LocalType, IMp7JrsPersonType_Affiliation_LocalType, IMp7JrsPersonType_LocalType, IMp7JrsPhoneType, IMp7JrsPlaceType_AdministrativeUnit_LocalType, IMp7JrsPlaceType_GeographicPosition_LocalType, IMp7JrsPlaceType_PostalAddress_LocalType, IMp7JrsPlaceType_StructuredInternalCoordinates_LocalType, IMp7JrsPlaceType_StructuredPostalAddress_LocalType, IMp7JrsPointOfViewType_Importance_LocalType, IMp7JrsPositionType, IMp7JrsPreferenceConditionType_Time_recurrence_LocalType2, IMp7JrspreferenceValueType, IMp7JrsProbabilityDistributionType_Cumulant_LocalType, IMp7JrsProbabilityDistributionType_Moment_LocalType, IMp7JrsProbabilityModelClassType_LocalType, IMp7JrsprobabilityVector_LocalType, IMp7JrsRatingType, IMp7JrsRecordingPreferencesType, IMp7JrsRecordingRequestType, IMp7JrsRecordingRequestType_RecordAssociatedData_LocalType, IMp7JrsRecordingRequestType_RecordAssociatedData_type_LocalType2, IMp7JrsRecordingRequestType_RecordingLocationPreferences_CollectionType, IMp7JrsRecordingRequestType_RecordingPeriod_LocalType, IMp7JrsRecordingRequestType_RecordingSourceTypePreferences_LocalType, IMp7JrsReferenceType, IMp7JrsregionCode, IMp7JrsRegionLocatorType, IMp7JrsRegionLocatorType_CoordRef_LocalType, IMp7JrsRegionLocatorType_Polygon_LocalType, IMp7JrsRelIncrTimePointType, IMp7JrsRightsType, IMp7JrsScalableSeriesType, IMp7JrsScalableSeriesType_Scaling_LocalType, IMp7JrsSceneGraphMaskType_LocalType, IMp7JrsSchemaReferenceType, IMp7JrsSegmentCollectionType_LocalType, IMp7JrsSegmentCollectionType_LocalType0, IMp7JrsSegmentType_LocalType, IMp7JrsSegmentType_TextAnnotation_type_LocalType, IMp7JrsSemanticBagType_LocalType, IMp7JrsSemanticBaseType_MediaOccurrence_LocalType, IMp7JrsSemanticBaseType_MediaOccurrence_type_LocalType2, IMp7JrsSemanticPlaceType_SemanticPlaceInterval_LocalType, IMp7JrsSemanticStateType_AttributeValuePair_LocalType, IMp7JrsSemanticStateType_AttributeValuePair_LocalType0, IMp7JrsSemanticTimeType_SemanticTimeInterval_LocalType, IMp7JrsSentencesType_LocalType, IMp7JrsSequentialSummaryType_components_CollectionType, IMp7JrsShotEditingTemporalDecompositionType_LocalType, IMp7JrsSignalPlaneOriginType, IMp7JrsSignalPlaneType, IMp7JrsSignalPlaneType_dim_LocalType, IMp7JrsSoundModelStateHistogramType_LocalType, IMp7JrsSpaceFrequencyGraphType_LocalType, IMp7JrsSpaceFrequencyGraphType_LocalType0, IMp7JrsSpaceTreeType_LocalType, IMp7JrsSpatial2DCoordinateSystemType_IntegratedCoordinateSystem_LocalType, IMp7JrsSpatial2DCoordinateSystemType_IntegratedCoordinateSystem_LocalType0, IMp7JrsSpatial2DCoordinateSystemType_IntegratedCoordinateSystem_MotionParams_CollectionType, IMp7JrsSpatial2DCoordinateSystemType_LocalCoordinateSystem_LocalType, IMp7JrsSpatial2DCoordinateSystemType_LocalCoordinateSystem_LocalType0, IMp7JrsSpatial2DCoordinateSystemType_LocalCoordinateSystem_LocalType1, IMp7JrsSpatial2DCoordinateSystemType_LocalCoordinateSystem_MappingFunct_CollectionType, IMp7JrsSpatioTemporalLocatorType, IMp7JrsSpatioTemporalLocatorType_CoordRef_LocalType, IMp7JrsSpatioTemporalLocatorType_LocalType, IMp7JrsSpeakerInfoType_PhoneIndex_LocalType, IMp7JrsSpeakerInfoType_PhoneIndex_PhoneIndexEntry_LocalType, IMp7JrsSpeakerInfoType_WordIndex_LocalType, IMp7JrsSpeakerInfoType_WordIndex_WordIndexEntry_LocalType, IMp7JrsSpokenContentHeaderType_LocalType, IMp7JrsSpokenContentIndexEntryType, IMp7JrsSpokenContentLatticeType_Block_LocalType, IMp7JrsSpokenContentLatticeType_Block_Node_LocalType, IMp7JrsSpokenContentLinkType, IMp7JrsStillRegion3DSpatialDecompositionType_LocalType, IMp7JrsStillRegion3DType_LocalType, IMp7JrsStillRegionSpatialDecompositionType_LocalType, IMp7JrsStillRegionType_LocalType, IMp7JrsStreamSectionType, IMp7JrsStructuredAnnotationType, IMp7JrsStructuredCollectionType_LocalType, IMp7JrsStructuredCollectionType_LocalType0, IMp7JrsStructuredCollectionType_LocalType1, IMp7JrsStructuredCollectionType_LocalType2, IMp7JrsSubjectTermDefinitionType_LocalType, IMp7JrssummaryComponentType, IMp7JrsSummarySegmentGroupType_LocalType, IMp7JrsSummarySegmentGroupType_LocalType0, IMp7JrsSyntacticConstituentType_LocalType, IMp7JrsTemporalInterpolationType, IMp7JrsTemporalInterpolationType_InterpolationFunctions_KeyValue_LocalType, IMp7JrsTemporalInterpolationType_InterpolationFunctions_LocalType, IMp7JrsTemporalInterpolationType_KeyTimePoint_LocalType, IMp7JrsTemporalInterpolationType_WholeInterval_LocalType, IMp7JrsTemporalSegmentLocatorType_BytePosition_LocalType, IMp7JrstermAliasReferenceType, IMp7JrstermNoteQualifierType, IMp7JrstermReferenceType, IMp7JrstermRelationQualifierType, IMp7JrstermURIReferenceType, IMp7JrsTextAnnotationType, IMp7JrsTextAnnotationType_LocalType, IMp7JrsTextDecompositionType_LocalType, IMp7JrsTextualBaseType, IMp7JrsTextureBrowsingType_LocalType, IMp7JrstimeOffsetType, IMp7JrstimePointType, IMp7JrsTimeType, IMp7JrsTitleMediaType, IMp7JrsTitleType_type_LocalType2, IMp7JrsUniqueIDType, IMp7Jrsunsigned1, IMp7Jrsunsigned10, IMp7Jrsunsigned11, IMp7Jrsunsigned12, IMp7Jrsunsigned13, IMp7Jrsunsigned14, IMp7Jrsunsigned15, IMp7Jrsunsigned16, IMp7Jrsunsigned17, IMp7Jrsunsigned18, IMp7Jrsunsigned19, IMp7Jrsunsigned2, IMp7Jrsunsigned20, IMp7Jrsunsigned21, IMp7Jrsunsigned22, IMp7Jrsunsigned23, IMp7Jrsunsigned24, IMp7Jrsunsigned25, IMp7Jrsunsigned26, IMp7Jrsunsigned27, IMp7Jrsunsigned28, IMp7Jrsunsigned29, IMp7Jrsunsigned3, IMp7Jrsunsigned30, IMp7Jrsunsigned31, IMp7Jrsunsigned32, IMp7Jrsunsigned4, IMp7Jrsunsigned5, IMp7Jrsunsigned6, IMp7Jrsunsigned7, IMp7Jrsunsigned8, IMp7Jrsunsigned9, IMp7JrsUserActionType_ActionTime_LocalType, IMp7JrsUserIdentifierType, IMp7JrsVariationType_VariationRelationship_LocalType2, IMp7JrsVideoSegmentMediaSourceDecompositionType_LocalType, IMp7JrsVideoSegmentSpatialDecompositionType_LocalType, IMp7JrsVideoSegmentSpatioTemporalDecompositionType_LocalType, IMp7JrsVideoSegmentTemporalDecompositionType_LocalType, IMp7JrsVideoSegmentType_LocalType, IMp7JrsVideoSegmentType_LocalType0, IMp7JrsVideoTextType_textType_LocalType2, IMp7JrsVideoViewGraphType_LocalType, IMp7JrsVideoViewGraphType_LocalType0, IMp7JrsViewSetType_LocalType, IMp7JrsViewSetType_setProperty_LocalType2, IMp7JrsVisualTimeSeriesType, IMp7JrsWordFormType, IMp7JrsWordFormType_type_LocalType2, IMp7JrsWordLexiconType_Token_linguisticUnit_LocalType2, IMp7JrsWordType, IMp7JrsxPathAbsoluteSelectorType, IMp7JrsxPathFieldType, IMp7JrsxPathRefType, IMp7JrsxPathSelectorType, IMp7JrsxPathType, IMp7JrszeroToOneType, Mp7JrsNodeCollection, and Mp7JrsUnknown.

Public Member Functions

const char * GetTypeName () const
 Get class type name as string.
const unsigned int GetClassId () const
 Get the class ID of this node (i.e.
void SetContentName (XMLCh *contentname)
 Set the content name of this node.
const XMLCh * GetContentName () const
 Get the content name of this node.
virtual XMLCh * ToText () const =0
 Convert the content to string.
virtual bool Parse (const XMLCh *const txt)=0
 Parse the content of this type.
virtual bool ContentFromString (const XMLCh *const txt)
 Parse the content from a string.
virtual XMLCh * ContentToString () const
virtual void Serialize (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc, XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *parent, XERCES_CPP_NAMESPACE_QUALIFIER DOMElement **newElem=NULL)=0
 Serialialize this object to a DOM tree.
virtual bool Deserialize (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *doc, XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *parent, XERCES_CPP_NAMESPACE_QUALIFIER DOMElement **current)=0
 Deserialize this object from a DOM tree.
virtual Mp7JrsNodePtr CreateChild (const XMLCh *const elementname, const XMLCh *const xsitype)
virtual XMLCh * GetXPath () const
 Get the absolute XPath expression describing this node.
Mp7JrsNodePtr NodeFromXPath (const char *xpath) const
 Get the node represented by this xpath.
virtual Mp7JrsNodePtr NodeFromXPath (const XMLCh *xpath) const
Mp7JrsNodeEnum GetOrCreateFromXPath (const char *xpath, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT, Mp7JrsXPathCreation flag=MP7JRS_FORCECREATE)
 Get the node(s) represented by this xpath.
virtual Mp7JrsNodeEnum GetOrCreateFromXPath (const XMLCh *xpath, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT, Mp7JrsXPathCreation flag=MP7JRS_FORCECREATE, Mp7JrsXPathParseContext *context=NULL)
Mp7JrsNodeEnum GetFromXPath (const char *xpath)
 The same like GetOrCreateFromXPath() just read only.
Mp7JrsNodeEnum GetFromXPath (const XMLCh *xpath)
 The same like GetOrCreateFromXPath() just read only.
virtual Mp7JrsNodePtr GetParent () const
 Get the parent of the node.
void SetParent (const Mp7JrsNodePtr &new_parent)
Locking
virtual bool Lock (Mp7JrsClientID id, bool receiveNotification=true)
 Request to lock this node for any operation.
virtual bool Lock4Add (Mp7JrsClientID id, bool receiveNotification=true)
 Request to lock this node for add or insert.
virtual void Unlock (Mp7JrsClientID id)
 Unlock this node.
Notifications
virtual void Register (Mp7JrsClientID id, Mp7JrsNotificationAction action, bool subtree=false)
 Register to receive notifications from this node.
virtual void Unregister (Mp7JrsClientID id, Mp7JrsNotificationAction action)
 Unregister from receiving notifications from this node.

Public Attributes

bool UseTypeAttribute
 Set if xsi:type attribute shall be written when serialising this node (useful for elements having abstract types).
Mp7JrsWeakPtr< Mp7JrsNode > m_myself

Protected Member Functions

Mp7JrsNodePtr UpwardWithXPath (const XMLCh *xpath) const
virtual void DeepCopy (const Mp7JrsNodePtr &original)=0
virtual bool IsLocked (Mp7JrsClientID id)
virtual Mp7JrsNodeEnum GetAllChildElements () const =0
virtual Mp7JrsNodePtr GetBaseRoot ()
virtual const Mp7JrsNodePtr GetBaseRoot () const

Protected Attributes

Mp7JrsClientID lockOwner
unsigned int m_ClassId
XMLCh * m_ContentName
Mp7JrsWeakPtr< Mp7JrsNode > m_Parent

Friends

class Mp7JrsFactory

Detailed Description

Basic Mp7Jrs node type.

Member Function Documentation

bool Mp7JrsNode::ContentFromString ( const XMLCh *const  txt)
virtual

Parse the content from a string.

Note, this is purely for ComplexTypes with SimpleContent and SimpleTypes.

Parameters
txtbuffer to parse from.
Returns
This default implementation always return false.
virtual bool Mp7JrsNode::Deserialize ( XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *  doc,
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *  parent,
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement **  current 
)
pure virtual

Deserialize this object from a DOM tree.

Parameters
docDOM document.
parentParent element in DOM tree.
currentCurrent element in DOM tree.
const unsigned int Mp7JrsNode::GetClassId ( ) const

Get the class ID of this node (i.e.

the MPEG-7 type it represents.

Mp7JrsNodeEnum Mp7JrsNode::GetFromXPath ( const char *  xpath)

The same like GetOrCreateFromXPath() just read only.

For more information, please see the class documentations of GetOrCreateFromXPath.

Mp7JrsNodeEnum Mp7JrsNode::GetFromXPath ( const XMLCh *  xpath)

The same like GetOrCreateFromXPath() just read only.

For more information, please see the class documentations of GetOrCreateFromXPath.

Mp7JrsNodeEnum Mp7JrsNode::GetOrCreateFromXPath ( const char *  xpath,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT,
Mp7JrsXPathCreation  flag = MP7JRS_FORCECREATE 
)

Get the node(s) represented by this xpath.

Missing nodes are created and inserted/appended automatically. Note, we don't fill in missing elements in between. If a collection contains 2 elements and you are requesting the 4th, then an exception is thrown.

Returns
An enumeration of nodes, which may be empty. NOTE: This method implements only a very restricted subset of XPath: xsi:type attributes are allowed, and the order of collection indexes and xsi:types is taken into account.

For more information, please see the class documentation

Mp7JrsNodePtr Mp7JrsNode::GetParent ( ) const
virtual

Get the parent of the node.

Returns
A pointer to the parent of the node or NULL if this is the root node of a tree fragment.
const char * Mp7JrsNode::GetTypeName ( ) const

Get class type name as string.

XMLCh * Mp7JrsNode::GetXPath ( ) const
virtual

Get the absolute XPath expression describing this node.

This method is experimental...

Returns
An absolute XPath expression describing this node.
bool Mp7JrsNode::Lock ( Mp7JrsClientID  id,
bool  receiveNotification = true 
)
virtual

Request to lock this node for any operation.

Parameters
idID of the client that wants to lock this node.
receiveNotificationDetermines whether the client will be notifified later, in the case that the lock cannot be granted immediately.
Returns
True if the node has been locked, false otherwise. NOTE: Not implemented, will currently always return true.
bool Mp7JrsNode::Lock4Add ( Mp7JrsClientID  id,
bool  receiveNotification = true 
)
virtual

Request to lock this node for add or insert.

Parameters
idID of the client that wants to lock this node.
receiveNotificationDetermines whether the client will be notifified later, in the case that the lock cannot be granted immediately.
Returns
True if the node has been locked, false otherwise. NOTE: Not implemented, will currently always return true.
Mp7JrsNodePtr Mp7JrsNode::NodeFromXPath ( const char *  xpath) const

Get the node represented by this xpath.

Returns
A node pointer or NULL if an invalid xpath argument was given. NOTE: This method implements only a very restricted subset of XPath: only the child path is supported, only a single node is returned.
virtual bool Mp7JrsNode::Parse ( const XMLCh *const  txt)
pure virtual

Parse the content of this type.

Note, this is purely for ComplexTypes with SimpleContent and SimpleTypes. All other types return false.

Parameters
txtbuffer to parse from.
Returns
True if parsing was successful, false otherwise..
void Mp7JrsNode::Register ( Mp7JrsClientID  id,
Mp7JrsNotificationAction  action,
bool  subtree = false 
)
virtual

Register to receive notifications from this node.

Parameters
idID of the client that wants to receive notifications.
actionType of action, for which notifications shall be sent.
subtreeIf true, the client is also registered to receive notifications from all nodes in the subtree below the specified node. This may be slow, if many nodes are involved. NOTE: Not implemented. No notifications will be sent
virtual void Mp7JrsNode::Serialize ( XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *  doc,
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *  parent,
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement **  newElem = NULL 
)
pure virtual

Serialialize this object to a DOM tree.

Parameters
docDOM document.
parentParent node in DOM tree.
void Mp7JrsNode::SetContentName ( XMLCh *  contentname)

Set the content name of this node.

virtual XMLCh* Mp7JrsNode::ToText ( ) const
pure virtual

Convert the content to string.

Note, this is purely for ComplexTypes with SimpleContent and SimpleTypes. All other types return the class name.

Returns
The converted content of this class or NULL if something goes terribly wrong.
void Mp7JrsNode::Unlock ( Mp7JrsClientID  id)
virtual

Unlock this node.

Parameters
idID of the client that wants to unlock.
void Mp7JrsNode::Unregister ( Mp7JrsClientID  id,
Mp7JrsNotificationAction  action 
)
virtual

Unregister from receiving notifications from this node.

Parameters
idID of the client that wants to unregister.
actionType of action, for which to unregister.
subtreeIf true, the client is also unregistered from receving notifications from all nodes in the subtree below the specified node.

Member Data Documentation

bool Mp7JrsNode::UseTypeAttribute

Set if xsi:type attribute shall be written when serialising this node (useful for elements having abstract types).