Class: ActiveDocument::MarkLogicSearchOptions::AttributeConstraint

Inherits:
Object
  • Object
show all
Defined in:
lib/ActiveDocument/mark_logic_search_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attribute_namespace, attribute, element_namespace, element) ⇒ AttributeConstraint

Returns a new instance of AttributeConstraint.



165
166
167
168
169
170
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 165

def initialize (attribute_namespace, attribute, element_namespace, element)
  @attribute_namespace = attribute_namespace
  @attribute = attribute
  @element_namespace = element_namespace
  @element = element
end

Instance Attribute Details

#attributeObject (readonly)

Returns the value of attribute attribute.



163
164
165
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 163

def attribute
  @attribute
end

#attribute_namespaceObject (readonly)

Returns the value of attribute attribute_namespace.



163
164
165
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 163

def attribute_namespace
  @attribute_namespace
end

#elementObject (readonly)

Returns the value of attribute element.



163
164
165
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 163

def element
  @element
end

#element_namespaceObject (readonly)

Returns the value of attribute element_namespace.



163
164
165
# File 'lib/ActiveDocument/mark_logic_search_options.rb', line 163

def element_namespace
  @element_namespace
end