| Class | HappyMapper::Item |
| In: |
lib/happymapper/item.rb
|
| Parent: | Object |
| Types | = | [String, Float, Time, Date, DateTime, Integer, Boolean] |
| name | [RW] | |
| namespace | [RW] | |
| options | [RW] | |
| tag | [RW] | |
| type | [RW] |
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.