Mp7Jrs  2.7.1
IMp7JrsLinguisticDocumentType Class Reference

Generated interface IMp7JrsLinguisticDocumentType for class Mp7JrsLinguisticDocumentType
Located at: mpeg7-v2.xsd, line 4914
Classified: Class
Derived from: LinguisticEntityType (Class)
More...

Inherits IMp7JrsLinguisticEntityType.

Inherited by Mp7JrsLinguisticDocumentType.

Public Member Functions

virtual
Mp7JrssynthesisType::Enumeration 
Getsynthesis () const =0
 Get synthesis attribute.
virtual bool Existsynthesis () const =0
 Get synthesis attribute validity information.
virtual void Setsynthesis (Mp7JrssynthesisType::Enumeration item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set synthesis attribute.
virtual void Invalidatesynthesis ()=0
 Invalidate synthesis attribute.
virtual XMLCh * Getlang () const =0
 Get lang attribute.
virtual bool Existlang () const =0
 Get lang attribute validity information.
virtual void Setlang (XMLCh *item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set lang attribute.
virtual void Invalidatelang ()=0
 Invalidate lang attribute.
virtual
Mp7JrsLinguisticEntityType_start_LocalPtr 
Getstart () const =0
 Get start attribute.
virtual bool Existstart () const =0
 Get start attribute validity information.
virtual void Setstart (const Mp7JrsLinguisticEntityType_start_LocalPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set start attribute.
virtual void Invalidatestart ()=0
 Invalidate start attribute.
virtual
Mp7JrsLinguisticEntityType_length_LocalPtr 
Getlength () const =0
 Get length attribute.
virtual bool Existlength () const =0
 Get length attribute validity information.
virtual void Setlength (const Mp7JrsLinguisticEntityType_length_LocalPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set length attribute.
virtual void Invalidatelength ()=0
 Invalidate length attribute.
virtual Mp7JrstermReferencePtr Gettype () const =0
 Get type attribute.
virtual bool Existtype () const =0
 Get type attribute validity information.
virtual void Settype (const Mp7JrstermReferencePtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set type attribute.
virtual void Invalidatetype ()=0
 Invalidate type attribute.
virtual Mp7JrstermReferencePtr Getdepend () const =0
 Get depend attribute.
virtual bool Existdepend () const =0
 Get depend attribute validity information.
virtual void Setdepend (const Mp7JrstermReferencePtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set depend attribute.
virtual void Invalidatedepend ()=0
 Invalidate depend attribute.
virtual Mp7JrstermReferenceListPtr Getequal () const =0
 Get equal attribute.
virtual bool Existequal () const =0
 Get equal attribute validity information.
virtual void Setequal (const Mp7JrstermReferenceListPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set equal attribute.
virtual void Invalidateequal ()=0
 Invalidate equal attribute.
virtual Mp7JrstermReferenceListPtr Getsemantics () const =0
 Get semantics attribute.
virtual bool Existsemantics () const =0
 Get semantics attribute validity information.
virtual void Setsemantics (const Mp7JrstermReferenceListPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set semantics attribute.
virtual void Invalidatesemantics ()=0
 Invalidate semantics attribute.
virtual Mp7JrstermReferenceListPtr GetcompoundSemantics () const =0
 Get compoundSemantics attribute.
virtual bool ExistcompoundSemantics () const =0
 Get compoundSemantics attribute validity information.
virtual void SetcompoundSemantics (const Mp7JrstermReferenceListPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set compoundSemantics attribute.
virtual void InvalidatecompoundSemantics ()=0
 Invalidate compoundSemantics attribute.
virtual Mp7JrstermReferenceListPtr Getoperator () const =0
 Get operator attribute.
virtual bool Existoperator () const =0
 Get operator attribute validity information.
virtual void Setoperator (const Mp7JrstermReferenceListPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set operator attribute.
virtual void Invalidateoperator ()=0
 Invalidate operator attribute.
virtual Mp7JrstermReferenceListPtr Getcopy () const =0
 Get copy attribute.
virtual bool Existcopy () const =0
 Get copy attribute validity information.
virtual void Setcopy (const Mp7JrstermReferenceListPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set copy attribute.
virtual void Invalidatecopy ()=0
 Invalidate copy attribute.
virtual Mp7JrstermReferenceListPtr GetnoCopy () const =0
 Get noCopy attribute.
virtual bool ExistnoCopy () const =0
 Get noCopy attribute validity information.
virtual void SetnoCopy (const Mp7JrstermReferenceListPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set noCopy attribute.
virtual void InvalidatenoCopy ()=0
 Invalidate noCopy attribute.
virtual Mp7JrstermReferencePtr Getsubstitute () const =0
 Get substitute attribute.
virtual bool Existsubstitute () const =0
 Get substitute attribute validity information.
virtual void Setsubstitute (const Mp7JrstermReferencePtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set substitute attribute.
virtual void Invalidatesubstitute ()=0
 Invalidate substitute attribute.
virtual Mp7JrstermReferencePtr GetinScope () const =0
 Get inScope attribute.
virtual bool ExistinScope () const =0
 Get inScope attribute validity information.
virtual void SetinScope (const Mp7JrstermReferencePtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set inScope attribute.
virtual void InvalidateinScope ()=0
 Invalidate inScope attribute.
virtual
Mp7JrsLinguisticEntityType_edit_LocalPtr 
Getedit () const =0
 Get edit attribute.
virtual bool Existedit () const =0
 Get edit attribute validity information.
virtual void Setedit (const Mp7JrsLinguisticEntityType_edit_LocalPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set edit attribute.
virtual void Invalidateedit ()=0
 Invalidate edit attribute.
virtual XMLCh * Getid () const =0
 Get id attribute.
virtual bool Existid () const =0
 Get id attribute validity information.
virtual void Setid (XMLCh *item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set id attribute.
virtual void Invalidateid ()=0
 Invalidate id attribute.
virtual Mp7JrsxPathRefPtr GettimeBase () const =0
 Get timeBase attribute.
virtual bool ExisttimeBase () const =0
 Get timeBase attribute validity information.
virtual void SettimeBase (const Mp7JrsxPathRefPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set timeBase attribute.
virtual void InvalidatetimeBase ()=0
 Invalidate timeBase attribute.
virtual Mp7JrsdurationPtr GettimeUnit () const =0
 Get timeUnit attribute.
virtual bool ExisttimeUnit () const =0
 Get timeUnit attribute validity information.
virtual void SettimeUnit (const Mp7JrsdurationPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set timeUnit attribute.
virtual void InvalidatetimeUnit ()=0
 Invalidate timeUnit attribute.
virtual Mp7JrsxPathRefPtr GetmediaTimeBase () const =0
 Get mediaTimeBase attribute.
virtual bool ExistmediaTimeBase () const =0
 Get mediaTimeBase attribute validity information.
virtual void SetmediaTimeBase (const Mp7JrsxPathRefPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set mediaTimeBase attribute.
virtual void InvalidatemediaTimeBase ()=0
 Invalidate mediaTimeBase attribute.
virtual Mp7JrsmediaDurationPtr GetmediaTimeUnit () const =0
 Get mediaTimeUnit attribute.
virtual bool ExistmediaTimeUnit () const =0
 Get mediaTimeUnit attribute validity information.
virtual void SetmediaTimeUnit (const Mp7JrsmediaDurationPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set mediaTimeUnit attribute.
virtual void InvalidatemediaTimeUnit ()=0
 Invalidate mediaTimeUnit attribute.
virtual Mp7JrsNodeEnum GetOrCreateFromXPath (const XMLCh *xpath, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT, Mp7JrsXPathCreation flag=MP7JRS_FORCECREATE, Mp7JrsXPathParseContext *context=NULL)=0
 Gets or creates Mp7JrsNodePtr child elements of LinguisticDocumentType.
Sequence
virtual
Mp7JrsLinguisticDocumentType_CollectionPtr 
GetLinguisticDocumentType_LocalType () const =0
 Get LinguisticDocumentType_LocalType element.
virtual void SetLinguisticDocumentType_LocalType (const Mp7JrsLinguisticDocumentType_CollectionPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set LinguisticDocumentType_LocalType element.
virtual
Mp7JrsLinguisticEntityType_MediaLocator_CollectionPtr 
GetMediaLocator () const =0
 Get MediaLocator element.
virtual void SetMediaLocator (const Mp7JrsLinguisticEntityType_MediaLocator_CollectionPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set MediaLocator element.
virtual
Mp7JrsLinguisticEntityType_Relation_CollectionPtr 
GetRelation () const =0
 Get Relation element.
virtual void SetRelation (const Mp7JrsLinguisticEntityType_Relation_CollectionPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set Relation element.
virtual
Mp7JrsDSType_Header_CollectionPtr 
GetHeader () const =0
 Get Header element.
virtual void SetHeader (const Mp7JrsDSType_Header_CollectionPtr &item, Mp7JrsClientID client=MP7JRS_UNDEFINED_CLIENT)=0
 Set Header element.
Sequence
Sequence

Additional Inherited Members

- Public Attributes inherited from Mp7JrsNode
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 inherited from Mp7JrsNode
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 inherited from Mp7JrsNode
Mp7JrsClientID lockOwner
unsigned int m_ClassId
XMLCh * m_ContentName
Mp7JrsWeakPtr< Mp7JrsNode > m_Parent

Detailed Description

Generated interface IMp7JrsLinguisticDocumentType for class Mp7JrsLinguisticDocumentType
Located at: mpeg7-v2.xsd, line 4914
Classified: Class
Derived from: LinguisticEntityType (Class)

Member Function Documentation

virtual bool IMp7JrsLinguisticDocumentType::ExistcompoundSemantics ( ) const
pure virtual

Get compoundSemantics attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existcopy ( ) const
pure virtual

Get copy attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existdepend ( ) const
pure virtual

Get depend attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existedit ( ) const
pure virtual

Get edit attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existequal ( ) const
pure virtual

Get equal attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existid ( ) const
pure virtual

Get id attribute validity information.

(Inherited from Mp7JrsDSType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::ExistinScope ( ) const
pure virtual

Get inScope attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existlang ( ) const
pure virtual

Get lang attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existlength ( ) const
pure virtual

Get length attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::ExistmediaTimeBase ( ) const
pure virtual

Get mediaTimeBase attribute validity information.

(Inherited from Mp7JrsDSType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::ExistmediaTimeUnit ( ) const
pure virtual

Get mediaTimeUnit attribute validity information.

(Inherited from Mp7JrsDSType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::ExistnoCopy ( ) const
pure virtual

Get noCopy attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existoperator ( ) const
pure virtual

Get operator attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existsemantics ( ) const
pure virtual

Get semantics attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existstart ( ) const
pure virtual

Get start attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existsubstitute ( ) const
pure virtual

Get substitute attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existsynthesis ( ) const
pure virtual

Get synthesis attribute validity information.

Returns
true if attribute value is valid, false if not.
virtual bool IMp7JrsLinguisticDocumentType::ExisttimeBase ( ) const
pure virtual

Get timeBase attribute validity information.

(Inherited from Mp7JrsDSType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::ExisttimeUnit ( ) const
pure virtual

Get timeUnit attribute validity information.

(Inherited from Mp7JrsDSType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual bool IMp7JrsLinguisticDocumentType::Existtype ( ) const
pure virtual

Get type attribute validity information.

(Inherited from Mp7JrsLinguisticEntityType)

Returns
true if attribute value is valid, false if not.

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferenceListPtr IMp7JrsLinguisticDocumentType::GetcompoundSemantics ( ) const
pure virtual

Get compoundSemantics attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferenceListPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferenceListPtr IMp7JrsLinguisticDocumentType::Getcopy ( ) const
pure virtual

Get copy attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferenceListPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferencePtr IMp7JrsLinguisticDocumentType::Getdepend ( ) const
pure virtual

Get depend attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferencePtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsLinguisticEntityType_edit_LocalPtr IMp7JrsLinguisticDocumentType::Getedit ( ) const
pure virtual

Get edit attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrsLinguisticEntityType_edit_LocalPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferenceListPtr IMp7JrsLinguisticDocumentType::Getequal ( ) const
pure virtual

Get equal attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferenceListPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsDSType_Header_CollectionPtr IMp7JrsLinguisticDocumentType::GetHeader ( ) const
pure virtual

Get Header element.


(Inherited from Mp7JrsDSType)

Returns
Mp7JrsDSType_Header_CollectionPtr

Implements IMp7JrsLinguisticEntityType.

virtual XMLCh* IMp7JrsLinguisticDocumentType::Getid ( ) const
pure virtual

Get id attribute.


(Inherited from Mp7JrsDSType)

Returns
XMLCh *

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferencePtr IMp7JrsLinguisticDocumentType::GetinScope ( ) const
pure virtual

Get inScope attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferencePtr

Implements IMp7JrsLinguisticEntityType.

virtual XMLCh* IMp7JrsLinguisticDocumentType::Getlang ( ) const
pure virtual

Get lang attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
XMLCh *

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsLinguisticEntityType_length_LocalPtr IMp7JrsLinguisticDocumentType::Getlength ( ) const
pure virtual

Get length attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrsLinguisticEntityType_length_LocalPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsLinguisticDocumentType_CollectionPtr IMp7JrsLinguisticDocumentType::GetLinguisticDocumentType_LocalType ( ) const
pure virtual

Get LinguisticDocumentType_LocalType element.

Returns
Mp7JrsLinguisticDocumentType_CollectionPtr
virtual Mp7JrsLinguisticEntityType_MediaLocator_CollectionPtr IMp7JrsLinguisticDocumentType::GetMediaLocator ( ) const
pure virtual

Get MediaLocator element.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrsLinguisticEntityType_MediaLocator_CollectionPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsxPathRefPtr IMp7JrsLinguisticDocumentType::GetmediaTimeBase ( ) const
pure virtual

Get mediaTimeBase attribute.


(Inherited from Mp7JrsDSType)

Returns
Mp7JrsxPathRefPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsmediaDurationPtr IMp7JrsLinguisticDocumentType::GetmediaTimeUnit ( ) const
pure virtual

Get mediaTimeUnit attribute.


(Inherited from Mp7JrsDSType)

Returns
Mp7JrsmediaDurationPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferenceListPtr IMp7JrsLinguisticDocumentType::GetnoCopy ( ) const
pure virtual

Get noCopy attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferenceListPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferenceListPtr IMp7JrsLinguisticDocumentType::Getoperator ( ) const
pure virtual

Get operator attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferenceListPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsNodeEnum IMp7JrsLinguisticDocumentType::GetOrCreateFromXPath ( const XMLCh *  xpath,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT,
Mp7JrsXPathCreation  flag = MP7JRS_FORCECREATE,
Mp7JrsXPathParseContext *  context = NULL 
)
pure virtual

Gets or creates Mp7JrsNodePtr child elements of LinguisticDocumentType.

Currently this type contains 9 child elements of type "Mp7JrsNodePtr".

  • urn:mpeg:mpeg7:schema:2004:Header
  • urn:mpeg:mpeg7:schema:2004:MediaLocator
  • urn:mpeg:mpeg7:schema:2004:Relation
  • Heading
  • Division
  • Paragraph
  • Sentences
  • Sentence
  • Quotation

Supported XPath expressions for GetOrCreateFromXPath

/
  • Get the root of this node.
..
  • This feature is experimental.
  • Get the ancestor (parent node), or an empty list if the node already is the root node.
@A
  • Force creation of a child attribute named A.
  • This is valid only, if the type of attribute is derived from Mp7JrsNodePtr.
  • Evaluating this expression for a plain type like int or string results in an exception.
A
  • Select all child elements named A.
  • In case of no element, create a new one.
  • For collections: all subsequent XPath expressions are applied on all collection items (e.g. A/B query or create, childnodes B of all As).
A[i]
  • Select the ith child element of all A.
  • Please note, that XPath indexes start at 1.
  • If there is no such ith element, try to create a new one at index i.
  • Single elements require i to be 1 otherwise an exception is thrown.
  • For collections, i must not exceed the number of existing items +1 (appending is allowed, filling gaps not).
  • If the index is too high, a MissingElementException is thrown, and you can extract the last valid index. (Example: If a collection contains 2 elements and you are requesting the 4th element).
A[@xsi:type="T"]
  • Select all child elements named A of type T.
  • Currently only typenames without namespace are recognised.
  • If there is no such element, create and append a new one.
A[i][@xsi:type="T"]
  • Select the ith child element named A, which must be of type T.
  • If there is no such element at index i, a new one is created and inserted (appended).
A[@xsi:type="T"][i]
  • Out of all child elements named A of type T, take the ith one.
  • If there is no such element at index i, create and append one.
A[last()]
  • Select the last child element named A.
  • In case of no element, create a new one.
A[last()][@xsi:type="T"]
  • Select the last child element named A, which must be of type T.
  • For collections: in case of no such type, create and append a new one.
  • For single elements: if an element with different type exists, return the empty list.
A[@xsi:type="T"][last()]
  • Out of all child elements named A of type T, take the last one.
  • For collections: in case of no such type, create and append a new one.
  • For single elements: if an element with different type exists, return the empty list.
A[position() > last()]
  • Force creation of a child element named A with its default type.
  • For collections: create and append the default element.
  • For single elements: if any element exists, an exception is thrown.
A[position() > last()][@xsi:type="T"]
  • Force creation of a child element named A of type T.
  • For collections: create and append the element.
  • For single elements: if any element exists, an exception is thrown.
A[@xsi:type="T"][position() > last()]
  • Force creation of a child element named A of type T.
  • Behaves the same way as the previous expression.

Supported XPath expressions for GetFromXPath
The same expressions like GetOrCreateFromXPath plus

A[position() < i]
  • Select all child elements named A at indexes lower than i.
  • i must be greater than -1, otherwise an exception is thrown.
A[position() > i]
  • Select all child elements named A at indexes greater than i.
  • i must be greater than -1, otherwise an exception is thrown.
A[position() > i | position() < j]
  • Select all child elements named A at indexes greater than i and lower than j.
  • i and j must be greater than -1, otherwise an exception is thrown.
  • If i is greater than j then an empty list is returned.

These three expressions can be combined with the @xsi:type attribute to get a more restricted query.

Parameters
xpaththe xpath expression to get or create.
clientthe ID in case of locking.
Returns
the appropriate subelement node list. Can be empty in case of incompatible name/type/index settings.

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsLinguisticEntityType_Relation_CollectionPtr IMp7JrsLinguisticDocumentType::GetRelation ( ) const
pure virtual

Get Relation element.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrsLinguisticEntityType_Relation_CollectionPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferenceListPtr IMp7JrsLinguisticDocumentType::Getsemantics ( ) const
pure virtual

Get semantics attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferenceListPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsLinguisticEntityType_start_LocalPtr IMp7JrsLinguisticDocumentType::Getstart ( ) const
pure virtual

Get start attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrsLinguisticEntityType_start_LocalPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferencePtr IMp7JrsLinguisticDocumentType::Getsubstitute ( ) const
pure virtual

Get substitute attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferencePtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrssynthesisType::Enumeration IMp7JrsLinguisticDocumentType::Getsynthesis ( ) const
pure virtual

Get synthesis attribute.

Returns
Mp7JrssynthesisType::Enumeration
virtual Mp7JrsxPathRefPtr IMp7JrsLinguisticDocumentType::GettimeBase ( ) const
pure virtual

Get timeBase attribute.


(Inherited from Mp7JrsDSType)

Returns
Mp7JrsxPathRefPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrsdurationPtr IMp7JrsLinguisticDocumentType::GettimeUnit ( ) const
pure virtual

Get timeUnit attribute.


(Inherited from Mp7JrsDSType)

Returns
Mp7JrsdurationPtr

Implements IMp7JrsLinguisticEntityType.

virtual Mp7JrstermReferencePtr IMp7JrsLinguisticDocumentType::Gettype ( ) const
pure virtual

Get type attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Returns
Mp7JrstermReferencePtr

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::InvalidatecompoundSemantics ( )
pure virtual

Invalidate compoundSemantics attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatecopy ( )
pure virtual

Invalidate copy attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatedepend ( )
pure virtual

Invalidate depend attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidateedit ( )
pure virtual

Invalidate edit attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidateequal ( )
pure virtual

Invalidate equal attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidateid ( )
pure virtual

Invalidate id attribute.

(Inherited from Mp7JrsDSType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::InvalidateinScope ( )
pure virtual

Invalidate inScope attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatelang ( )
pure virtual

Invalidate lang attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatelength ( )
pure virtual

Invalidate length attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::InvalidatemediaTimeBase ( )
pure virtual

Invalidate mediaTimeBase attribute.

(Inherited from Mp7JrsDSType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::InvalidatemediaTimeUnit ( )
pure virtual

Invalidate mediaTimeUnit attribute.

(Inherited from Mp7JrsDSType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::InvalidatenoCopy ( )
pure virtual

Invalidate noCopy attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidateoperator ( )
pure virtual

Invalidate operator attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatesemantics ( )
pure virtual

Invalidate semantics attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatestart ( )
pure virtual

Invalidate start attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatesubstitute ( )
pure virtual

Invalidate substitute attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatesynthesis ( )
pure virtual

Invalidate synthesis attribute.

(Validate it again by setting a value)

virtual void IMp7JrsLinguisticDocumentType::InvalidatetimeBase ( )
pure virtual

Invalidate timeBase attribute.

(Inherited from Mp7JrsDSType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::InvalidatetimeUnit ( )
pure virtual

Invalidate timeUnit attribute.

(Inherited from Mp7JrsDSType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Invalidatetype ( )
pure virtual

Invalidate type attribute.

(Inherited from Mp7JrsLinguisticEntityType)

(Validate it again by setting a value)

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetcompoundSemantics ( const Mp7JrstermReferenceListPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set compoundSemantics attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferenceListPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setcopy ( const Mp7JrstermReferenceListPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set copy attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferenceListPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setdepend ( const Mp7JrstermReferencePtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set depend attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferencePtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setedit ( const Mp7JrsLinguisticEntityType_edit_LocalPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set edit attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrsLinguisticEntityType_edit_LocalPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setequal ( const Mp7JrstermReferenceListPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set equal attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferenceListPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetHeader ( const Mp7JrsDSType_Header_CollectionPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set Header element.


(Inherited from Mp7JrsDSType)

Parameters
itemconst Mp7JrsDSType_Header_CollectionPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setid ( XMLCh *  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set id attribute.


(Inherited from Mp7JrsDSType)

Parameters
itemXMLCh *

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetinScope ( const Mp7JrstermReferencePtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set inScope attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferencePtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setlang ( XMLCh *  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set lang attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemXMLCh *

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setlength ( const Mp7JrsLinguisticEntityType_length_LocalPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set length attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrsLinguisticEntityType_length_LocalPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetLinguisticDocumentType_LocalType ( const Mp7JrsLinguisticDocumentType_CollectionPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set LinguisticDocumentType_LocalType element.

Parameters
itemconst Mp7JrsLinguisticDocumentType_CollectionPtr &
virtual void IMp7JrsLinguisticDocumentType::SetMediaLocator ( const Mp7JrsLinguisticEntityType_MediaLocator_CollectionPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set MediaLocator element.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrsLinguisticEntityType_MediaLocator_CollectionPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetmediaTimeBase ( const Mp7JrsxPathRefPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set mediaTimeBase attribute.


(Inherited from Mp7JrsDSType)

Parameters
itemconst Mp7JrsxPathRefPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetmediaTimeUnit ( const Mp7JrsmediaDurationPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set mediaTimeUnit attribute.


(Inherited from Mp7JrsDSType)

Parameters
itemconst Mp7JrsmediaDurationPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetnoCopy ( const Mp7JrstermReferenceListPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set noCopy attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferenceListPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setoperator ( const Mp7JrstermReferenceListPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set operator attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferenceListPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SetRelation ( const Mp7JrsLinguisticEntityType_Relation_CollectionPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set Relation element.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrsLinguisticEntityType_Relation_CollectionPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setsemantics ( const Mp7JrstermReferenceListPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set semantics attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferenceListPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setstart ( const Mp7JrsLinguisticEntityType_start_LocalPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set start attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrsLinguisticEntityType_start_LocalPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setsubstitute ( const Mp7JrstermReferencePtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set substitute attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferencePtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Setsynthesis ( Mp7JrssynthesisType::Enumeration  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set synthesis attribute.

Parameters
itemMp7JrssynthesisType::Enumeration
virtual void IMp7JrsLinguisticDocumentType::SettimeBase ( const Mp7JrsxPathRefPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set timeBase attribute.


(Inherited from Mp7JrsDSType)

Parameters
itemconst Mp7JrsxPathRefPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::SettimeUnit ( const Mp7JrsdurationPtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set timeUnit attribute.


(Inherited from Mp7JrsDSType)

Parameters
itemconst Mp7JrsdurationPtr &

Implements IMp7JrsLinguisticEntityType.

virtual void IMp7JrsLinguisticDocumentType::Settype ( const Mp7JrstermReferencePtr &  item,
Mp7JrsClientID  client = MP7JRS_UNDEFINED_CLIENT 
)
pure virtual

Set type attribute.


(Inherited from Mp7JrsLinguisticEntityType)

Parameters
itemconst Mp7JrstermReferencePtr &

Implements IMp7JrsLinguisticEntityType.