Table of Contents - XML::Mapping -- Simple, extensible Ruby-to-XML (and back) mapper
Pages
- README
- TODO
- xpath_impl_notes
-
user_manual
- XML-MAPPING: XML-to-object (and back) Mapper for Ruby, including XPath Interpreter
- Download
- Contents of this Document
- Example
- Input Document:
- Mapping Class Declaration:
- Usage:
- Single-attribute Nodes
- Default Values
- Single-attribute Nodes with Sub-objects
- Polymorphic Sub-objects, Marshallers/Unmarshallers
- Attribute Handling Details, Augmenting Existing Classes
- Other Nodes
- choice_node
- Readers/Writers
- Multiple Mappings per Class
- Defining your own Node Types
- Example
- Element order in created XML documents
- Node Types Are Ruby Classes
- How Node Types Work
- Node Initialization
- Node Operation during Marshalling and Unmarshalling
- Basic Node Types Overview
- Node
- SingleAttributeNode
- SubObjectBaseNode
- XPath Interpreter
- License
- user_manual_xxpath
Classes and Modules
- Kernel
- Numeric
- REXML
- REXML::Child
- REXML::Element
- REXML::Parent
- String
- XML
- XML::Mapping
- XML::Mapping::ArrayNode
- XML::Mapping::BooleanNode
- XML::Mapping::ChoiceNode
- XML::Mapping::ClassMethods
- XML::Mapping::Classes_by_rootelt_names
- XML::Mapping::HashNode
- XML::Mapping::Node
- XML::Mapping::NumericNode
- XML::Mapping::ObjectNode
- XML::Mapping::SingleAttributeNode
- XML::Mapping::SingleAttributeNode::NoAttrValueSet
- XML::Mapping::SubObjectBaseNode
- XML::Mapping::TextNode
- XML::MappingError
- XML::XXPath
- XML::XXPath::Accessors
- XML::XXPath::Accessors::Attribute
- XML::XXPath::Accessors::UnspecifiednessSupport
- XML::XXPath::XML
- XML::XXPath::XML::XXPath
- XML::XXPath::XML::XXPath::REXML
- XML::XXPath::XML::XXPath::REXML::Text
- XML::XXPathError
- XML::XXPathMethods
Methods
- ::add_node_class — XML::Mapping
- ::append_features — XML::XXPath::Accessors::UnspecifiednessSupport
- ::class_and_mapping_for_root_elt_name — XML::Mapping
- ::class_for_root_elt_name — XML::Mapping
- ::classes_for — XML::Mapping::Classes_by_rootelt_names
- ::create_classes_for — XML::Mapping::Classes_by_rootelt_names
- ::default_obj_to_xml — XML::Mapping::Node
- ::default_xml_to_obj — XML::Mapping::Node
- ::ensure_exists — XML::Mapping::Classes_by_rootelt_names
- ::load_from_xml — Numeric
- ::load_from_xml — String
- ::load_object_from_file — XML::Mapping
- ::load_object_from_xml — XML::Mapping
- ::new — XML::Mapping::Node
- ::new — XML::XXPath::Accessors::Attribute
- ::new — XML::Mapping
- ::new — XML::XXPath::Accessors::Attribute
- ::new — XML::XXPath
- ::new — XML::Mapping::SingleAttributeNode
- ::new — XML::Mapping::ChoiceNode
- ::new — XML::Mapping::HashNode
- ::new — XML::Mapping::ArrayNode
- ::new — XML::Mapping::NumericNode
- ::new — XML::Mapping::SubObjectBaseNode
- ::new — XML::Mapping::ObjectNode
- ::new — XML::Mapping::BooleanNode
- ::new — XML::Mapping::TextNode
- ::obj_to_xml — XML::Mapping::Node
- ::old_warn — Kernel
- ::remove_class — XML::Mapping::Classes_by_rootelt_names
- ::warn — Kernel
- ::xml_to_obj — XML::Mapping::Node
- #== — XML::XXPath::Accessors::Attribute
- #add_accessor — XML::Mapping::ClassMethods
- #all — XML::XXPath
- #all_xml_mapping_nodes — XML::Mapping::ClassMethods
- #all_xpath — XML::XXPathMethods
- #create_new — XML::XXPath
- #create_new_xpath — XML::XXPathMethods
- #default_mapping — XML::Mapping::ClassMethods
- #default_root_element_name — XML::Mapping::ClassMethods
- #default_when_xpath_err — XML::Mapping::SingleAttributeNode
- #each — XML::XXPath
- #each_on_axis — REXML::Parent
- #each_on_axis_child — REXML::Parent
- #each_on_axis_descendant — REXML::Parent
- #each_on_axis_self — REXML::Parent
- #each_xpath — XML::XXPathMethods
- #extract_attr_value — XML::Mapping::SingleAttributeNode
- #fill_from_xml — XML::Mapping
- #fill_into_xml — String
- #fill_into_xml — XML::Mapping
- #fill_into_xml — Numeric
- #first — XML::XXPath
- #first_xpath — XML::XXPathMethods
- #initialize_impl — XML::Mapping::SingleAttributeNode
- #initialize_xml_mapping — XML::Mapping
- #is_present_in? — XML::Mapping::Node
- #is_present_in? — XML::Mapping::SingleAttributeNode
- #is_present_in? — XML::Mapping::ChoiceNode
- #load_from_file — XML::Mapping::ClassMethods
- #load_from_xml — XML::Mapping::ClassMethods
- #mapping_output_formatter — XML::Mapping::ClassMethods
- #obj_initializing — XML::Mapping::Node
- #obj_initializing — XML::Mapping::ChoiceNode
- #obj_to_xml — XML::Mapping::Node
- #obj_to_xml — XML::Mapping::ChoiceNode
- #post_load — XML::Mapping
- #post_save — XML::Mapping
- #pre_load — XML::Mapping
- #pre_save — XML::Mapping
- #root_element_name — XML::Mapping::ClassMethods
- #save_to_file — XML::Mapping
- #save_to_xml — XML::Mapping
- #set_attr_value — XML::Mapping::SingleAttributeNode
- #text — Numeric
- #text — String
- #text — XML::XXPath::Accessors::Attribute
- #text= — XML::XXPath::Accessors::Attribute
- #to_xxpath — XML::XXPathMethods
- #unspecified= — XML::XXPath::Accessors::UnspecifiednessSupport
- #unspecified? — XML::XXPath::Accessors::UnspecifiednessSupport
- #use_mapping — XML::Mapping::ClassMethods
- #write — REXML::Element
- #xml_mapping_nodes — XML::Mapping::ClassMethods
- #xml_to_obj — XML::Mapping::Node
- #xml_to_obj — XML::Mapping::ChoiceNode