Package | org.spicefactory.lib.xml.mapper |
Class | public class RootElementSetup |
Inheritance | RootElementSetup Object |
Method | Defined By | ||
---|---|---|---|
withoutRootElement(domain:ApplicationDomain = null):XmlObjectMappings
Creates a new group of mappings without any specific root element. | RootElementSetup | ||
withRootElement(mappedType:Class, domain:ApplicationDomain = null):XmlObjectMappings
Creates a new group of mappings with the specified class acting as the mapping
for the root XML element. | RootElementSetup |
withoutRootElement | () | method |
public function withoutRootElement(domain:ApplicationDomain = null):XmlObjectMappings
Creates a new group of mappings without any specific root element. This is usually only useful if you merge the group of mappings into another group as the top level group always needs a concrete root mapping.
Parameters
domain:ApplicationDomain (default = null ) — the ApplicationDomain to use for reflection
|
XmlObjectMappings — a new group of mappings
|
withRootElement | () | method |
public function withRootElement(mappedType:Class, domain:ApplicationDomain = null):XmlObjectMappings
Creates a new group of mappings with the specified class acting as the mapping for the root XML element.
Parameters
mappedType:Class — the class acting as the mapping
for the root XML element
| |
domain:ApplicationDomain (default = null ) — the ApplicationDomain to use for reflection
|
XmlObjectMappings — a new group of mappings
|