com.marsching.flexiparse.xml2object.configuration
Interface TextMappingConfiguration

All Superinterfaces:
MappingConfiguration

public interface TextMappingConfiguration
extends MappingConfiguration

Stores configuration for a mapping from an XML text node to a Java type.

Author:
Sebastian Marsching

Method Summary
 boolean getAppend()
          Returns true if several text nodes (in the same context) should be concatenated in order to build the final string and false if following text nodes should be handled independently.
 boolean getIgnoreWhiteSpaceNodes()
          Returns true if text nodes that contain white space only, should be ignored and false otherwise.
 
Methods inherited from interface com.marsching.flexiparse.xml2object.configuration.MappingConfiguration
getMaxOccurs, getMinOccurs, getTargetAttribute, getTargetType, getTargetTypeClassLoader
 

Method Detail

getAppend

boolean getAppend()
Returns true if several text nodes (in the same context) should be concatenated in order to build the final string and false if following text nodes should be handled independently.

Returns:
flag indicating whether to append text nodes within the same context.

getIgnoreWhiteSpaceNodes

boolean getIgnoreWhiteSpaceNodes()
Returns true if text nodes that contain white space only, should be ignored and false otherwise.

Returns:
flag indicating whether to ignore nodes only containing whitespace


Copyright © 2008-2009. All Rights Reserved.