Class HappyMapper::Item
In: lib/happymapper/item.rb
Parent: Object

Methods

Constants

Types = [String, Float, Time, Date, DateTime, Integer, Boolean]

Attributes

name  [RW] 
namespace  [RW] 
options  [RW] 
tag  [RW] 
type  [RW] 

Public Class methods

options:

  :deep   =>  Boolean False to only parse element's children, True to include
              grandchildren and all others down the chain (// in expath)
  :namespace => String Element's namespace if it's not the global or inherited
                 default
  :parser =>  Symbol Class method to use for type coercion.
  :raw    =>  Boolean Use raw node value (inc. tags) when parsing.
  :single =>  Boolean False if object should be collection, True for single object
  :tag    =>  String Element name if it doesn't match the specified name.

Public Instance methods

[Validate]