Arbortext IsoView > Programmer's Reference > Object Identifiers and Expressions > Extended Object Expression
  
Extended Object Expression
The extended object expression is used to identify multiple objects or elements with the same attributes.
Syntax
A valid term for the extended object expression can be either of a specialForm, the normalForm or the isoForm. For further reference to the specialForm and the normalForm, please refer to the WebCGM 2.0 fragment syntax.
objterm
::=
specialForm
|
normalForm
|
isoForm
Please find below a description of the isoForm syntax. The isoForm is always introduced by the isoeval keyword.
isoForm
::=
"isoeval("evalTerm("," objbehavior)? ")"
evalTerm
::=
objInfoTerm
|
objIDTerm
|
objNameTerm
|
objTipTerm
|
objAttrTerm
|
textTerm
and can then address either Object ID, Name, Tip. It can also check for the existence of object information and check any other added attribute. Furthermore it is possible to access text elements.
objInfoTerm
::=
"obj_ex"
objIDTerm
::=
"id_cont=" objid
To address objects by their the name attribute you have three possible methods. The objNameTerm supports check for existing name attribute and the nonexistence of a name attribute. Objects may be addressed by parts of the value of the name attribute.
objNameTerm
::=
objNameExTerm
|
objNameNExTerm
|
objNameContTerm
The keywords below need to be used to build the object expression.
objNameExTerm
::=
"name_ex"
objNameNExTerm
::=
"name_nex"
objNameContTerm
::=
"name_cont=" objname
Objects may also be addressed by their object tip attribute. Once more, objects can be addressed by either having a tip attribute connected, and by certain values of the tip attribute.
objTipTerm
::=
objTipEqTerm
|
objTipNEqTerm
|
objTipContTerm
|
objTipExTerm
|
objTipNExTerm
objTipEqTerm
::=
"tip_eq=" objtip
objTipNEqTerm
::=
"tip_neq=" objtip
objTipContTerm
::=
"tip_cont=" objtip
objTipExTerm
::=
"tip_ex"
objTipNExTerm
::=
"tip_nex"
objtip
::=
(char)+
The attributes can be checked for their content. Either the attribute will be checked if equal or not equal to a certain value. It is also possible to check whether an attribute content contains a certain value.
objAttrTerm
::=
objAttrEqTerm
|
objAttrNEqTerm
|
objAttrContTerm
Please use the keywords and syntax given below.
objAttrEqTerm
::=
"attr_eq=" objattr ",cont=" attrcontent
objAttrNEqTerm
::=
"attr_neq=" objattr ",cont=" attrcontent
objAttrContTerm
::=
"attr_cont="objattr",cont=" attrcontent
objattr
::=
(char)+
attrcontent
::=
(char)+
Text elements can also be addressed. As a criteria their value is taken.
textTerm
::=
textEqTerm
|
textNEqTerm
|
textContTerm
Here we can test either if a text element is exactly equal to a certain value,
textEqTerm
::=
"text_eq=" textcontent
textNEqTerm
::=
"text_neq=" textcontent
textContTerm
::=
"text_cont=" textcontent