def om_component_from_node node
    options[:component] ? options[:component].from_xml(prep(node)) : SolrEad::Component.from_xml(prep(node))
  end
def om_component_from_node node
    options[:component] ? options[:component].from_xml(prep(node)) : SolrEad::Component.from_xml(prep(node))
  end
Returns an OM document from a given Nokogiri node

 Determines if you have specified a custom definition for your ead component.
 If you've defined a class CustomComponent, and have passed it as an option
 to your indexer, then SolrEad will use that class instead of SolrEad::Component.