com.marsching.flexiparse.xml2object.configuration
Interface ElementMappingConfiguration

All Superinterfaces:
MappingConfiguration

public interface ElementMappingConfiguration
extends MappingConfiguration

Stores the configuration for a mapping of an XML element to a Java type.

Author:
Sebastian Marsching

Method Summary
 Collection<? extends MappingConfiguration> getChildMappings()
          Returns configurations for child mappings.
 boolean getDeepSearch()
          Specifies, whether to look for child elements only one level below the parent element (matching this mapping) or also in deeper levels.
 String getElementName()
          Returns the (local) name of the XML element matched by this configuration.
 String getElementNamespace()
          Returns the namespace URI of the XML element matched by this configuration.
 
Methods inherited from interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
getMaxOccurs, getMinOccurs, getTargetAttribute, getTargetType, getTargetTypeClassLoader
 

Method Detail

getElementName

String getElementName()
Returns the (local) name of the XML element matched by this configuration.

Returns:
XML element name

getElementNamespace

String getElementNamespace()
Returns the namespace URI of the XML element matched by this configuration.

Returns:
XML element namespace URI

getChildMappings

Collection<? extends MappingConfiguration> getChildMappings()
Returns configurations for child mappings. These configurations are used (in addition to the global mappings) to set attributes of the Java target type of this mapping.

Returns:
Mapping configurations configured "within" this configuration.

getDeepSearch

boolean getDeepSearch()
Specifies, whether to look for child elements only one level below the parent element (matching this mapping) or also in deeper levels.

Returns:
flag indicating whether deep search is active for this mapping


Copyright © 2008-2009. All Rights Reserved.