SolrNet: SolrNet.Impl.FieldParsers.CollectionFieldParser Class Reference

SolrNet

SolrNet.Impl.FieldParsers.CollectionFieldParser Class Reference

Parses 1-dimensional fields. More...

Inheritance diagram for SolrNet.Impl.FieldParsers.CollectionFieldParser:

List of all members.

Public Member Functions

 CollectionFieldParser (ISolrFieldParser valueParser)
bool CanHandleSolrType (string solrType)
 True if this parser can handle the solrType (int, bool, str, ...)
bool CanHandleType (Type t)
 True if this parser can handle a type.
object Parse (XElement field, Type t)
 Parses a single Solr XML result node.
IList GetNonGenericCollectionProperty (XElement field)
Array GetArrayProperty (XElement field, Type t)
IList GetGenericCollectionProperty (XElement field, Type[] genericTypes)

Detailed Description

Parses 1-dimensional fields.


Member Function Documentation

bool SolrNet.Impl.FieldParsers.CollectionFieldParser.CanHandleSolrType ( string  solrType )

True if this parser can handle the solrType (int, bool, str, ...)

Parameters:
solrType
Returns:

Implements SolrNet.Impl.ISolrFieldParser.

bool SolrNet.Impl.FieldParsers.CollectionFieldParser.CanHandleType ( Type  t )

True if this parser can handle a type.

Parameters:
t
Returns:

Implements SolrNet.Impl.ISolrFieldParser.

object SolrNet.Impl.FieldParsers.CollectionFieldParser.Parse ( XElement  field,
Type  t 
)

Parses a single Solr XML result node.

Parameters:
fieldSolr XML result node
tType the node value should be converted to
Returns:
Parsed value

Implements SolrNet.Impl.ISolrFieldParser.


The documentation for this class was generated from the following file:
  • SolrNet/Impl/FieldParsers/CollectionFieldParser.cs
Generated on Sun May 3 2015 17:19:10 for SolrNet by  doxygen 1.7.2