Class: AEMReference::Property

Inherits:
PositionSpecifier show all
Defined in:
lib/_aem/aemreference.rb

Overview

PROPERTY REFERENCE FORMS

Constant Summary collapse

By =

Syntax: ref.property(code)

:property
KeyForm =
AEMReference.pack_enum(KAE::FormPropertyID)

Constants inherited from PositionSpecifier

AEMReference::PositionSpecifier::After, AEMReference::PositionSpecifier::Before, AEMReference::PositionSpecifier::Beginning, AEMReference::PositionSpecifier::End, AEMReference::PositionSpecifier::Next, AEMReference::PositionSpecifier::Previous

Instance Attribute Summary

Attributes inherited from PositionSpecifier

#AEM_want

Instance Method Summary collapse

Methods inherited from PositionSpecifier

#_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

Constructor Details

This class inherits a constructor from AEMReference::PositionSpecifier

Instance Method Details

#_pack_key(codecs) ⇒ Object



347
348
349
# File 'lib/_aem/aemreference.rb', line 347

def _pack_key(codecs)
  return AEMReference.pack_type(@_key)
end

#AEM_resolve(obj) ⇒ Object



351
352
353
# File 'lib/_aem/aemreference.rb', line 351

def AEM_resolve(obj)
  return @_container.AEM_resolve(obj).send(:property, @_key)
end