Package | org.spicefactory.parsley.xml.mapper |
Class | public class XmlConfigurationNamespaceRegistry |
Inheritance | XmlConfigurationNamespaceRegistry Object |
Method | Defined By | ||
---|---|---|---|
getAllNamespaces():Array [static]
Returns all custom XML configuration namespaces that have been added to the registry. | XmlConfigurationNamespaceRegistry | ||
getNamespace(uri:String, domain:ApplicationDomain = null):XmlObjectMappings [static]
Returns an XML configuration namespace for the specified URI. | XmlConfigurationNamespaceRegistry |
getAllNamespaces | () | method |
public static function getAllNamespaces():Array
Returns all custom XML configuration namespaces that have been added to the registry.
ReturnsArray — all custom XML configuration namespaces that have been added to the registry
|
getNamespace | () | method |
public static function getNamespace(uri:String, domain:ApplicationDomain = null):XmlObjectMappings
Returns an XML configuration namespace for the specified URI.
The instance returned by this namespace can be used to configure the namespace,
adding XML-to-Object Mappers for the custom tags. The XmlObjectMappings
class offers the core configuration DSL for the Spicelib XML-Object-Mapper.
Parameters
uri:String — the URI of the custom XML configuration namespace
| |
domain:ApplicationDomain (default = null ) — the ApplicationDomain to use for reflection
|
XmlObjectMappings — an instance that can be used to configure the namespace
|