Class: AEMReference::MultipleElements
Overview
Constant Summary
collapse
- First =
Base class for all multiple element specifiers.
AEMReference.pack_absolute_ordinal(KAE::KAEFirst)
- Middle =
AEMReference.pack_absolute_ordinal(KAE::KAEMiddle)
- Last =
AEMReference.pack_absolute_ordinal(KAE::KAELast)
- Any =
AEMReference.pack_absolute_ordinal(KAE::KAEAny)
PositionSpecifier::After, PositionSpecifier::Before, PositionSpecifier::Beginning, PositionSpecifier::End, PositionSpecifier::Next, PositionSpecifier::Previous
Instance Attribute Summary
#AEM_want
Instance Method Summary
collapse
#_pack_self, #after, #before, #beginning, #begins_with, #contains, #elements, #end, #ends_with, #eq, #ge, #gt, #initialize, #is_in, #le, #lt, #ne, #next, #previous, #property, #to_s, #user_property
Methods inherited from Specifier
#AEM_pack_self, #AEM_root, #AEM_set_desc, #AEM_true_self, #initialize
Methods inherited from Query
#==, #AEM_comparable, #hash, #initialize, #inspect
Instance Method Details
#any ⇒ Object
514
515
516
|
# File 'lib/_aem/aemreference.rb', line 514
def any
return ElementByOrdinal.new(@AEM_want, self, Any, :any)
end
|
#by_filter(test) ⇒ Object
534
535
536
|
# File 'lib/_aem/aemreference.rb', line 534
def by_filter(test)
return ElementsByFilter.new(@AEM_want, self, test)
end
|
#by_id(id) ⇒ Object
526
527
528
|
# File 'lib/_aem/aemreference.rb', line 526
def by_id(id)
return ElementByID.new(@AEM_want, self, id)
end
|
#by_index(index) ⇒ Object
522
523
524
|
# File 'lib/_aem/aemreference.rb', line 522
def by_index(index)
return ElementByIndex.new(@AEM_want, self, index)
end
|
#by_name(name) ⇒ Object
518
519
520
|
# File 'lib/_aem/aemreference.rb', line 518
def by_name(name)
return ElementByName.new(@AEM_want, self, name)
end
|
#by_range(start, stop) ⇒ Object
530
531
532
|
# File 'lib/_aem/aemreference.rb', line 530
def by_range(start, stop)
return ElementsByRange.new(@AEM_want, self, [start, stop])
end
|
#first ⇒ Object
502
503
504
|
# File 'lib/_aem/aemreference.rb', line 502
def first
return ElementByOrdinal.new(@AEM_want, self, First, :first)
end
|
#last ⇒ Object
510
511
512
|
# File 'lib/_aem/aemreference.rb', line 510
def last
return ElementByOrdinal.new(@AEM_want, self, Last, :last)
end
|
#middle ⇒ Object
506
507
508
|
# File 'lib/_aem/aemreference.rb', line 506
def middle
return ElementByOrdinal.new(@AEM_want, self, Middle, :middle)
end
|